                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:30:37,354 - INFO - taking picture
MAIN: 2025-04-14 06:30:37,355 - INFO - we take 1 photos in this while loop
MAIN: 2025-04-14 06:30:37,355 - INFO - /home/pi/Desktop/images/14042025/06/30/image_14042025_06_30_36_30934.jpg
MAIN: 2025-04-14 06:30:37,355 - INFO - duration: 0.8067264549999891
Will output and maybe also write in take_pic/pic_log.txt
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:31:07,364 - INFO - taking picture
MAIN: 2025-04-14 06:31:07,364 - INFO - we take 2 photos in this while loop
MAIN: 2025-04-14 06:31:07,364 - INFO - /home/pi/Desktop/images/14042025/06/30/image_14042025_06_31_06_30124.jpg
MAIN: 2025-04-14 06:31:07,365 - INFO - duration: 0.69156150300023
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:31:37,113 - INFO - taking picture
MAIN: 2025-04-14 06:31:37,113 - INFO - we take 3 photos in this while loop
MAIN: 2025-04-14 06:31:37,114 - INFO - /home/pi/Desktop/images/14042025/06/31/image_14042025_06_31_36_29746.jpg
MAIN: 2025-04-14 06:31:37,114 - INFO - duration: 0.694528949999949
Will output and maybe also write in take_pic/pic_log.txt
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:32:07,321 - INFO - taking picture
MAIN: 2025-04-14 06:32:07,322 - INFO - we take 4 photos in this while loop
MAIN: 2025-04-14 06:32:07,322 - INFO - /home/pi/Desktop/images/14042025/06/31/image_14042025_06_32_06_30207.jpg
MAIN: 2025-04-14 06:32:07,322 - INFO - duration: 0.6954217130005418
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:32:36,824 - INFO - taking picture
MAIN: 2025-04-14 06:32:36,825 - INFO - we take 5 photos in this while loop
MAIN: 2025-04-14 06:32:36,825 - INFO - /home/pi/Desktop/images/14042025/06/32/image_14042025_06_32_36_29493.jpg
MAIN: 2025-04-14 06:32:36,825 - INFO - duration: 0.7052598800000851
Will output and maybe also write in take_pic/pic_log.txt
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:33:06,692 - INFO - taking picture
MAIN: 2025-04-14 06:33:06,693 - INFO - we take 6 photos in this while loop
MAIN: 2025-04-14 06:33:06,693 - INFO - /home/pi/Desktop/images/14042025/06/32/image_14042025_06_33_06_29879.jpg
MAIN: 2025-04-14 06:33:06,693 - INFO - duration: 0.6940725530002965
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:33:36,326 - INFO - taking picture
MAIN: 2025-04-14 06:33:36,327 - INFO - we take 7 photos in this while loop
MAIN: 2025-04-14 06:33:36,327 - INFO - /home/pi/Desktop/images/14042025/06/33/image_14042025_06_33_35_29643.jpg
MAIN: 2025-04-14 06:33:36,327 - INFO - duration: 0.6846044429994436
Will output and maybe also write in take_pic/pic_log.txt
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:34:06,331 - INFO - taking picture
MAIN: 2025-04-14 06:34:06,332 - INFO - we take 8 photos in this while loop
MAIN: 2025-04-14 06:34:06,332 - INFO - /home/pi/Desktop/images/14042025/06/33/image_14042025_06_34_05_29999.jpg
MAIN: 2025-04-14 06:34:06,332 - INFO - duration: 0.6896476149995578
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:34:37,283 - INFO - taking picture
MAIN: 2025-04-14 06:34:37,283 - INFO - we take 9 photos in this while loop
MAIN: 2025-04-14 06:34:37,283 - INFO - /home/pi/Desktop/images/14042025/06/34/image_14042025_06_34_36_30942.jpg
MAIN: 2025-04-14 06:34:37,284 - INFO - duration: 0.6987091689998124
Will output and maybe also write in take_pic/pic_log.txt
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:35:07,307 - INFO - taking picture
MAIN: 2025-04-14 06:35:07,308 - INFO - we take 10 photos in this while loop
MAIN: 2025-04-14 06:35:07,308 - INFO - /home/pi/Desktop/images/14042025/06/34/image_14042025_06_35_06_30085.jpg
MAIN: 2025-04-14 06:35:07,308 - INFO - duration: 0.6375596649995714
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:35:37,084 - INFO - taking picture
MAIN: 2025-04-14 06:35:37,084 - INFO - we take 11 photos in this while loop
MAIN: 2025-04-14 06:35:37,085 - INFO - /home/pi/Desktop/images/14042025/06/35/image_14042025_06_35_36_29718.jpg
MAIN: 2025-04-14 06:35:37,085 - INFO - duration: 0.6955025110000861
Will output and maybe also write in take_pic/pic_log.txt
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:36:07,050 - INFO - taking picture
MAIN: 2025-04-14 06:36:07,050 - INFO - we take 12 photos in this while loop
MAIN: 2025-04-14 06:36:07,051 - INFO - /home/pi/Desktop/images/14042025/06/35/image_14042025_06_36_06_29992.jpg
MAIN: 2025-04-14 06:36:07,051 - INFO - duration: 0.6687515039993741
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:36:36,718 - INFO - taking picture
MAIN: 2025-04-14 06:36:36,718 - INFO - we take 13 photos in this while loop
MAIN: 2025-04-14 06:36:36,719 - INFO - /home/pi/Desktop/images/14042025/06/36/image_14042025_06_36_36_29641.jpg
MAIN: 2025-04-14 06:36:36,719 - INFO - duration: 0.6954089199998634
Will output and maybe also write in take_pic/pic_log.txt
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:37:06,584 - INFO - taking picture
MAIN: 2025-04-14 06:37:06,584 - INFO - we take 14 photos in this while loop
MAIN: 2025-04-14 06:37:06,584 - INFO - /home/pi/Desktop/images/14042025/06/36/image_14042025_06_37_06_29886.jpg
MAIN: 2025-04-14 06:37:06,585 - INFO - duration: 0.674614001000009
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:37:37,528 - INFO - taking picture
MAIN: 2025-04-14 06:37:37,529 - INFO - we take 15 photos in this while loop
MAIN: 2025-04-14 06:37:37,529 - INFO - /home/pi/Desktop/images/14042025/06/37/image_14042025_06_37_37_30928.jpg
MAIN: 2025-04-14 06:37:37,529 - INFO - duration: 0.690246899000158
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Will output and maybe also write in take_pic/pic_log.txt
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:38:06,407 - INFO - taking picture
MAIN: 2025-04-14 06:38:06,408 - INFO - we take 16 photos in this while loop
MAIN: 2025-04-14 06:38:06,408 - INFO - /home/pi/Desktop/images/14042025/06/37/image_14042025_06_38_06_28878.jpg
MAIN: 2025-04-14 06:38:06,408 - INFO - duration: 0.69078945199999
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:38:37,292 - INFO - taking picture
MAIN: 2025-04-14 06:38:37,293 - INFO - we take 17 photos in this while loop
MAIN: 2025-04-14 06:38:37,293 - INFO - /home/pi/Desktop/images/14042025/06/38/image_14042025_06_38_36_30897.jpg
MAIN: 2025-04-14 06:38:37,293 - INFO - duration: 0.6790584789996501
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Will output and maybe also write in take_pic/pic_log.txt
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:39:07,151 - INFO - taking picture
MAIN: 2025-04-14 06:39:07,151 - INFO - we take 18 photos in this while loop
MAIN: 2025-04-14 06:39:07,151 - INFO - /home/pi/Desktop/images/14042025/06/38/image_14042025_06_39_06_29844.jpg
MAIN: 2025-04-14 06:39:07,152 - INFO - duration: 0.6923279419997925
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:39:36,935 - INFO - taking picture
MAIN: 2025-04-14 06:39:36,936 - INFO - we take 19 photos in this while loop
MAIN: 2025-04-14 06:39:36,936 - INFO - /home/pi/Desktop/images/14042025/06/39/image_14042025_06_39_36_29778.jpg
MAIN: 2025-04-14 06:39:36,936 - INFO - duration: 0.6987783000004129
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Will output and maybe also write in take_pic/pic_log.txt
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:40:07,282 - INFO - taking picture
MAIN: 2025-04-14 06:40:07,283 - INFO - we take 20 photos in this while loop
MAIN: 2025-04-14 06:40:07,284 - INFO - /home/pi/Desktop/images/14042025/06/39/image_14042025_06_40_06_30380.jpg
MAIN: 2025-04-14 06:40:07,284 - INFO - duration: 0.66645073699965
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:40:36,907 - INFO - taking picture
MAIN: 2025-04-14 06:40:36,907 - INFO - we take 21 photos in this while loop
MAIN: 2025-04-14 06:40:36,908 - INFO - /home/pi/Desktop/images/14042025/06/40/image_14042025_06_40_36_29595.jpg
MAIN: 2025-04-14 06:40:36,908 - INFO - duration: 0.6939590370002406
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Will output and maybe also write in take_pic/pic_log.txt
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:41:06,870 - INFO - taking picture
MAIN: 2025-04-14 06:41:06,871 - INFO - we take 22 photos in this while loop
MAIN: 2025-04-14 06:41:06,871 - INFO - /home/pi/Desktop/images/14042025/06/40/image_14042025_06_41_06_29958.jpg
MAIN: 2025-04-14 06:41:06,871 - INFO - duration: 0.6984177839995027
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:41:36,621 - INFO - taking picture
MAIN: 2025-04-14 06:41:36,622 - INFO - we take 23 photos in this while loop
MAIN: 2025-04-14 06:41:36,622 - INFO - /home/pi/Desktop/images/14042025/06/41/image_14042025_06_41_36_29747.jpg
MAIN: 2025-04-14 06:41:36,622 - INFO - duration: 0.7015384059995995
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Will output and maybe also write in take_pic/pic_log.txt
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:42:06,819 - INFO - taking picture
MAIN: 2025-04-14 06:42:06,820 - INFO - we take 24 photos in this while loop
MAIN: 2025-04-14 06:42:06,820 - INFO - /home/pi/Desktop/images/14042025/06/41/image_14042025_06_42_06_30201.jpg
MAIN: 2025-04-14 06:42:06,820 - INFO - duration: 0.6980684620002648
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:42:36,525 - INFO - taking picture
MAIN: 2025-04-14 06:42:36,526 - INFO - we take 25 photos in this while loop
MAIN: 2025-04-14 06:42:36,526 - INFO - /home/pi/Desktop/images/14042025/06/42/image_14042025_06_42_36_29732.jpg
MAIN: 2025-04-14 06:42:36,526 - INFO - duration: 0.6709080290002021
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Will output and maybe also write in take_pic/pic_log.txt
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:43:06,339 - INFO - taking picture
MAIN: 2025-04-14 06:43:06,339 - INFO - we take 26 photos in this while loop
MAIN: 2025-04-14 06:43:06,339 - INFO - /home/pi/Desktop/images/14042025/06/42/image_14042025_06_43_05_29786.jpg
MAIN: 2025-04-14 06:43:06,340 - INFO - duration: 0.6976335689996631
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:43:37,493 - INFO - taking picture
MAIN: 2025-04-14 06:43:37,493 - INFO - we take 27 photos in this while loop
MAIN: 2025-04-14 06:43:37,494 - INFO - /home/pi/Desktop/images/14042025/06/43/image_14042025_06_43_37_31153.jpg
MAIN: 2025-04-14 06:43:37,494 - INFO - duration: 0.6984308080000119
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Will output and maybe also write in take_pic/pic_log.txt
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:44:06,328 - INFO - taking picture
MAIN: 2025-04-14 06:44:06,329 - INFO - we take 28 photos in this while loop
MAIN: 2025-04-14 06:44:06,329 - INFO - /home/pi/Desktop/images/14042025/06/43/image_14042025_06_44_05_28837.jpg
MAIN: 2025-04-14 06:44:06,329 - INFO - duration: 0.6965939880001315
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:44:37,268 - INFO - taking picture
MAIN: 2025-04-14 06:44:37,269 - INFO - we take 29 photos in this while loop
MAIN: 2025-04-14 06:44:37,269 - INFO - /home/pi/Desktop/images/14042025/06/44/image_14042025_06_44_36_30942.jpg
MAIN: 2025-04-14 06:44:37,269 - INFO - duration: 0.6936877950001872
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Will output and maybe also write in take_pic/pic_log.txt
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:45:07,225 - INFO - taking picture
MAIN: 2025-04-14 06:45:07,226 - INFO - we take 30 photos in this while loop
MAIN: 2025-04-14 06:45:07,226 - INFO - /home/pi/Desktop/images/14042025/06/44/image_14042025_06_45_06_29965.jpg
MAIN: 2025-04-14 06:45:07,226 - INFO - duration: 0.6849038999998811
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:45:36,743 - INFO - taking picture
MAIN: 2025-04-14 06:45:36,744 - INFO - we take 31 photos in this while loop
MAIN: 2025-04-14 06:45:36,744 - INFO - /home/pi/Desktop/images/14042025/06/45/image_14042025_06_45_36_29510.jpg
MAIN: 2025-04-14 06:45:36,744 - INFO - duration: 0.6926465469996401
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Will output and maybe also write in take_pic/pic_log.txt
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:46:06,733 - INFO - taking picture
MAIN: 2025-04-14 06:46:06,733 - INFO - we take 32 photos in this while loop
MAIN: 2025-04-14 06:46:06,733 - INFO - /home/pi/Desktop/images/14042025/06/45/image_14042025_06_46_06_29994.jpg
MAIN: 2025-04-14 06:46:06,734 - INFO - duration: 0.6875945749998209
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:46:37,503 - INFO - taking picture
MAIN: 2025-04-14 06:46:37,503 - INFO - we take 33 photos in this while loop
MAIN: 2025-04-14 06:46:37,504 - INFO - /home/pi/Desktop/images/14042025/06/46/image_14042025_06_46_37_30763.jpg
MAIN: 2025-04-14 06:46:37,504 - INFO - duration: 0.694234411999787
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Will output and maybe also write in take_pic/pic_log.txt
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:47:07,269 - INFO - taking picture
MAIN: 2025-04-14 06:47:07,269 - INFO - we take 34 photos in this while loop
MAIN: 2025-04-14 06:47:07,270 - INFO - /home/pi/Desktop/images/14042025/06/46/image_14042025_06_47_06_29788.jpg
MAIN: 2025-04-14 06:47:07,270 - INFO - duration: 0.6720042479992117
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:47:36,927 - INFO - taking picture
MAIN: 2025-04-14 06:47:36,927 - INFO - we take 35 photos in this while loop
MAIN: 2025-04-14 06:47:36,927 - INFO - /home/pi/Desktop/images/14042025/06/47/image_14042025_06_47_36_29636.jpg
MAIN: 2025-04-14 06:47:36,927 - INFO - duration: 0.6929316480000125
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Will output and maybe also write in take_pic/pic_log.txt
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:48:06,973 - INFO - taking picture
MAIN: 2025-04-14 06:48:06,973 - INFO - we take 36 photos in this while loop
MAIN: 2025-04-14 06:48:06,973 - INFO - /home/pi/Desktop/images/14042025/06/47/image_14042025_06_48_06_30049.jpg
MAIN: 2025-04-14 06:48:06,974 - INFO - duration: 0.6896216419991106
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:48:36,593 - INFO - taking picture
MAIN: 2025-04-14 06:48:36,594 - INFO - we take 37 photos in this while loop
MAIN: 2025-04-14 06:48:36,594 - INFO - /home/pi/Desktop/images/14042025/06/48/image_14042025_06_48_36_29616.jpg
MAIN: 2025-04-14 06:48:36,594 - INFO - duration: 0.6934053919994767
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Will output and maybe also write in take_pic/pic_log.txt
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:49:06,393 - INFO - taking picture
MAIN: 2025-04-14 06:49:06,394 - INFO - we take 38 photos in this while loop
MAIN: 2025-04-14 06:49:06,394 - INFO - /home/pi/Desktop/images/14042025/06/48/image_14042025_06_49_06_29805.jpg
MAIN: 2025-04-14 06:49:06,394 - INFO - duration: 0.6873570590014424
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:49:37,219 - INFO - taking picture
MAIN: 2025-04-14 06:49:37,220 - INFO - we take 39 photos in this while loop
MAIN: 2025-04-14 06:49:37,220 - INFO - /home/pi/Desktop/images/14042025/06/49/image_14042025_06_49_36_30840.jpg
MAIN: 2025-04-14 06:49:37,220 - INFO - duration: 0.6726381549997313
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Will output and maybe also write in take_pic/pic_log.txt
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:50:06,346 - INFO - taking picture
MAIN: 2025-04-14 06:50:06,347 - INFO - we take 40 photos in this while loop
MAIN: 2025-04-14 06:50:06,348 - INFO - /home/pi/Desktop/images/14042025/06/49/image_14042025_06_50_05_29124.jpg
MAIN: 2025-04-14 06:50:06,348 - INFO - duration: 0.6758289459994558
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:50:37,234 - INFO - taking picture
MAIN: 2025-04-14 06:50:37,235 - INFO - we take 41 photos in this while loop
MAIN: 2025-04-14 06:50:37,235 - INFO - /home/pi/Desktop/images/14042025/06/50/image_14042025_06_50_36_30865.jpg
MAIN: 2025-04-14 06:50:37,235 - INFO - duration: 0.6970208309994632
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Will output and maybe also write in take_pic/pic_log.txt
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:51:07,218 - INFO - taking picture
MAIN: 2025-04-14 06:51:07,218 - INFO - we take 42 photos in this while loop
MAIN: 2025-04-14 06:51:07,219 - INFO - /home/pi/Desktop/images/14042025/06/50/image_14042025_06_51_06_29975.jpg
MAIN: 2025-04-14 06:51:07,219 - INFO - duration: 0.7047653739991802
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:51:36,922 - INFO - taking picture
MAIN: 2025-04-14 06:51:36,923 - INFO - we take 43 photos in this while loop
MAIN: 2025-04-14 06:51:36,923 - INFO - /home/pi/Desktop/images/14042025/06/51/image_14042025_06_51_36_29712.jpg
MAIN: 2025-04-14 06:51:36,923 - INFO - duration: 0.6961012209994806
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Will output and maybe also write in take_pic/pic_log.txt
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:52:06,952 - INFO - taking picture
MAIN: 2025-04-14 06:52:06,953 - INFO - we take 44 photos in this while loop
MAIN: 2025-04-14 06:52:06,953 - INFO - /home/pi/Desktop/images/14042025/06/51/image_14042025_06_52_06_30029.jpg
MAIN: 2025-04-14 06:52:06,953 - INFO - duration: 0.6971374879994983
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:52:36,615 - INFO - taking picture
MAIN: 2025-04-14 06:52:36,615 - INFO - we take 45 photos in this while loop
MAIN: 2025-04-14 06:52:36,615 - INFO - /home/pi/Desktop/images/14042025/06/52/image_14042025_06_52_36_29690.jpg
MAIN: 2025-04-14 06:52:36,616 - INFO - duration: 0.6686875649993453
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Will output and maybe also write in take_pic/pic_log.txt
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:53:06,509 - INFO - taking picture
MAIN: 2025-04-14 06:53:06,509 - INFO - we take 46 photos in this while loop
MAIN: 2025-04-14 06:53:06,509 - INFO - /home/pi/Desktop/images/14042025/06/52/image_14042025_06_53_06_29870.jpg
MAIN: 2025-04-14 06:53:06,509 - INFO - duration: 0.6925467990004108
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:53:37,402 - INFO - taking picture
MAIN: 2025-04-14 06:53:37,403 - INFO - we take 47 photos in this while loop
MAIN: 2025-04-14 06:53:37,403 - INFO - /home/pi/Desktop/images/14042025/06/53/image_14042025_06_53_37_30891.jpg
MAIN: 2025-04-14 06:53:37,403 - INFO - duration: 0.6948717670002225
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Will output and maybe also write in take_pic/pic_log.txt
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:54:07,263 - INFO - taking picture
MAIN: 2025-04-14 06:54:07,264 - INFO - we take 48 photos in this while loop
MAIN: 2025-04-14 06:54:07,264 - INFO - /home/pi/Desktop/images/14042025/06/53/image_14042025_06_54_06_29876.jpg
MAIN: 2025-04-14 06:54:07,264 - INFO - duration: 0.679154348999873
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:54:36,863 - INFO - taking picture
MAIN: 2025-04-14 06:54:36,863 - INFO - we take 49 photos in this while loop
MAIN: 2025-04-14 06:54:36,863 - INFO - /home/pi/Desktop/images/14042025/06/54/image_14042025_06_54_36_29586.jpg
MAIN: 2025-04-14 06:54:36,864 - INFO - duration: 0.6923582240015094
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Will output and maybe also write in take_pic/pic_log.txt
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:55:06,967 - INFO - taking picture
MAIN: 2025-04-14 06:55:06,968 - INFO - we take 50 photos in this while loop
MAIN: 2025-04-14 06:55:06,968 - INFO - /home/pi/Desktop/images/14042025/06/54/image_14042025_06_55_06_30134.jpg
MAIN: 2025-04-14 06:55:06,968 - INFO - duration: 0.6624739420003607
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:55:36,735 - INFO - taking picture
MAIN: 2025-04-14 06:55:36,735 - INFO - we take 51 photos in this while loop
MAIN: 2025-04-14 06:55:36,735 - INFO - /home/pi/Desktop/images/14042025/06/55/image_14042025_06_55_36_29735.jpg
MAIN: 2025-04-14 06:55:36,736 - INFO - duration: 0.6944120819989621
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Will output and maybe also write in take_pic/pic_log.txt
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:56:06,868 - INFO - taking picture
MAIN: 2025-04-14 06:56:06,869 - INFO - we take 52 photos in this while loop
MAIN: 2025-04-14 06:56:06,869 - INFO - /home/pi/Desktop/images/14042025/06/55/image_14042025_06_56_06_30138.jpg
MAIN: 2025-04-14 06:56:06,869 - INFO - duration: 0.6894108110009256
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:56:36,697 - INFO - taking picture
MAIN: 2025-04-14 06:56:36,702 - INFO - we take 53 photos in this while loop
MAIN: 2025-04-14 06:56:36,702 - INFO - /home/pi/Desktop/images/14042025/06/56/image_14042025_06_56_36_29816.jpg
MAIN: 2025-04-14 06:56:36,703 - INFO - duration: 0.7060451569996076
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Will output and maybe also write in take_pic/pic_log.txt
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:57:06,772 - INFO - taking picture
MAIN: 2025-04-14 06:57:06,773 - INFO - we take 54 photos in this while loop
MAIN: 2025-04-14 06:57:06,773 - INFO - /home/pi/Desktop/images/14042025/06/56/image_14042025_06_57_06_30082.jpg
MAIN: 2025-04-14 06:57:06,773 - INFO - duration: 0.6943942580001021
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:57:36,537 - INFO - taking picture
MAIN: 2025-04-14 06:57:36,538 - INFO - we take 55 photos in this while loop
MAIN: 2025-04-14 06:57:36,538 - INFO - /home/pi/Desktop/images/14042025/06/57/image_14042025_06_57_36_29763.jpg
MAIN: 2025-04-14 06:57:36,538 - INFO - duration: 0.6964271029992233
Corrupt JPEG data: premature end of data segment
Will output and maybe also write in take_pic/pic_log.txt
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:58:06,762 - INFO - taking picture
MAIN: 2025-04-14 06:58:06,762 - INFO - we take 56 photos in this while loop
MAIN: 2025-04-14 06:58:06,762 - INFO - /home/pi/Desktop/images/14042025/06/57/image_14042025_06_58_06_30223.jpg
MAIN: 2025-04-14 06:58:06,763 - INFO - duration: 0.6973386469999241
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:58:36,546 - INFO - taking picture
MAIN: 2025-04-14 06:58:36,546 - INFO - we take 57 photos in this while loop
MAIN: 2025-04-14 06:58:36,546 - INFO - /home/pi/Desktop/images/14042025/06/58/image_14042025_06_58_36_29799.jpg
MAIN: 2025-04-14 06:58:36,547 - INFO - duration: 0.6823332240001037
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Will output and maybe also write in take_pic/pic_log.txt
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:59:06,479 - INFO - taking picture
MAIN: 2025-04-14 06:59:06,479 - INFO - we take 58 photos in this while loop
MAIN: 2025-04-14 06:59:06,479 - INFO - /home/pi/Desktop/images/14042025/06/58/image_14042025_06_59_06_29918.jpg
MAIN: 2025-04-14 06:59:06,479 - INFO - duration: 0.6967171039996174
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 06:59:37,448 - INFO - taking picture
MAIN: 2025-04-14 06:59:37,449 - INFO - we take 59 photos in this while loop
MAIN: 2025-04-14 06:59:37,449 - INFO - /home/pi/Desktop/images/14042025/06/59/image_14042025_06_59_37_30962.jpg
MAIN: 2025-04-14 06:59:37,449 - INFO - duration: 0.7042277090004063
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:00:06,391 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 07:00:06,613 - INFO - taking picture
MAIN: 2025-04-14 07:00:06,614 - INFO - we take 60 photos in this while loop
MAIN: 2025-04-14 07:00:06,614 - INFO - /home/pi/Desktop/images/14042025/06/59/image_14042025_07_00_06_29173.jpg
MAIN: 2025-04-14 07:00:06,614 - INFO - duration: 0.6954700980004418
MAIN: 2025-04-14 07:00:06,615 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/00'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:00:36,361 - INFO - taking picture
MAIN: 2025-04-14 07:00:36,361 - INFO - we take 61 photos in this while loop
MAIN: 2025-04-14 07:00:36,361 - INFO - /home/pi/Desktop/images/14042025/07/00/image_14042025_07_00_35_29755.jpg
MAIN: 2025-04-14 07:00:36,361 - INFO - duration: 0.6871498300006351
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 07:01:05,624 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:01:07,089 - INFO - taking picture
MAIN: 2025-04-14 07:01:07,089 - INFO - we take 62 photos in this while loop
MAIN: 2025-04-14 07:01:07,089 - INFO - /home/pi/Desktop/images/14042025/07/00/image_14042025_07_01_06_30731.jpg
MAIN: 2025-04-14 07:01:07,090 - INFO - duration: 0.6834015389995329
MAIN: 2025-04-14 07:01:07,090 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/01'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:01:36,702 - INFO - taking picture
MAIN: 2025-04-14 07:01:36,702 - INFO - we take 63 photos in this while loop
MAIN: 2025-04-14 07:01:36,702 - INFO - /home/pi/Desktop/images/14042025/07/01/image_14042025_07_01_36_29600.jpg
MAIN: 2025-04-14 07:01:36,703 - INFO - duration: 0.6958102169992344
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:02:06,414 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 07:02:06,683 - INFO - taking picture
MAIN: 2025-04-14 07:02:06,684 - INFO - we take 64 photos in this while loop
MAIN: 2025-04-14 07:02:06,684 - INFO - /home/pi/Desktop/images/14042025/07/01/image_14042025_07_02_06_29972.jpg
MAIN: 2025-04-14 07:02:06,684 - INFO - duration: 0.7051586880006653
MAIN: 2025-04-14 07:02:06,685 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/02'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:02:37,586 - INFO - taking picture
MAIN: 2025-04-14 07:02:37,586 - INFO - we take 65 photos in this while loop
MAIN: 2025-04-14 07:02:37,587 - INFO - /home/pi/Desktop/images/14042025/07/02/image_14042025_07_02_37_30900.jpg
MAIN: 2025-04-14 07:02:37,587 - INFO - duration: 0.7069014880016766
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 07:03:06,099 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:03:07,265 - INFO - taking picture
MAIN: 2025-04-14 07:03:07,265 - INFO - we take 66 photos in this while loop
MAIN: 2025-04-14 07:03:07,266 - INFO - /home/pi/Desktop/images/14042025/07/02/image_14042025_07_03_06_29723.jpg
MAIN: 2025-04-14 07:03:07,266 - INFO - duration: 0.6620536490008817
MAIN: 2025-04-14 07:03:07,266 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/03'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:03:36,762 - INFO - taking picture
MAIN: 2025-04-14 07:03:36,763 - INFO - we take 67 photos in this while loop
MAIN: 2025-04-14 07:03:36,763 - INFO - /home/pi/Desktop/images/14042025/07/03/image_14042025_07_03_36_29474.jpg
MAIN: 2025-04-14 07:03:36,763 - INFO - duration: 0.6846266430002288
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 07:04:05,793 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:04:06,755 - INFO - taking picture
MAIN: 2025-04-14 07:04:06,756 - INFO - we take 68 photos in this while loop
MAIN: 2025-04-14 07:04:06,756 - INFO - /home/pi/Desktop/images/14042025/07/03/image_14042025_07_04_06_30036.jpg
MAIN: 2025-04-14 07:04:06,756 - INFO - duration: 0.6413470340012282
MAIN: 2025-04-14 07:04:06,757 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/04'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:04:36,296 - INFO - taking picture
MAIN: 2025-04-14 07:04:36,297 - INFO - we take 69 photos in this while loop
MAIN: 2025-04-14 07:04:36,297 - INFO - /home/pi/Desktop/images/14042025/07/04/image_14042025_07_04_35_29511.jpg
MAIN: 2025-04-14 07:04:36,297 - INFO - duration: 0.670573826000691
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 07:05:05,951 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:05:06,597 - INFO - taking picture
MAIN: 2025-04-14 07:05:06,597 - INFO - we take 70 photos in this while loop
MAIN: 2025-04-14 07:05:06,597 - INFO - /home/pi/Desktop/images/14042025/07/04/image_14042025_07_05_06_30261.jpg
MAIN: 2025-04-14 07:05:06,598 - INFO - duration: 0.7101144620010018
MAIN: 2025-04-14 07:05:06,598 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/05'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:05:36,327 - INFO - taking picture
MAIN: 2025-04-14 07:05:36,327 - INFO - we take 71 photos in this while loop
MAIN: 2025-04-14 07:05:36,328 - INFO - /home/pi/Desktop/images/14042025/07/05/image_14042025_07_05_35_29751.jpg
MAIN: 2025-04-14 07:05:36,328 - INFO - duration: 0.6891071290010586
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 07:06:06,081 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:06:06,642 - INFO - taking picture
MAIN: 2025-04-14 07:06:06,643 - INFO - we take 72 photos in this while loop
MAIN: 2025-04-14 07:06:06,643 - INFO - /home/pi/Desktop/images/14042025/07/05/image_14042025_07_06_06_30318.jpg
MAIN: 2025-04-14 07:06:06,643 - INFO - duration: 0.6858870720006962
MAIN: 2025-04-14 07:06:06,644 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/06'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:06:37,528 - INFO - taking picture
MAIN: 2025-04-14 07:06:37,529 - INFO - we take 73 photos in this while loop
MAIN: 2025-04-14 07:06:37,529 - INFO - /home/pi/Desktop/images/14042025/07/06/image_14042025_07_06_37_30865.jpg
MAIN: 2025-04-14 07:06:37,529 - INFO - duration: 0.7059075170000142
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 07:07:05,970 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:07:07,362 - INFO - taking picture
MAIN: 2025-04-14 07:07:07,363 - INFO - we take 74 photos in this while loop
MAIN: 2025-04-14 07:07:07,363 - INFO - /home/pi/Desktop/images/14042025/07/06/image_14042025_07_07_06_29869.jpg
MAIN: 2025-04-14 07:07:07,363 - INFO - duration: 0.6699730629989062
MAIN: 2025-04-14 07:07:07,364 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/07'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:07:37,022 - INFO - taking picture
MAIN: 2025-04-14 07:07:37,023 - INFO - we take 75 photos in this while loop
MAIN: 2025-04-14 07:07:37,023 - INFO - /home/pi/Desktop/images/14042025/07/07/image_14042025_07_07_36_29657.jpg
MAIN: 2025-04-14 07:07:37,023 - INFO - duration: 0.6724277429984795
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 07:08:06,444 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:08:07,126 - INFO - taking picture
MAIN: 2025-04-14 07:08:07,126 - INFO - we take 76 photos in this while loop
MAIN: 2025-04-14 07:08:07,127 - INFO - /home/pi/Desktop/images/14042025/07/07/image_14042025_07_08_06_30117.jpg
MAIN: 2025-04-14 07:08:07,127 - INFO - duration: 0.6582862920004118
MAIN: 2025-04-14 07:08:07,127 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/08'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:08:36,851 - INFO - taking picture
MAIN: 2025-04-14 07:08:36,852 - INFO - we take 77 photos in this while loop
MAIN: 2025-04-14 07:08:36,852 - INFO - /home/pi/Desktop/images/14042025/07/08/image_14042025_07_08_36_29690.jpg
MAIN: 2025-04-14 07:08:36,852 - INFO - duration: 0.6930477670011896
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 07:09:05,386 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:09:06,748 - INFO - taking picture
MAIN: 2025-04-14 07:09:06,749 - INFO - we take 78 photos in this while loop
MAIN: 2025-04-14 07:09:06,749 - INFO - /home/pi/Desktop/images/14042025/07/08/image_14042025_07_09_06_29912.jpg
MAIN: 2025-04-14 07:09:06,749 - INFO - duration: 0.6781692849999672
MAIN: 2025-04-14 07:09:06,750 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/09'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:09:36,494 - INFO - taking picture
MAIN: 2025-04-14 07:09:36,495 - INFO - we take 79 photos in this while loop
MAIN: 2025-04-14 07:09:36,495 - INFO - /home/pi/Desktop/images/14042025/07/09/image_14042025_07_09_36_29744.jpg
MAIN: 2025-04-14 07:09:36,495 - INFO - duration: 0.6793778209994343
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:10:06,851 - INFO - taking picture
MAIN: 2025-04-14 07:10:06,851 - INFO - we take 80 photos in this while loop
MAIN: 2025-04-14 07:10:06,852 - INFO - /home/pi/Desktop/images/14042025/07/09/image_14042025_07_10_06_30370.jpg
MAIN: 2025-04-14 07:10:06,852 - INFO - duration: 0.665562152998973
MAIN: 2025-04-14 07:10:06,852 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/10'
MAIN: 2025-04-14 07:10:06,911 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:10:36,464 - INFO - taking picture
MAIN: 2025-04-14 07:10:36,465 - INFO - we take 81 photos in this while loop
MAIN: 2025-04-14 07:10:36,465 - INFO - /home/pi/Desktop/images/14042025/07/10/image_14042025_07_10_36_29597.jpg
MAIN: 2025-04-14 07:10:36,465 - INFO - duration: 0.6815105719997518
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
MAIN: 2025-04-14 07:11:05,845 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:11:06,317 - INFO - taking picture
MAIN: 2025-04-14 07:11:06,318 - INFO - we take 82 photos in this while loop
MAIN: 2025-04-14 07:11:06,318 - INFO - /home/pi/Desktop/images/14042025/07/10/image_14042025_07_11_05_29842.jpg
MAIN: 2025-04-14 07:11:06,318 - INFO - duration: 0.6915446220009471
MAIN: 2025-04-14 07:11:06,319 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/11'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:11:37,269 - INFO - taking picture
MAIN: 2025-04-14 07:11:37,270 - INFO - we take 83 photos in this while loop
MAIN: 2025-04-14 07:11:37,270 - INFO - /home/pi/Desktop/images/14042025/07/11/image_14042025_07_11_36_30952.jpg
MAIN: 2025-04-14 07:11:37,270 - INFO - duration: 0.6909106070015696
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
MAIN: 2025-04-14 07:12:06,376 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:12:07,247 - INFO - taking picture
MAIN: 2025-04-14 07:12:07,247 - INFO - we take 84 photos in this while loop
MAIN: 2025-04-14 07:12:07,247 - INFO - /home/pi/Desktop/images/14042025/07/11/image_14042025_07_12_06_30031.jpg
MAIN: 2025-04-14 07:12:07,248 - INFO - duration: 0.6361933640000643
MAIN: 2025-04-14 07:12:07,248 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/12'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:12:36,908 - INFO - taking picture
MAIN: 2025-04-14 07:12:36,909 - INFO - we take 85 photos in this while loop
MAIN: 2025-04-14 07:12:36,909 - INFO - /home/pi/Desktop/images/14042025/07/12/image_14042025_07_12_36_29616.jpg
MAIN: 2025-04-14 07:12:36,909 - INFO - duration: 0.6807573299993237
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 07:13:06,308 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:13:06,875 - INFO - taking picture
MAIN: 2025-04-14 07:13:06,876 - INFO - we take 86 photos in this while loop
MAIN: 2025-04-14 07:13:06,876 - INFO - /home/pi/Desktop/images/14042025/07/12/image_14042025_07_13_06_29949.jpg
MAIN: 2025-04-14 07:13:06,876 - INFO - duration: 0.6980586120007501
MAIN: 2025-04-14 07:13:06,876 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/13'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:13:36,572 - INFO - taking picture
MAIN: 2025-04-14 07:13:36,572 - INFO - we take 87 photos in this while loop
MAIN: 2025-04-14 07:13:36,573 - INFO - /home/pi/Desktop/images/14042025/07/13/image_14042025_07_13_36_29691.jpg
MAIN: 2025-04-14 07:13:36,573 - INFO - duration: 0.7030132919990137
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 07:14:05,800 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:14:06,530 - INFO - taking picture
MAIN: 2025-04-14 07:14:06,531 - INFO - we take 88 photos in this while loop
MAIN: 2025-04-14 07:14:06,531 - INFO - /home/pi/Desktop/images/14042025/07/13/image_14042025_07_14_06_30005.jpg
MAIN: 2025-04-14 07:14:06,531 - INFO - duration: 0.6561906780007121
MAIN: 2025-04-14 07:14:06,532 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/14'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:14:37,403 - INFO - taking picture
MAIN: 2025-04-14 07:14:37,404 - INFO - we take 89 photos in this while loop
MAIN: 2025-04-14 07:14:37,404 - INFO - /home/pi/Desktop/images/14042025/07/14/image_14042025_07_14_37_30837.jpg
MAIN: 2025-04-14 07:14:37,404 - INFO - duration: 0.6919363699998939
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 07:15:06,315 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=66 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:15:07,523 - INFO - taking picture
MAIN: 2025-04-14 07:15:07,524 - INFO - we take 90 photos in this while loop
MAIN: 2025-04-14 07:15:07,524 - INFO - /home/pi/Desktop/images/14042025/07/14/image_14042025_07_15_07_30138.jpg
MAIN: 2025-04-14 07:15:07,525 - INFO - duration: 0.6737468020000961
MAIN: 2025-04-14 07:15:07,525 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/15'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=41 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:15:37,180 - INFO - taking picture
MAIN: 2025-04-14 07:15:37,180 - INFO - we take 91 photos in this while loop
MAIN: 2025-04-14 07:15:37,181 - INFO - /home/pi/Desktop/images/14042025/07/15/image_14042025_07_15_36_29624.jpg
MAIN: 2025-04-14 07:15:37,181 - INFO - duration: 0.7059588529991743
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 07:16:06,298 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=41 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:16:07,087 - INFO - taking picture
MAIN: 2025-04-14 07:16:07,088 - INFO - we take 92 photos in this while loop
MAIN: 2025-04-14 07:16:07,088 - INFO - /home/pi/Desktop/images/14042025/07/15/image_14042025_07_16_06_29966.jpg
MAIN: 2025-04-14 07:16:07,088 - INFO - duration: 0.6470045309997658
MAIN: 2025-04-14 07:16:07,089 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/16'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=41 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:16:36,792 - INFO - taking picture
MAIN: 2025-04-14 07:16:36,838 - INFO - we take 93 photos in this while loop
MAIN: 2025-04-14 07:16:36,839 - INFO - /home/pi/Desktop/images/14042025/07/16/image_14042025_07_16_36_29673.jpg
MAIN: 2025-04-14 07:16:36,839 - INFO - duration: 0.7238483100009034
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 07:17:06,051 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=41 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:17:06,695 - INFO - taking picture
MAIN: 2025-04-14 07:17:06,696 - INFO - we take 94 photos in this while loop
MAIN: 2025-04-14 07:17:06,696 - INFO - /home/pi/Desktop/images/14042025/07/16/image_14042025_07_17_06_29885.jpg
MAIN: 2025-04-14 07:17:06,696 - INFO - duration: 0.6960295329990913
MAIN: 2025-04-14 07:17:06,697 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/17'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=41 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:17:36,463 - INFO - taking picture
MAIN: 2025-04-14 07:17:36,464 - INFO - we take 95 photos in this while loop
MAIN: 2025-04-14 07:17:36,464 - INFO - /home/pi/Desktop/images/14042025/07/17/image_14042025_07_17_36_29762.jpg
MAIN: 2025-04-14 07:17:36,464 - INFO - duration: 0.7016957229989202
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=41 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:18:06,508 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 07:18:06,711 - INFO - taking picture
MAIN: 2025-04-14 07:18:06,712 - INFO - we take 96 photos in this while loop
MAIN: 2025-04-14 07:18:06,712 - INFO - /home/pi/Desktop/images/14042025/07/17/image_14042025_07_18_06_30271.jpg
MAIN: 2025-04-14 07:18:06,712 - INFO - duration: 0.6776126200002182
MAIN: 2025-04-14 07:18:06,712 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/18'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=41 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:18:36,365 - INFO - taking picture
MAIN: 2025-04-14 07:18:36,366 - INFO - we take 97 photos in this while loop
MAIN: 2025-04-14 07:18:36,366 - INFO - /home/pi/Desktop/images/14042025/07/18/image_14042025_07_18_35_29663.jpg
MAIN: 2025-04-14 07:18:36,366 - INFO - duration: 0.6685666370012768
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 07:19:05,500 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=41 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:19:06,313 - INFO - taking picture
MAIN: 2025-04-14 07:19:06,313 - INFO - we take 98 photos in this while loop
MAIN: 2025-04-14 07:19:06,314 - INFO - /home/pi/Desktop/images/14042025/07/18/image_14042025_07_19_05_29980.jpg
MAIN: 2025-04-14 07:19:06,314 - INFO - duration: 0.635990677999871
MAIN: 2025-04-14 07:19:06,314 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/19'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=41 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:19:37,252 - INFO - taking picture
MAIN: 2025-04-14 07:19:37,252 - INFO - we take 99 photos in this while loop
MAIN: 2025-04-14 07:19:37,252 - INFO - /home/pi/Desktop/images/14042025/07/19/image_14042025_07_19_36_30897.jpg
MAIN: 2025-04-14 07:19:37,253 - INFO - duration: 0.6767875650002679
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=41 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:20:06,387 - INFO - taking picture
MAIN: 2025-04-14 07:20:06,388 - INFO - we take 100 photos in this while loop
MAIN: 2025-04-14 07:20:06,389 - INFO - /home/pi/Desktop/images/14042025/07/19/image_14042025_07_20_05_29127.jpg
MAIN: 2025-04-14 07:20:06,389 - INFO - duration: 0.68666771000062
MAIN: 2025-04-14 07:20:06,390 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/20'
MAIN: 2025-04-14 07:20:06,459 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=41 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:20:37,314 - INFO - taking picture
MAIN: 2025-04-14 07:20:37,315 - INFO - we take 101 photos in this while loop
MAIN: 2025-04-14 07:20:37,315 - INFO - /home/pi/Desktop/images/14042025/07/20/image_14042025_07_20_36_30913.jpg
MAIN: 2025-04-14 07:20:37,315 - INFO - duration: 0.6985859260003053
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 07:21:05,932 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=41 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:21:07,317 - INFO - taking picture
MAIN: 2025-04-14 07:21:07,317 - INFO - we take 102 photos in this while loop
MAIN: 2025-04-14 07:21:07,318 - INFO - /home/pi/Desktop/images/14042025/07/20/image_14042025_07_21_06_30005.jpg
MAIN: 2025-04-14 07:21:07,318 - INFO - duration: 0.695256495000649
MAIN: 2025-04-14 07:21:07,318 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/21'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=41 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:21:37,125 - INFO - taking picture
MAIN: 2025-04-14 07:21:37,125 - INFO - we take 103 photos in this while loop
MAIN: 2025-04-14 07:21:37,126 - INFO - /home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_36_29805.jpg
MAIN: 2025-04-14 07:21:37,126 - INFO - duration: 0.697550577999209
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 07:22:06,109 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=41 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:22:07,061 - INFO - taking picture
MAIN: 2025-04-14 07:22:07,062 - INFO - we take 104 photos in this while loop
MAIN: 2025-04-14 07:22:07,062 - INFO - /home/pi/Desktop/images/14042025/07/21/image_14042025_07_22_06_29991.jpg
MAIN: 2025-04-14 07:22:07,062 - INFO - duration: 0.6425357659991278
MAIN: 2025-04-14 07:22:07,063 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/22'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=41 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:22:36,853 - INFO - taking picture
MAIN: 2025-04-14 07:22:36,854 - INFO - we take 105 photos in this while loop
MAIN: 2025-04-14 07:22:36,854 - INFO - /home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_36_29732.jpg
MAIN: 2025-04-14 07:22:36,854 - INFO - duration: 0.7015142839991313
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 07:23:06,097 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:23:06,841 - INFO - taking picture
MAIN: 2025-04-14 07:23:06,841 - INFO - we take 106 photos in this while loop
MAIN: 2025-04-14 07:23:06,841 - INFO - /home/pi/Desktop/images/14042025/07/22/image_14042025_07_23_06_30040.jpg
MAIN: 2025-04-14 07:23:06,841 - INFO - duration: 0.6488774789995659
MAIN: 2025-04-14 07:23:06,842 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/23'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:23:36,617 - INFO - taking picture
MAIN: 2025-04-14 07:23:36,617 - INFO - we take 107 photos in this while loop
MAIN: 2025-04-14 07:23:36,618 - INFO - /home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_36_29722.jpg
MAIN: 2025-04-14 07:23:36,618 - INFO - duration: 0.7027254059994448
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 07:24:05,725 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:24:06,566 - INFO - taking picture
MAIN: 2025-04-14 07:24:06,567 - INFO - we take 108 photos in this while loop
MAIN: 2025-04-14 07:24:06,567 - INFO - /home/pi/Desktop/images/14042025/07/23/image_14042025_07_24_06_30008.jpg
MAIN: 2025-04-14 07:24:06,567 - INFO - duration: 0.6434316389986634
MAIN: 2025-04-14 07:24:06,567 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/24'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:24:36,387 - INFO - taking picture
MAIN: 2025-04-14 07:24:36,388 - INFO - we take 109 photos in this while loop
MAIN: 2025-04-14 07:24:36,388 - INFO - /home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_36_29767.jpg
MAIN: 2025-04-14 07:24:36,388 - INFO - duration: 0.696465029999672
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:25:06,073 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 07:25:06,449 - INFO - taking picture
MAIN: 2025-04-14 07:25:06,450 - INFO - we take 110 photos in this while loop
MAIN: 2025-04-14 07:25:06,450 - INFO - /home/pi/Desktop/images/14042025/07/24/image_14042025_07_25_06_30102.jpg
MAIN: 2025-04-14 07:25:06,450 - INFO - duration: 0.6567809079988365
MAIN: 2025-04-14 07:25:06,451 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/25'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:25:36,362 - INFO - taking picture
MAIN: 2025-04-14 07:25:36,363 - INFO - we take 111 photos in this while loop
MAIN: 2025-04-14 07:25:36,363 - INFO - /home/pi/Desktop/images/14042025/07/25/image_14042025_07_25_35_29892.jpg
MAIN: 2025-04-14 07:25:36,363 - INFO - duration: 0.6767392930014466
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:26:05,999 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 07:26:06,330 - INFO - taking picture
MAIN: 2025-04-14 07:26:06,330 - INFO - we take 112 photos in this while loop
MAIN: 2025-04-14 07:26:06,330 - INFO - /home/pi/Desktop/images/14042025/07/25/image_14042025_07_26_05_29936.jpg
MAIN: 2025-04-14 07:26:06,331 - INFO - duration: 0.7077545680003823
MAIN: 2025-04-14 07:26:06,331 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/26'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:26:37,193 - INFO - taking picture
MAIN: 2025-04-14 07:26:37,194 - INFO - we take 113 photos in this while loop
MAIN: 2025-04-14 07:26:37,194 - INFO - /home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_36_30876.jpg
MAIN: 2025-04-14 07:26:37,194 - INFO - duration: 0.6948135300008289
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
MAIN: 2025-04-14 07:27:05,858 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:27:07,083 - INFO - taking picture
MAIN: 2025-04-14 07:27:07,084 - INFO - we take 114 photos in this while loop
MAIN: 2025-04-14 07:27:07,084 - INFO - /home/pi/Desktop/images/14042025/07/26/image_14042025_07_27_06_29900.jpg
MAIN: 2025-04-14 07:27:07,085 - INFO - duration: 0.6847045890008303
MAIN: 2025-04-14 07:27:07,085 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/27'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:27:36,775 - INFO - taking picture
MAIN: 2025-04-14 07:27:36,775 - INFO - we take 115 photos in this while loop
MAIN: 2025-04-14 07:27:36,775 - INFO - /home/pi/Desktop/images/14042025/07/27/image_14042025_07_27_36_29679.jpg
MAIN: 2025-04-14 07:27:36,776 - INFO - duration: 0.6964558870004112
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 07:28:06,229 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:28:06,832 - INFO - taking picture
MAIN: 2025-04-14 07:28:06,832 - INFO - we take 116 photos in this while loop
MAIN: 2025-04-14 07:28:06,833 - INFO - /home/pi/Desktop/images/14042025/07/27/image_14042025_07_28_06_30041.jpg
MAIN: 2025-04-14 07:28:06,833 - INFO - duration: 0.7124621379989549
MAIN: 2025-04-14 07:28:06,833 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/28'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:28:36,705 - INFO - taking picture
MAIN: 2025-04-14 07:28:36,706 - INFO - we take 117 photos in this while loop
MAIN: 2025-04-14 07:28:36,706 - INFO - /home/pi/Desktop/images/14042025/07/28/image_14042025_07_28_36_29882.jpg
MAIN: 2025-04-14 07:28:36,706 - INFO - duration: 0.7040108159999363
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:29:06,276 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 07:29:06,611 - INFO - taking picture
MAIN: 2025-04-14 07:29:06,612 - INFO - we take 118 photos in this while loop
MAIN: 2025-04-14 07:29:06,612 - INFO - /home/pi/Desktop/images/14042025/07/28/image_14042025_07_29_06_29931.jpg
MAIN: 2025-04-14 07:29:06,612 - INFO - duration: 0.6777422960003605
MAIN: 2025-04-14 07:29:06,612 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/29'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:29:36,454 - INFO - taking picture
MAIN: 2025-04-14 07:29:36,454 - INFO - we take 119 photos in this while loop
MAIN: 2025-04-14 07:29:36,455 - INFO - /home/pi/Desktop/images/14042025/07/29/image_14042025_07_29_36_29816.jpg
MAIN: 2025-04-14 07:29:36,455 - INFO - duration: 0.7044006480009557
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 07:30:06,207 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:30:06,810 - INFO - taking picture
MAIN: 2025-04-14 07:30:06,811 - INFO - we take 120 photos in this while loop
MAIN: 2025-04-14 07:30:06,812 - INFO - /home/pi/Desktop/images/14042025/07/29/image_14042025_07_30_06_30359.jpg
MAIN: 2025-04-14 07:30:06,812 - INFO - duration: 0.7023982489990885
MAIN: 2025-04-14 07:30:06,813 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/30'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:30:36,449 - INFO - taking picture
MAIN: 2025-04-14 07:30:36,449 - INFO - we take 121 photos in this while loop
MAIN: 2025-04-14 07:30:36,449 - INFO - /home/pi/Desktop/images/14042025/07/30/image_14042025_07_30_36_29644.jpg
MAIN: 2025-04-14 07:30:36,450 - INFO - duration: 0.6958972050015291
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 07:31:05,670 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:31:06,423 - INFO - taking picture
MAIN: 2025-04-14 07:31:06,424 - INFO - we take 122 photos in this while loop
MAIN: 2025-04-14 07:31:06,424 - INFO - /home/pi/Desktop/images/14042025/07/30/image_14042025_07_31_06_30007.jpg
MAIN: 2025-04-14 07:31:06,424 - INFO - duration: 0.6631495880010334
MAIN: 2025-04-14 07:31:06,424 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/31'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:31:37,395 - INFO - taking picture
MAIN: 2025-04-14 07:31:37,396 - INFO - we take 123 photos in this while loop
MAIN: 2025-04-14 07:31:37,396 - INFO - /home/pi/Desktop/images/14042025/07/31/image_14042025_07_31_37_30950.jpg
MAIN: 2025-04-14 07:31:37,396 - INFO - duration: 0.6851985129997047
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:32:06,579 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 07:32:06,594 - INFO - taking picture
MAIN: 2025-04-14 07:32:06,595 - INFO - we take 124 photos in this while loop
MAIN: 2025-04-14 07:32:06,595 - INFO - /home/pi/Desktop/images/14042025/07/31/image_14042025_07_32_06_29187.jpg
MAIN: 2025-04-14 07:32:06,596 - INFO - duration: 0.6970503009997628
MAIN: 2025-04-14 07:32:06,596 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/32'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:32:36,357 - INFO - taking picture
MAIN: 2025-04-14 07:32:36,358 - INFO - we take 125 photos in this while loop
MAIN: 2025-04-14 07:32:36,358 - INFO - /home/pi/Desktop/images/14042025/07/32/image_14042025_07_32_35_29751.jpg
MAIN: 2025-04-14 07:32:36,358 - INFO - duration: 0.7076471930013213
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
MAIN: 2025-04-14 07:33:05,173 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=13 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:33:07,498 - INFO - taking picture
MAIN: 2025-04-14 07:33:07,498 - INFO - we take 126 photos in this while loop
MAIN: 2025-04-14 07:33:07,498 - INFO - /home/pi/Desktop/images/14042025/07/32/image_14042025_07_33_07_31146.jpg
MAIN: 2025-04-14 07:33:07,499 - INFO - duration: 0.7018696520008234
MAIN: 2025-04-14 07:33:07,499 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/33'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=13 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:33:37,352 - INFO - taking picture
MAIN: 2025-04-14 07:33:37,352 - INFO - we take 127 photos in this while loop
MAIN: 2025-04-14 07:33:37,353 - INFO - /home/pi/Desktop/images/14042025/07/33/image_14042025_07_33_36_29855.jpg
MAIN: 2025-04-14 07:33:37,353 - INFO - duration: 0.7004505539989623
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 07:34:05,699 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=13 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:34:07,572 - INFO - taking picture
MAIN: 2025-04-14 07:34:07,573 - INFO - we take 128 photos in this while loop
MAIN: 2025-04-14 07:34:07,573 - INFO - /home/pi/Desktop/images/14042025/07/33/image_14042025_07_34_07_30225.jpg
MAIN: 2025-04-14 07:34:07,573 - INFO - duration: 0.6949898940001731
MAIN: 2025-04-14 07:34:07,574 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/34'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=13 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:34:37,277 - INFO - taking picture
MAIN: 2025-04-14 07:34:37,278 - INFO - we take 129 photos in this while loop
MAIN: 2025-04-14 07:34:37,278 - INFO - /home/pi/Desktop/images/14042025/07/34/image_14042025_07_34_36_29707.jpg
MAIN: 2025-04-14 07:34:37,278 - INFO - duration: 0.6925764259995049
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=13 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:35:06,221 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 07:35:06,323 - INFO - taking picture
MAIN: 2025-04-14 07:35:06,324 - INFO - we take 130 photos in this while loop
MAIN: 2025-04-14 07:35:06,324 - INFO - /home/pi/Desktop/images/14042025/07/34/image_14042025_07_35_05_29030.jpg
MAIN: 2025-04-14 07:35:06,325 - INFO - duration: 0.7084484309998516
MAIN: 2025-04-14 07:35:06,325 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/35'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=13 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:35:37,378 - INFO - taking picture
MAIN: 2025-04-14 07:35:37,378 - INFO - we take 131 photos in this while loop
MAIN: 2025-04-14 07:35:37,379 - INFO - /home/pi/Desktop/images/14042025/07/35/image_14042025_07_35_36_31058.jpg
MAIN: 2025-04-14 07:35:37,379 - INFO - duration: 0.7044097550005972
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=13 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:36:06,296 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 07:36:06,532 - INFO - taking picture
MAIN: 2025-04-14 07:36:06,533 - INFO - we take 132 photos in this while loop
MAIN: 2025-04-14 07:36:06,533 - INFO - /home/pi/Desktop/images/14042025/07/35/image_14042025_07_36_06_29139.jpg
MAIN: 2025-04-14 07:36:06,533 - INFO - duration: 0.7190356160008378
MAIN: 2025-04-14 07:36:06,534 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/36'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=13 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:36:37,587 - INFO - taking picture
MAIN: 2025-04-14 07:36:37,588 - INFO - we take 133 photos in this while loop
MAIN: 2025-04-14 07:36:37,588 - INFO - /home/pi/Desktop/images/14042025/07/36/image_14042025_07_36_37_31066.jpg
MAIN: 2025-04-14 07:36:37,588 - INFO - duration: 0.7067930369994428
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 07:37:06,150 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:37:07,566 - INFO - taking picture
MAIN: 2025-04-14 07:37:07,567 - INFO - we take 134 photos in this while loop
MAIN: 2025-04-14 07:37:07,567 - INFO - /home/pi/Desktop/images/14042025/07/36/image_14042025_07_37_07_30008.jpg
MAIN: 2025-04-14 07:37:07,567 - INFO - duration: 0.6773661379993428
MAIN: 2025-04-14 07:37:07,568 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/37'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:37:37,422 - INFO - taking picture
MAIN: 2025-04-14 07:37:37,423 - INFO - we take 135 photos in this while loop
MAIN: 2025-04-14 07:37:37,423 - INFO - /home/pi/Desktop/images/14042025/07/37/image_14042025_07_37_37_29828.jpg
MAIN: 2025-04-14 07:37:37,423 - INFO - duration: 0.705051168000864
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 07:38:06,648 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:38:07,428 - INFO - taking picture
MAIN: 2025-04-14 07:38:07,428 - INFO - we take 136 photos in this while loop
MAIN: 2025-04-14 07:38:07,428 - INFO - /home/pi/Desktop/images/14042025/07/37/image_14042025_07_38_07_30060.jpg
MAIN: 2025-04-14 07:38:07,429 - INFO - duration: 0.6504310990003432
MAIN: 2025-04-14 07:38:07,429 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/38'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:38:37,284 - INFO - taking picture
MAIN: 2025-04-14 07:38:37,284 - INFO - we take 137 photos in this while loop
MAIN: 2025-04-14 07:38:37,284 - INFO - /home/pi/Desktop/images/14042025/07/38/image_14042025_07_38_36_29800.jpg
MAIN: 2025-04-14 07:38:37,284 - INFO - duration: 0.7059766479997052
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 07:39:05,591 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:39:07,542 - INFO - taking picture
MAIN: 2025-04-14 07:39:07,543 - INFO - we take 138 photos in this while loop
MAIN: 2025-04-14 07:39:07,543 - INFO - /home/pi/Desktop/images/14042025/07/38/image_14042025_07_39_07_30250.jpg
MAIN: 2025-04-14 07:39:07,543 - INFO - duration: 0.7142538689986395
MAIN: 2025-04-14 07:39:07,544 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/39'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:39:37,560 - INFO - taking picture
MAIN: 2025-04-14 07:39:37,560 - INFO - we take 139 photos in this while loop
MAIN: 2025-04-14 07:39:37,560 - INFO - /home/pi/Desktop/images/14042025/07/39/image_14042025_07_39_37_30017.jpg
MAIN: 2025-04-14 07:39:37,561 - INFO - duration: 0.7140227569998387
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 07:40:06,433 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:40:06,959 - INFO - taking picture
MAIN: 2025-04-14 07:40:06,959 - INFO - we take 140 photos in this while loop
MAIN: 2025-04-14 07:40:06,960 - INFO - /home/pi/Desktop/images/14042025/07/39/image_14042025_07_40_06_29382.jpg
MAIN: 2025-04-14 07:40:06,960 - INFO - duration: 0.7311745599999995
MAIN: 2025-04-14 07:40:06,960 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/40'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:40:37,128 - INFO - taking picture
MAIN: 2025-04-14 07:40:37,129 - INFO - we take 141 photos in this while loop
MAIN: 2025-04-14 07:40:37,129 - INFO - /home/pi/Desktop/images/14042025/07/40/image_14042025_07_40_36_30186.jpg
MAIN: 2025-04-14 07:40:37,129 - INFO - duration: 0.7138153289997717
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 07:41:05,816 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:41:07,278 - INFO - taking picture
MAIN: 2025-04-14 07:41:07,279 - INFO - we take 142 photos in this while loop
MAIN: 2025-04-14 07:41:07,279 - INFO - /home/pi/Desktop/images/14042025/07/40/image_14042025_07_41_06_30149.jpg
MAIN: 2025-04-14 07:41:07,279 - INFO - duration: 0.7143830740005797
MAIN: 2025-04-14 07:41:07,280 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/41'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:41:37,432 - INFO - taking picture
MAIN: 2025-04-14 07:41:37,432 - INFO - we take 143 photos in this while loop
MAIN: 2025-04-14 07:41:37,432 - INFO - /home/pi/Desktop/images/14042025/07/41/image_14042025_07_41_37_30137.jpg
MAIN: 2025-04-14 07:41:37,433 - INFO - duration: 0.7306014409987256
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:42:06,582 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 07:42:06,980 - INFO - taking picture
MAIN: 2025-04-14 07:42:06,980 - INFO - we take 144 photos in this while loop
MAIN: 2025-04-14 07:42:06,980 - INFO - /home/pi/Desktop/images/14042025/07/41/image_14042025_07_42_06_29554.jpg
MAIN: 2025-04-14 07:42:06,981 - INFO - duration: 0.7242010650006705
MAIN: 2025-04-14 07:42:06,981 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/42'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:42:37,094 - INFO - taking picture
MAIN: 2025-04-14 07:42:37,094 - INFO - we take 145 photos in this while loop
MAIN: 2025-04-14 07:42:37,094 - INFO - /home/pi/Desktop/images/14042025/07/42/image_14042025_07_42_36_30114.jpg
MAIN: 2025-04-14 07:42:37,095 - INFO - duration: 0.7233412090008642
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 07:43:05,610 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:43:06,346 - INFO - taking picture
MAIN: 2025-04-14 07:43:06,346 - INFO - we take 146 photos in this while loop
MAIN: 2025-04-14 07:43:06,347 - INFO - /home/pi/Desktop/images/14042025/07/42/image_14042025_07_43_05_29256.jpg
MAIN: 2025-04-14 07:43:06,347 - INFO - duration: 0.7188291149996076
MAIN: 2025-04-14 07:43:06,347 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/43'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:43:36,512 - INFO - taking picture
MAIN: 2025-04-14 07:43:36,513 - INFO - we take 147 photos in this while loop
MAIN: 2025-04-14 07:43:36,513 - INFO - /home/pi/Desktop/images/14042025/07/43/image_14042025_07_43_36_30214.jpg
MAIN: 2025-04-14 07:43:36,513 - INFO - duration: 0.6705370880008559
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 07:44:05,865 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:44:06,867 - INFO - taking picture
MAIN: 2025-04-14 07:44:06,867 - INFO - we take 148 photos in this while loop
MAIN: 2025-04-14 07:44:06,868 - INFO - /home/pi/Desktop/images/14042025/07/43/image_14042025_07_44_06_30329.jpg
MAIN: 2025-04-14 07:44:06,868 - INFO - duration: 0.6953661839997949
MAIN: 2025-04-14 07:44:06,868 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/44'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:44:37,020 - INFO - taking picture
MAIN: 2025-04-14 07:44:37,021 - INFO - we take 149 photos in this while loop
MAIN: 2025-04-14 07:44:37,021 - INFO - /home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_36_30129.jpg
MAIN: 2025-04-14 07:44:37,021 - INFO - duration: 0.7189887180011283
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:45:06,165 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 07:45:06,496 - INFO - taking picture
MAIN: 2025-04-14 07:45:06,497 - INFO - we take 150 photos in this while loop
MAIN: 2025-04-14 07:45:06,497 - INFO - /home/pi/Desktop/images/14042025/07/44/image_14042025_07_45_06_29457.jpg
MAIN: 2025-04-14 07:45:06,497 - INFO - duration: 0.7374590680010442
MAIN: 2025-04-14 07:45:06,498 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/45'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:45:36,602 - INFO - taking picture
MAIN: 2025-04-14 07:45:36,602 - INFO - we take 151 photos in this while loop
MAIN: 2025-04-14 07:45:36,603 - INFO - /home/pi/Desktop/images/14042025/07/45/image_14042025_07_45_36_30115.jpg
MAIN: 2025-04-14 07:45:36,603 - INFO - duration: 0.7278739049997967
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 07:46:06,196 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:46:07,054 - INFO - taking picture
MAIN: 2025-04-14 07:46:07,054 - INFO - we take 152 photos in this while loop
MAIN: 2025-04-14 07:46:07,055 - INFO - /home/pi/Desktop/images/14042025/07/45/image_14042025_07_46_06_30508.jpg
MAIN: 2025-04-14 07:46:07,055 - INFO - duration: 0.6710949600001186
MAIN: 2025-04-14 07:46:07,055 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/46'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:46:37,282 - INFO - taking picture
MAIN: 2025-04-14 07:46:37,283 - INFO - we take 153 photos in this while loop
MAIN: 2025-04-14 07:46:37,283 - INFO - /home/pi/Desktop/images/14042025/07/46/image_14042025_07_46_36_30169.jpg
MAIN: 2025-04-14 07:46:37,283 - INFO - duration: 0.7303621169994585
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 07:47:06,017 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:47:06,593 - INFO - taking picture
MAIN: 2025-04-14 07:47:06,593 - INFO - we take 154 photos in this while loop
MAIN: 2025-04-14 07:47:06,594 - INFO - /home/pi/Desktop/images/14042025/07/46/image_14042025_07_47_06_29283.jpg
MAIN: 2025-04-14 07:47:06,594 - INFO - duration: 0.7567231410012027
MAIN: 2025-04-14 07:47:06,594 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/47'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:47:36,602 - INFO - taking picture
MAIN: 2025-04-14 07:47:36,602 - INFO - we take 155 photos in this while loop
MAIN: 2025-04-14 07:47:36,603 - INFO - /home/pi/Desktop/images/14042025/07/47/image_14042025_07_47_36_30099.jpg
MAIN: 2025-04-14 07:47:36,603 - INFO - duration: 0.6660745760000282
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 07:48:06,432 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:48:07,181 - INFO - taking picture
MAIN: 2025-04-14 07:48:07,181 - INFO - we take 156 photos in this while loop
MAIN: 2025-04-14 07:48:07,182 - INFO - /home/pi/Desktop/images/14042025/07/47/image_14042025_07_48_06_30546.jpg
MAIN: 2025-04-14 07:48:07,182 - INFO - duration: 0.6982720569994854
MAIN: 2025-04-14 07:48:07,182 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/48'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:48:37,233 - INFO - taking picture
MAIN: 2025-04-14 07:48:37,233 - INFO - we take 157 photos in this while loop
MAIN: 2025-04-14 07:48:37,233 - INFO - /home/pi/Desktop/images/14042025/07/48/image_14042025_07_48_36_30026.jpg
MAIN: 2025-04-14 07:48:37,234 - INFO - duration: 0.7239119360001496
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 07:49:05,314 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:49:07,444 - INFO - taking picture
MAIN: 2025-04-14 07:49:07,445 - INFO - we take 158 photos in this while loop
MAIN: 2025-04-14 07:49:07,445 - INFO - /home/pi/Desktop/images/14042025/07/48/image_14042025_07_49_07_30224.jpg
MAIN: 2025-04-14 07:49:07,445 - INFO - duration: 0.7109557379990292
MAIN: 2025-04-14 07:49:07,446 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/49'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:49:37,445 - INFO - taking picture
MAIN: 2025-04-14 07:49:37,446 - INFO - we take 159 photos in this while loop
MAIN: 2025-04-14 07:49:37,446 - INFO - /home/pi/Desktop/images/14042025/07/49/image_14042025_07_49_37_30019.jpg
MAIN: 2025-04-14 07:49:37,446 - INFO - duration: 0.6924739170008252
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:50:06,524 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 07:50:06,590 - INFO - taking picture
MAIN: 2025-04-14 07:50:06,591 - INFO - we take 160 photos in this while loop
MAIN: 2025-04-14 07:50:06,591 - INFO - /home/pi/Desktop/images/14042025/07/49/image_14042025_07_50_06_29146.jpg
MAIN: 2025-04-14 07:50:06,592 - INFO - duration: 0.6918941210005869
MAIN: 2025-04-14 07:50:06,592 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/50'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:50:37,571 - INFO - taking picture
MAIN: 2025-04-14 07:50:37,572 - INFO - we take 161 photos in this while loop
MAIN: 2025-04-14 07:50:37,572 - INFO - /home/pi/Desktop/images/14042025/07/50/image_14042025_07_50_37_30978.jpg
MAIN: 2025-04-14 07:50:37,572 - INFO - duration: 0.6938411459996132
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 07:51:05,895 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:51:06,365 - INFO - taking picture
MAIN: 2025-04-14 07:51:06,366 - INFO - we take 162 photos in this while loop
MAIN: 2025-04-14 07:51:06,366 - INFO - /home/pi/Desktop/images/14042025/07/50/image_14042025_07_51_05_28770.jpg
MAIN: 2025-04-14 07:51:06,366 - INFO - duration: 0.7178918080007861
MAIN: 2025-04-14 07:51:06,367 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/51'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:51:37,396 - INFO - taking picture
MAIN: 2025-04-14 07:51:37,396 - INFO - we take 163 photos in this while loop
MAIN: 2025-04-14 07:51:37,396 - INFO - /home/pi/Desktop/images/14042025/07/51/image_14042025_07_51_37_31060.jpg
MAIN: 2025-04-14 07:51:37,397 - INFO - duration: 0.6878134319995297
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:52:06,122 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 07:52:06,401 - INFO - taking picture
MAIN: 2025-04-14 07:52:06,401 - INFO - we take 164 photos in this while loop
MAIN: 2025-04-14 07:52:06,401 - INFO - /home/pi/Desktop/images/14042025/07/51/image_14042025_07_52_05_29006.jpg
MAIN: 2025-04-14 07:52:06,402 - INFO - duration: 0.6866715020005358
MAIN: 2025-04-14 07:52:06,402 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/52'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:52:37,344 - INFO - taking picture
MAIN: 2025-04-14 07:52:37,345 - INFO - we take 165 photos in this while loop
MAIN: 2025-04-14 07:52:37,345 - INFO - /home/pi/Desktop/images/14042025/07/52/image_14042025_07_52_36_30936.jpg
MAIN: 2025-04-14 07:52:37,345 - INFO - duration: 0.6934693599996535
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 07:53:05,876 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:53:07,189 - INFO - taking picture
MAIN: 2025-04-14 07:53:07,190 - INFO - we take 166 photos in this while loop
MAIN: 2025-04-14 07:53:07,190 - INFO - /home/pi/Desktop/images/14042025/07/52/image_14042025_07_53_06_29840.jpg
MAIN: 2025-04-14 07:53:07,190 - INFO - duration: 0.6977019050009403
MAIN: 2025-04-14 07:53:07,190 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/53'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:53:36,797 - INFO - taking picture
MAIN: 2025-04-14 07:53:36,798 - INFO - we take 167 photos in this while loop
MAIN: 2025-04-14 07:53:36,798 - INFO - /home/pi/Desktop/images/14042025/07/53/image_14042025_07_53_36_29611.jpg
MAIN: 2025-04-14 07:53:36,798 - INFO - duration: 0.6947361219990853
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:54:06,949 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 07:54:06,956 - INFO - taking picture
MAIN: 2025-04-14 07:54:06,957 - INFO - we take 168 photos in this while loop
MAIN: 2025-04-14 07:54:06,957 - INFO - /home/pi/Desktop/images/14042025/07/53/image_14042025_07_54_06_30148.jpg
MAIN: 2025-04-14 07:54:06,957 - INFO - duration: 0.7050308019988734
MAIN: 2025-04-14 07:54:06,958 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/54'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:54:36,659 - INFO - taking picture
MAIN: 2025-04-14 07:54:36,660 - INFO - we take 169 photos in this while loop
MAIN: 2025-04-14 07:54:36,660 - INFO - /home/pi/Desktop/images/14042025/07/54/image_14042025_07_54_36_29706.jpg
MAIN: 2025-04-14 07:54:36,660 - INFO - duration: 0.70140757199988
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 07:55:05,937 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:55:06,710 - INFO - taking picture
MAIN: 2025-04-14 07:55:06,711 - INFO - we take 170 photos in this while loop
MAIN: 2025-04-14 07:55:06,711 - INFO - /home/pi/Desktop/images/14042025/07/54/image_14042025_07_55_06_30072.jpg
MAIN: 2025-04-14 07:55:06,712 - INFO - duration: 0.6801569540002674
MAIN: 2025-04-14 07:55:06,712 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/55'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:55:36,444 - INFO - taking picture
MAIN: 2025-04-14 07:55:36,444 - INFO - we take 171 photos in this while loop
MAIN: 2025-04-14 07:55:36,444 - INFO - /home/pi/Desktop/images/14042025/07/55/image_14042025_07_55_36_29768.jpg
MAIN: 2025-04-14 07:55:36,445 - INFO - duration: 0.6447951509999257
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 07:56:05,846 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:56:06,523 - INFO - taking picture
MAIN: 2025-04-14 07:56:06,524 - INFO - we take 172 photos in this while loop
MAIN: 2025-04-14 07:56:06,524 - INFO - /home/pi/Desktop/images/14042025/07/55/image_14042025_07_56_06_30060.jpg
MAIN: 2025-04-14 07:56:06,524 - INFO - duration: 0.6636223619989323
MAIN: 2025-04-14 07:56:06,524 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/56'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:56:37,565 - INFO - taking picture
MAIN: 2025-04-14 07:56:37,565 - INFO - we take 173 photos in this while loop
MAIN: 2025-04-14 07:56:37,566 - INFO - /home/pi/Desktop/images/14042025/07/56/image_14042025_07_56_37_31007.jpg
MAIN: 2025-04-14 07:56:37,566 - INFO - duration: 0.6973965590004809
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 07:57:05,888 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:57:06,413 - INFO - taking picture
MAIN: 2025-04-14 07:57:06,414 - INFO - we take 174 photos in this while loop
MAIN: 2025-04-14 07:57:06,414 - INFO - /home/pi/Desktop/images/14042025/07/56/image_14042025_07_57_06_28837.jpg
MAIN: 2025-04-14 07:57:06,414 - INFO - duration: 0.708137882000301
MAIN: 2025-04-14 07:57:06,415 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/57'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:57:37,451 - INFO - taking picture
MAIN: 2025-04-14 07:57:37,452 - INFO - we take 175 photos in this while loop
MAIN: 2025-04-14 07:57:37,452 - INFO - /home/pi/Desktop/images/14042025/07/57/image_14042025_07_57_37_31046.jpg
MAIN: 2025-04-14 07:57:37,452 - INFO - duration: 0.6997785709991149
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 07:58:06,098 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:58:07,446 - INFO - taking picture
MAIN: 2025-04-14 07:58:07,446 - INFO - we take 176 photos in this while loop
MAIN: 2025-04-14 07:58:07,447 - INFO - /home/pi/Desktop/images/14042025/07/57/image_14042025_07_58_07_30009.jpg
MAIN: 2025-04-14 07:58:07,447 - INFO - duration: 0.6841510829999606
MAIN: 2025-04-14 07:58:07,447 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/58'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:58:37,051 - INFO - taking picture
MAIN: 2025-04-14 07:58:37,053 - INFO - we take 177 photos in this while loop
MAIN: 2025-04-14 07:58:37,053 - INFO - /home/pi/Desktop/images/14042025/07/58/image_14042025_07_58_36_29601.jpg
MAIN: 2025-04-14 07:58:37,054 - INFO - duration: 0.6892390759985574
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 07:59:05,567 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:59:07,219 - INFO - taking picture
MAIN: 2025-04-14 07:59:07,220 - INFO - we take 178 photos in this while loop
MAIN: 2025-04-14 07:59:07,220 - INFO - /home/pi/Desktop/images/14042025/07/58/image_14042025_07_59_06_30156.jpg
MAIN: 2025-04-14 07:59:07,220 - INFO - duration: 0.6994081640004879
MAIN: 2025-04-14 07:59:07,220 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/07/59'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 07:59:36,734 - INFO - taking picture
MAIN: 2025-04-14 07:59:36,734 - INFO - we take 179 photos in this while loop
MAIN: 2025-04-14 07:59:36,735 - INFO - /home/pi/Desktop/images/14042025/07/59/image_14042025_07_59_36_29539.jpg
MAIN: 2025-04-14 07:59:36,735 - INFO - duration: 0.6746750050006085
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:00:06,372 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:00:07,096 - INFO - taking picture
MAIN: 2025-04-14 08:00:07,097 - INFO - we take 180 photos in this while loop
MAIN: 2025-04-14 08:00:07,098 - INFO - /home/pi/Desktop/images/14042025/07/59/image_14042025_08_00_06_30227.jpg
MAIN: 2025-04-14 08:00:07,098 - INFO - duration: 0.8103904239997064
MAIN: 2025-04-14 08:00:07,098 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/00'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:00:36,723 - INFO - taking picture
MAIN: 2025-04-14 08:00:36,724 - INFO - we take 181 photos in this while loop
MAIN: 2025-04-14 08:00:36,724 - INFO - /home/pi/Desktop/images/14042025/08/00/image_14042025_08_00_36_29749.jpg
MAIN: 2025-04-14 08:00:36,724 - INFO - duration: 0.687911676001022
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:01:04,924 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:01:06,635 - INFO - taking picture
MAIN: 2025-04-14 08:01:06,636 - INFO - we take 182 photos in this while loop
MAIN: 2025-04-14 08:01:06,636 - INFO - /home/pi/Desktop/images/14042025/08/00/image_14042025_08_01_06_29898.jpg
MAIN: 2025-04-14 08:01:06,636 - INFO - duration: 0.7008773329998803
MAIN: 2025-04-14 08:01:06,637 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/01'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:01:36,409 - INFO - taking picture
MAIN: 2025-04-14 08:01:36,410 - INFO - we take 183 photos in this while loop
MAIN: 2025-04-14 08:01:36,410 - INFO - /home/pi/Desktop/images/14042025/08/01/image_14042025_08_01_36_29770.jpg
MAIN: 2025-04-14 08:01:36,410 - INFO - duration: 0.7042811129995243
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:02:05,705 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:02:06,357 - INFO - taking picture
MAIN: 2025-04-14 08:02:06,358 - INFO - we take 184 photos in this while loop
MAIN: 2025-04-14 08:02:06,358 - INFO - /home/pi/Desktop/images/14042025/08/01/image_14042025_08_02_05_29949.jpg
MAIN: 2025-04-14 08:02:06,358 - INFO - duration: 0.7026254660013365
MAIN: 2025-04-14 08:02:06,359 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/02'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:02:37,412 - INFO - taking picture
MAIN: 2025-04-14 08:02:37,412 - INFO - we take 185 photos in this while loop
MAIN: 2025-04-14 08:02:37,412 - INFO - /home/pi/Desktop/images/14042025/08/02/image_14042025_08_02_37_31055.jpg
MAIN: 2025-04-14 08:02:37,413 - INFO - duration: 0.701157997998962
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:03:05,372 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:03:07,407 - INFO - taking picture
MAIN: 2025-04-14 08:03:07,407 - INFO - we take 186 photos in this while loop
MAIN: 2025-04-14 08:03:07,408 - INFO - /home/pi/Desktop/images/14042025/08/02/image_14042025_08_03_07_30040.jpg
MAIN: 2025-04-14 08:03:07,408 - INFO - duration: 0.6562779790001514
MAIN: 2025-04-14 08:03:07,408 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/03'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:03:37,151 - INFO - taking picture
MAIN: 2025-04-14 08:03:37,152 - INFO - we take 187 photos in this while loop
MAIN: 2025-04-14 08:03:37,152 - INFO - /home/pi/Desktop/images/14042025/08/03/image_14042025_08_03_36_29699.jpg
MAIN: 2025-04-14 08:03:37,152 - INFO - duration: 0.7009692649990029
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:04:05,862 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:04:07,197 - INFO - taking picture
MAIN: 2025-04-14 08:04:07,197 - INFO - we take 188 photos in this while loop
MAIN: 2025-04-14 08:04:07,197 - INFO - /home/pi/Desktop/images/14042025/08/03/image_14042025_08_04_06_30069.jpg
MAIN: 2025-04-14 08:04:07,198 - INFO - duration: 0.676593728001535
MAIN: 2025-04-14 08:04:07,198 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/04'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:04:36,881 - INFO - taking picture
MAIN: 2025-04-14 08:04:36,882 - INFO - we take 189 photos in this while loop
MAIN: 2025-04-14 08:04:36,882 - INFO - /home/pi/Desktop/images/14042025/08/04/image_14042025_08_04_36_29687.jpg
MAIN: 2025-04-14 08:04:36,882 - INFO - duration: 0.6741964740012918
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:05:05,801 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:05:06,808 - INFO - taking picture
MAIN: 2025-04-14 08:05:06,808 - INFO - we take 190 photos in this while loop
MAIN: 2025-04-14 08:05:06,809 - INFO - /home/pi/Desktop/images/14042025/08/04/image_14042025_08_05_06_29934.jpg
MAIN: 2025-04-14 08:05:06,809 - INFO - duration: 0.6660419800009549
MAIN: 2025-04-14 08:05:06,809 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/05'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:05:36,304 - INFO - taking picture
MAIN: 2025-04-14 08:05:36,305 - INFO - we take 191 photos in this while loop
MAIN: 2025-04-14 08:05:36,305 - INFO - /home/pi/Desktop/images/14042025/08/05/image_14042025_08_05_35_29481.jpg
MAIN: 2025-04-14 08:05:36,305 - INFO - duration: 0.6814380079995317
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:06:06,287 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 08:06:06,526 - INFO - taking picture
MAIN: 2025-04-14 08:06:06,526 - INFO - we take 192 photos in this while loop
MAIN: 2025-04-14 08:06:06,527 - INFO - /home/pi/Desktop/images/14042025/08/05/image_14042025_08_06_06_30190.jpg
MAIN: 2025-04-14 08:06:06,527 - INFO - duration: 0.7124824709990207
MAIN: 2025-04-14 08:06:06,527 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/06'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:06:37,551 - INFO - taking picture
MAIN: 2025-04-14 08:06:37,551 - INFO - we take 193 photos in this while loop
MAIN: 2025-04-14 08:06:37,551 - INFO - /home/pi/Desktop/images/14042025/08/06/image_14042025_08_06_37_31044.jpg
MAIN: 2025-04-14 08:06:37,552 - INFO - duration: 0.6929042309984652
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:07:05,952 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:07:07,234 - INFO - taking picture
MAIN: 2025-04-14 08:07:07,234 - INFO - we take 194 photos in this while loop
MAIN: 2025-04-14 08:07:07,234 - INFO - /home/pi/Desktop/images/14042025/08/06/image_14042025_08_07_06_29709.jpg
MAIN: 2025-04-14 08:07:07,235 - INFO - duration: 0.6669478700005129
MAIN: 2025-04-14 08:07:07,235 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/07'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:07:36,944 - INFO - taking picture
MAIN: 2025-04-14 08:07:36,945 - INFO - we take 195 photos in this while loop
MAIN: 2025-04-14 08:07:36,945 - INFO - /home/pi/Desktop/images/14042025/08/07/image_14042025_08_07_36_29683.jpg
MAIN: 2025-04-14 08:07:36,945 - INFO - duration: 0.6940080099993793
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:08:05,407 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:08:06,668 - INFO - taking picture
MAIN: 2025-04-14 08:08:06,669 - INFO - we take 196 photos in this while loop
MAIN: 2025-04-14 08:08:06,669 - INFO - /home/pi/Desktop/images/14042025/08/07/image_14042025_08_08_06_29755.jpg
MAIN: 2025-04-14 08:08:06,669 - INFO - duration: 0.662269099999321
MAIN: 2025-04-14 08:08:06,670 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/08'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:08:36,352 - INFO - taking picture
MAIN: 2025-04-14 08:08:36,353 - INFO - we take 197 photos in this while loop
MAIN: 2025-04-14 08:08:36,353 - INFO - /home/pi/Desktop/images/14042025/08/08/image_14042025_08_08_35_29655.jpg
MAIN: 2025-04-14 08:08:36,353 - INFO - duration: 0.6906970540003385
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:09:05,647 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:09:06,339 - INFO - taking picture
MAIN: 2025-04-14 08:09:06,339 - INFO - we take 198 photos in this while loop
MAIN: 2025-04-14 08:09:06,340 - INFO - /home/pi/Desktop/images/14042025/08/08/image_14042025_08_09_05_29984.jpg
MAIN: 2025-04-14 08:09:06,340 - INFO - duration: 0.6922664719986642
MAIN: 2025-04-14 08:09:06,340 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/09'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:09:37,227 - INFO - taking picture
MAIN: 2025-04-14 08:09:37,227 - INFO - we take 199 photos in this while loop
MAIN: 2025-04-14 08:09:37,228 - INFO - /home/pi/Desktop/images/14042025/08/09/image_14042025_08_09_36_30911.jpg
MAIN: 2025-04-14 08:09:37,228 - INFO - duration: 0.6683264679995773
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:10:07,091 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:10:07,539 - INFO - taking picture
MAIN: 2025-04-14 08:10:07,540 - INFO - we take 200 photos in this while loop
MAIN: 2025-04-14 08:10:07,540 - INFO - /home/pi/Desktop/images/14042025/08/09/image_14042025_08_10_07_30263.jpg
MAIN: 2025-04-14 08:10:07,540 - INFO - duration: 0.7173535319998336
MAIN: 2025-04-14 08:10:07,541 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/10'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:10:37,209 - INFO - taking picture
MAIN: 2025-04-14 08:10:37,210 - INFO - we take 201 photos in this while loop
MAIN: 2025-04-14 08:10:37,210 - INFO - /home/pi/Desktop/images/14042025/08/10/image_14042025_08_10_36_29692.jpg
MAIN: 2025-04-14 08:10:37,210 - INFO - duration: 0.6955595189992891
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:11:05,804 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:11:07,100 - INFO - taking picture
MAIN: 2025-04-14 08:11:07,100 - INFO - we take 202 photos in this while loop
MAIN: 2025-04-14 08:11:07,101 - INFO - /home/pi/Desktop/images/14042025/08/10/image_14042025_08_11_06_29907.jpg
MAIN: 2025-04-14 08:11:07,101 - INFO - duration: 0.6788473289998365
MAIN: 2025-04-14 08:11:07,101 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/11'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:11:36,913 - INFO - taking picture
MAIN: 2025-04-14 08:11:36,914 - INFO - we take 203 photos in this while loop
MAIN: 2025-04-14 08:11:36,914 - INFO - /home/pi/Desktop/images/14042025/08/11/image_14042025_08_11_36_29787.jpg
MAIN: 2025-04-14 08:11:36,914 - INFO - duration: 0.705056691000209
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:12:06,598 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:12:07,095 - INFO - taking picture
MAIN: 2025-04-14 08:12:07,096 - INFO - we take 204 photos in this while loop
MAIN: 2025-04-14 08:12:07,096 - INFO - /home/pi/Desktop/images/14042025/08/11/image_14042025_08_12_06_30182.jpg
MAIN: 2025-04-14 08:12:07,096 - INFO - duration: 0.7038367879995349
MAIN: 2025-04-14 08:12:07,096 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/12'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:12:36,863 - INFO - taking picture
MAIN: 2025-04-14 08:12:36,864 - INFO - we take 205 photos in this while loop
MAIN: 2025-04-14 08:12:36,864 - INFO - /home/pi/Desktop/images/14042025/08/12/image_14042025_08_12_36_29774.jpg
MAIN: 2025-04-14 08:12:36,864 - INFO - duration: 0.6978933980008151
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:13:05,362 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:13:06,864 - INFO - taking picture
MAIN: 2025-04-14 08:13:06,865 - INFO - we take 206 photos in this while loop
MAIN: 2025-04-14 08:13:06,865 - INFO - /home/pi/Desktop/images/14042025/08/12/image_14042025_08_13_06_30034.jpg
MAIN: 2025-04-14 08:13:06,865 - INFO - duration: 0.6642497039993032
MAIN: 2025-04-14 08:13:06,866 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/13'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:13:36,645 - INFO - taking picture
MAIN: 2025-04-14 08:13:36,646 - INFO - we take 207 photos in this while loop
MAIN: 2025-04-14 08:13:36,646 - INFO - /home/pi/Desktop/images/14042025/08/13/image_14042025_08_13_36_29752.jpg
MAIN: 2025-04-14 08:13:36,646 - INFO - duration: 0.6926521379991755
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
MAIN: 2025-04-14 08:14:06,231 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:14:06,748 - INFO - taking picture
MAIN: 2025-04-14 08:14:06,749 - INFO - we take 208 photos in this while loop
MAIN: 2025-04-14 08:14:06,749 - INFO - /home/pi/Desktop/images/14042025/08/13/image_14042025_08_14_06_30097.jpg
MAIN: 2025-04-14 08:14:06,749 - INFO - duration: 0.6979644240000198
MAIN: 2025-04-14 08:14:06,750 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/14'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:14:36,642 - INFO - taking picture
MAIN: 2025-04-14 08:14:36,642 - INFO - we take 209 photos in this while loop
MAIN: 2025-04-14 08:14:36,642 - INFO - /home/pi/Desktop/images/14042025/08/14/image_14042025_08_14_36_29895.jpg
MAIN: 2025-04-14 08:14:36,643 - INFO - duration: 0.695645826001055
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:15:06,690 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 08:15:06,951 - INFO - taking picture
MAIN: 2025-04-14 08:15:06,951 - INFO - we take 210 photos in this while loop
MAIN: 2025-04-14 08:15:06,952 - INFO - /home/pi/Desktop/images/14042025/08/14/image_14042025_08_15_06_30282.jpg
MAIN: 2025-04-14 08:15:06,952 - INFO - duration: 0.7219018539999524
MAIN: 2025-04-14 08:15:06,952 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/15'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:15:36,513 - INFO - taking picture
MAIN: 2025-04-14 08:15:36,513 - INFO - we take 211 photos in this while loop
MAIN: 2025-04-14 08:15:36,513 - INFO - /home/pi/Desktop/images/14042025/08/15/image_14042025_08_15_36_29588.jpg
MAIN: 2025-04-14 08:15:36,514 - INFO - duration: 0.6949890989999403
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:16:05,542 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:16:06,343 - INFO - taking picture
MAIN: 2025-04-14 08:16:06,344 - INFO - we take 212 photos in this while loop
MAIN: 2025-04-14 08:16:06,344 - INFO - /home/pi/Desktop/images/14042025/08/15/image_14042025_08_16_05_29879.jpg
MAIN: 2025-04-14 08:16:06,344 - INFO - duration: 0.6453211430016381
MAIN: 2025-04-14 08:16:06,344 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/16'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:16:37,488 - INFO - taking picture
MAIN: 2025-04-14 08:16:37,488 - INFO - we take 213 photos in this while loop
MAIN: 2025-04-14 08:16:37,488 - INFO - /home/pi/Desktop/images/14042025/08/16/image_14042025_08_16_37_31091.jpg
MAIN: 2025-04-14 08:16:37,489 - INFO - duration: 0.6983790379999846
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:17:05,690 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:17:07,540 - INFO - taking picture
MAIN: 2025-04-14 08:17:07,541 - INFO - we take 214 photos in this while loop
MAIN: 2025-04-14 08:17:07,541 - INFO - /home/pi/Desktop/images/14042025/08/16/image_14042025_08_17_07_30052.jpg
MAIN: 2025-04-14 08:17:07,541 - INFO - duration: 0.6983976279989292
MAIN: 2025-04-14 08:17:07,542 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/17'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:17:37,499 - INFO - taking picture
MAIN: 2025-04-14 08:17:37,499 - INFO - we take 215 photos in this while loop
MAIN: 2025-04-14 08:17:37,500 - INFO - /home/pi/Desktop/images/14042025/08/17/image_14042025_08_17_37_29955.jpg
MAIN: 2025-04-14 08:17:37,500 - INFO - duration: 0.7014659050000773
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
MAIN: 2025-04-14 08:18:06,118 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:18:06,543 - INFO - taking picture
MAIN: 2025-04-14 08:18:06,543 - INFO - we take 216 photos in this while loop
MAIN: 2025-04-14 08:18:06,544 - INFO - /home/pi/Desktop/images/14042025/08/17/image_14042025_08_18_06_29029.jpg
MAIN: 2025-04-14 08:18:06,544 - INFO - duration: 0.7161153230008495
MAIN: 2025-04-14 08:18:06,544 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/18'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:18:36,471 - INFO - taking picture
MAIN: 2025-04-14 08:18:36,472 - INFO - we take 217 photos in this while loop
MAIN: 2025-04-14 08:18:36,472 - INFO - /home/pi/Desktop/images/14042025/08/18/image_14042025_08_18_36_29928.jpg
MAIN: 2025-04-14 08:18:36,472 - INFO - duration: 0.7153726119995554
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:19:06,005 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:19:06,751 - INFO - taking picture
MAIN: 2025-04-14 08:19:06,751 - INFO - we take 218 photos in this while loop
MAIN: 2025-04-14 08:19:06,751 - INFO - /home/pi/Desktop/images/14042025/08/18/image_14042025_08_19_06_30339.jpg
MAIN: 2025-04-14 08:19:06,752 - INFO - duration: 0.6553068489993166
MAIN: 2025-04-14 08:19:06,752 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/19'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:19:36,741 - INFO - taking picture
MAIN: 2025-04-14 08:19:36,742 - INFO - we take 219 photos in this while loop
MAIN: 2025-04-14 08:19:36,742 - INFO - /home/pi/Desktop/images/14042025/08/19/image_14042025_08_19_36_29950.jpg
MAIN: 2025-04-14 08:19:36,742 - INFO - duration: 0.6957539160011947
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:20:07,007 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 08:20:07,428 - INFO - taking picture
MAIN: 2025-04-14 08:20:07,428 - INFO - we take 220 photos in this while loop
MAIN: 2025-04-14 08:20:07,429 - INFO - /home/pi/Desktop/images/14042025/08/19/image_14042025_08_20_06_30659.jpg
MAIN: 2025-04-14 08:20:07,429 - INFO - duration: 0.7226931739987776
MAIN: 2025-04-14 08:20:07,429 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/20'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:20:37,300 - INFO - taking picture
MAIN: 2025-04-14 08:20:37,300 - INFO - we take 221 photos in this while loop
MAIN: 2025-04-14 08:20:37,301 - INFO - /home/pi/Desktop/images/14042025/08/20/image_14042025_08_20_36_29897.jpg
MAIN: 2025-04-14 08:20:37,301 - INFO - duration: 0.6973128160007036
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:21:05,696 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:21:06,357 - INFO - taking picture
MAIN: 2025-04-14 08:21:06,358 - INFO - we take 222 photos in this while loop
MAIN: 2025-04-14 08:21:06,358 - INFO - /home/pi/Desktop/images/14042025/08/20/image_14042025_08_21_05_29096.jpg
MAIN: 2025-04-14 08:21:06,358 - INFO - duration: 0.6586391300006653
MAIN: 2025-04-14 08:21:06,359 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/21'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:21:36,491 - INFO - taking picture
MAIN: 2025-04-14 08:21:36,492 - INFO - we take 223 photos in this while loop
MAIN: 2025-04-14 08:21:36,492 - INFO - /home/pi/Desktop/images/14042025/08/21/image_14042025_08_21_36_30098.jpg
MAIN: 2025-04-14 08:21:36,492 - INFO - duration: 0.6946977610004978
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:22:05,912 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:22:06,694 - INFO - taking picture
MAIN: 2025-04-14 08:22:06,695 - INFO - we take 224 photos in this while loop
MAIN: 2025-04-14 08:22:06,695 - INFO - /home/pi/Desktop/images/14042025/08/21/image_14042025_08_22_06_30221.jpg
MAIN: 2025-04-14 08:22:06,695 - INFO - duration: 0.6753615680008807
MAIN: 2025-04-14 08:22:06,695 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/22'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:22:36,791 - INFO - taking picture
MAIN: 2025-04-14 08:22:36,792 - INFO - we take 225 photos in this while loop
MAIN: 2025-04-14 08:22:36,792 - INFO - /home/pi/Desktop/images/14042025/08/22/image_14042025_08_22_36_30053.jpg
MAIN: 2025-04-14 08:22:36,792 - INFO - duration: 0.7187158209999325
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:23:05,562 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:23:06,835 - INFO - taking picture
MAIN: 2025-04-14 08:23:06,836 - INFO - we take 226 photos in this while loop
MAIN: 2025-04-14 08:23:06,836 - INFO - /home/pi/Desktop/images/14042025/08/22/image_14042025_08_23_06_30077.jpg
MAIN: 2025-04-14 08:23:06,836 - INFO - duration: 0.6854542700002639
MAIN: 2025-04-14 08:23:06,837 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/23'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:23:36,855 - INFO - taking picture
MAIN: 2025-04-14 08:23:36,856 - INFO - we take 227 photos in this while loop
MAIN: 2025-04-14 08:23:36,856 - INFO - /home/pi/Desktop/images/14042025/08/23/image_14042025_08_23_36_30005.jpg
MAIN: 2025-04-14 08:23:36,856 - INFO - duration: 0.699576500999683
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:24:05,937 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:24:07,077 - INFO - taking picture
MAIN: 2025-04-14 08:24:07,077 - INFO - we take 228 photos in this while loop
MAIN: 2025-04-14 08:24:07,077 - INFO - /home/pi/Desktop/images/14042025/08/23/image_14042025_08_24_06_30219.jpg
MAIN: 2025-04-14 08:24:07,078 - INFO - duration: 0.7017766029985069
MAIN: 2025-04-14 08:24:07,078 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/24'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:24:37,134 - INFO - taking picture
MAIN: 2025-04-14 08:24:37,135 - INFO - we take 229 photos in this while loop
MAIN: 2025-04-14 08:24:37,135 - INFO - /home/pi/Desktop/images/14042025/08/24/image_14042025_08_24_36_30097.jpg
MAIN: 2025-04-14 08:24:37,135 - INFO - duration: 0.6616974509997817
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:25:05,607 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:25:07,504 - INFO - taking picture
MAIN: 2025-04-14 08:25:07,504 - INFO - we take 230 photos in this while loop
MAIN: 2025-04-14 08:25:07,504 - INFO - /home/pi/Desktop/images/14042025/08/24/image_14042025_08_25_07_30331.jpg
MAIN: 2025-04-14 08:25:07,505 - INFO - duration: 0.6996778520006046
MAIN: 2025-04-14 08:25:07,505 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/25'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:25:36,322 - INFO - taking picture
MAIN: 2025-04-14 08:25:36,323 - INFO - we take 231 photos in this while loop
MAIN: 2025-04-14 08:25:36,323 - INFO - /home/pi/Desktop/images/14042025/08/25/image_14042025_08_25_35_28850.jpg
MAIN: 2025-04-14 08:25:36,323 - INFO - duration: 0.6673649459989974
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:26:06,465 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:26:07,095 - INFO - taking picture
MAIN: 2025-04-14 08:26:07,095 - INFO - we take 232 photos in this while loop
MAIN: 2025-04-14 08:26:07,096 - INFO - /home/pi/Desktop/images/14042025/08/25/image_14042025_08_26_06_30708.jpg
MAIN: 2025-04-14 08:26:07,096 - INFO - duration: 0.7315406489997258
MAIN: 2025-04-14 08:26:07,096 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/26'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:26:37,194 - INFO - taking picture
MAIN: 2025-04-14 08:26:37,195 - INFO - we take 233 photos in this while loop
MAIN: 2025-04-14 08:26:37,195 - INFO - /home/pi/Desktop/images/14042025/08/26/image_14042025_08_26_36_30113.jpg
MAIN: 2025-04-14 08:26:37,195 - INFO - duration: 0.7168708089993743
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:27:05,338 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:27:07,480 - INFO - taking picture
MAIN: 2025-04-14 08:27:07,481 - INFO - we take 234 photos in this while loop
MAIN: 2025-04-14 08:27:07,481 - INFO - /home/pi/Desktop/images/14042025/08/26/image_14042025_08_27_07_30284.jpg
MAIN: 2025-04-14 08:27:07,481 - INFO - duration: 0.7186248699999851
MAIN: 2025-04-14 08:27:07,482 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/27'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:27:37,562 - INFO - taking picture
MAIN: 2025-04-14 08:27:37,562 - INFO - we take 235 photos in this while loop
MAIN: 2025-04-14 08:27:37,563 - INFO - /home/pi/Desktop/images/14042025/08/27/image_14042025_08_27_37_30083.jpg
MAIN: 2025-04-14 08:27:37,563 - INFO - duration: 0.7167268489993148
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:28:05,531 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:28:06,565 - INFO - taking picture
MAIN: 2025-04-14 08:28:06,565 - INFO - we take 236 photos in this while loop
MAIN: 2025-04-14 08:28:06,566 - INFO - /home/pi/Desktop/images/14042025/08/27/image_14042025_08_28_06_29058.jpg
MAIN: 2025-04-14 08:28:06,566 - INFO - duration: 0.6606908809990273
MAIN: 2025-04-14 08:28:06,566 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/28'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:28:36,703 - INFO - taking picture
MAIN: 2025-04-14 08:28:36,704 - INFO - we take 237 photos in this while loop
MAIN: 2025-04-14 08:28:36,704 - INFO - /home/pi/Desktop/images/14042025/08/28/image_14042025_08_28_36_30099.jpg
MAIN: 2025-04-14 08:28:36,704 - INFO - duration: 0.6996853950004152
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:29:05,580 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:29:07,012 - INFO - taking picture
MAIN: 2025-04-14 08:29:07,013 - INFO - we take 238 photos in this while loop
MAIN: 2025-04-14 08:29:07,013 - INFO - /home/pi/Desktop/images/14042025/08/28/image_14042025_08_29_06_30285.jpg
MAIN: 2025-04-14 08:29:07,013 - INFO - duration: 0.7233709579995775
MAIN: 2025-04-14 08:29:07,014 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/29'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:29:37,144 - INFO - taking picture
MAIN: 2025-04-14 08:29:37,145 - INFO - we take 239 photos in this while loop
MAIN: 2025-04-14 08:29:37,145 - INFO - /home/pi/Desktop/images/14042025/08/29/image_14042025_08_29_36_30162.jpg
MAIN: 2025-04-14 08:29:37,145 - INFO - duration: 0.6924689549996401
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:30:06,708 - INFO - taking picture
MAIN: 2025-04-14 08:30:06,709 - INFO - we take 240 photos in this while loop
MAIN: 2025-04-14 08:30:06,709 - INFO - /home/pi/Desktop/images/14042025/08/29/image_14042025_08_30_06_29543.jpg
MAIN: 2025-04-14 08:30:06,709 - INFO - duration: 0.713561540000228
MAIN: 2025-04-14 08:30:06,709 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/30'
MAIN: 2025-04-14 08:30:06,880 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:30:36,946 - INFO - taking picture
MAIN: 2025-04-14 08:30:36,947 - INFO - we take 241 photos in this while loop
MAIN: 2025-04-14 08:30:36,947 - INFO - /home/pi/Desktop/images/14042025/08/30/image_14042025_08_30_36_30234.jpg
MAIN: 2025-04-14 08:30:36,947 - INFO - duration: 0.7178444319997652
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:31:05,838 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:31:07,167 - INFO - taking picture
MAIN: 2025-04-14 08:31:07,167 - INFO - we take 242 photos in this while loop
MAIN: 2025-04-14 08:31:07,167 - INFO - /home/pi/Desktop/images/14042025/08/30/image_14042025_08_31_06_30233.jpg
MAIN: 2025-04-14 08:31:07,168 - INFO - duration: 0.7046813839988317
MAIN: 2025-04-14 08:31:07,168 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/31'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:31:37,460 - INFO - taking picture
MAIN: 2025-04-14 08:31:37,461 - INFO - we take 243 photos in this while loop
MAIN: 2025-04-14 08:31:37,461 - INFO - /home/pi/Desktop/images/14042025/08/31/image_14042025_08_31_37_30299.jpg
MAIN: 2025-04-14 08:31:37,461 - INFO - duration: 0.6985200060007628
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:32:06,537 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 08:32:06,911 - INFO - taking picture
MAIN: 2025-04-14 08:32:06,912 - INFO - we take 244 photos in this while loop
MAIN: 2025-04-14 08:32:06,912 - INFO - /home/pi/Desktop/images/14042025/08/31/image_14042025_08_32_06_29423.jpg
MAIN: 2025-04-14 08:32:06,912 - INFO - duration: 0.7257774379995681
MAIN: 2025-04-14 08:32:06,913 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/32'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:32:37,168 - INFO - taking picture
MAIN: 2025-04-14 08:32:37,169 - INFO - we take 245 photos in this while loop
MAIN: 2025-04-14 08:32:37,169 - INFO - /home/pi/Desktop/images/14042025/08/32/image_14042025_08_32_36_30245.jpg
MAIN: 2025-04-14 08:32:37,169 - INFO - duration: 0.7368267429992557
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:33:06,023 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:33:07,451 - INFO - taking picture
MAIN: 2025-04-14 08:33:07,452 - INFO - we take 246 photos in this while loop
MAIN: 2025-04-14 08:33:07,452 - INFO - /home/pi/Desktop/images/14042025/08/32/image_14042025_08_33_07_30290.jpg
MAIN: 2025-04-14 08:33:07,452 - INFO - duration: 0.7302279720006482
MAIN: 2025-04-14 08:33:07,453 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/33'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:33:37,479 - INFO - taking picture
MAIN: 2025-04-14 08:33:37,479 - INFO - we take 247 photos in this while loop
MAIN: 2025-04-14 08:33:37,480 - INFO - /home/pi/Desktop/images/14042025/08/33/image_14042025_08_33_37_30051.jpg
MAIN: 2025-04-14 08:33:37,480 - INFO - duration: 0.7056650340000488
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:34:06,726 - INFO - taking picture
MAIN: 2025-04-14 08:34:06,727 - INFO - we take 248 photos in this while loop
MAIN: 2025-04-14 08:34:06,727 - INFO - /home/pi/Desktop/images/14042025/08/33/image_14042025_08_34_06_29291.jpg
MAIN: 2025-04-14 08:34:06,727 - INFO - duration: 0.6612206889985828
MAIN: 2025-04-14 08:34:06,727 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/34'
MAIN: 2025-04-14 08:34:06,740 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:34:36,847 - INFO - taking picture
MAIN: 2025-04-14 08:34:36,847 - INFO - we take 249 photos in this while loop
MAIN: 2025-04-14 08:34:36,847 - INFO - /home/pi/Desktop/images/14042025/08/34/image_14042025_08_34_36_30051.jpg
MAIN: 2025-04-14 08:34:36,848 - INFO - duration: 0.7304426070004411
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:35:06,159 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:35:07,582 - INFO - taking picture
MAIN: 2025-04-14 08:35:07,582 - INFO - we take 250 photos in this while loop
MAIN: 2025-04-14 08:35:07,582 - INFO - /home/pi/Desktop/images/14042025/08/34/image_14042025_08_35_07_30752.jpg
MAIN: 2025-04-14 08:35:07,583 - INFO - duration: 0.7127621740000905
MAIN: 2025-04-14 08:35:07,583 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/35'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:35:36,526 - INFO - taking picture
MAIN: 2025-04-14 08:35:36,527 - INFO - we take 251 photos in this while loop
MAIN: 2025-04-14 08:35:36,527 - INFO - /home/pi/Desktop/images/14042025/08/35/image_14042025_08_35_36_28932.jpg
MAIN: 2025-04-14 08:35:36,527 - INFO - duration: 0.7245720560003974
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:36:06,203 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:36:06,961 - INFO - taking picture
MAIN: 2025-04-14 08:36:06,962 - INFO - we take 252 photos in this while loop
MAIN: 2025-04-14 08:36:06,962 - INFO - /home/pi/Desktop/images/14042025/08/35/image_14042025_08_36_06_30483.jpg
MAIN: 2025-04-14 08:36:06,962 - INFO - duration: 0.6753536560008797
MAIN: 2025-04-14 08:36:06,963 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/36'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:36:37,320 - INFO - taking picture
MAIN: 2025-04-14 08:36:37,320 - INFO - we take 253 photos in this while loop
MAIN: 2025-04-14 08:36:37,321 - INFO - /home/pi/Desktop/images/14042025/08/36/image_14042025_08_36_36_30309.jpg
MAIN: 2025-04-14 08:36:37,321 - INFO - duration: 0.7241273939998791
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:37:06,300 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 08:37:06,665 - INFO - taking picture
MAIN: 2025-04-14 08:37:06,665 - INFO - we take 254 photos in this while loop
MAIN: 2025-04-14 08:37:06,666 - INFO - /home/pi/Desktop/images/14042025/08/36/image_14042025_08_37_06_29352.jpg
MAIN: 2025-04-14 08:37:06,666 - INFO - duration: 0.7166851950005366
MAIN: 2025-04-14 08:37:06,666 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/37'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:37:36,663 - INFO - taking picture
MAIN: 2025-04-14 08:37:36,663 - INFO - we take 255 photos in this while loop
MAIN: 2025-04-14 08:37:36,664 - INFO - /home/pi/Desktop/images/14042025/08/37/image_14042025_08_37_36_29999.jpg
MAIN: 2025-04-14 08:37:36,664 - INFO - duration: 0.715256588999182
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:38:05,841 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:38:07,399 - INFO - taking picture
MAIN: 2025-04-14 08:38:07,400 - INFO - we take 256 photos in this while loop
MAIN: 2025-04-14 08:38:07,400 - INFO - /home/pi/Desktop/images/14042025/08/37/image_14042025_08_38_07_30721.jpg
MAIN: 2025-04-14 08:38:07,400 - INFO - duration: 0.7301509530007024
MAIN: 2025-04-14 08:38:07,401 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/38'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:38:36,411 - INFO - taking picture
MAIN: 2025-04-14 08:38:36,411 - INFO - we take 257 photos in this while loop
MAIN: 2025-04-14 08:38:36,411 - INFO - /home/pi/Desktop/images/14042025/08/38/image_14042025_08_38_36_29068.jpg
MAIN: 2025-04-14 08:38:36,412 - INFO - duration: 0.6731896449982742
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:39:05,392 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:39:06,695 - INFO - taking picture
MAIN: 2025-04-14 08:39:06,696 - INFO - we take 258 photos in this while loop
MAIN: 2025-04-14 08:39:06,696 - INFO - /home/pi/Desktop/images/14042025/08/38/image_14042025_08_39_06_30238.jpg
MAIN: 2025-04-14 08:39:06,696 - INFO - duration: 0.7192859860006138
MAIN: 2025-04-14 08:39:06,697 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/39'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:39:36,990 - INFO - taking picture
MAIN: 2025-04-14 08:39:36,991 - INFO - we take 259 photos in this while loop
MAIN: 2025-04-14 08:39:36,991 - INFO - /home/pi/Desktop/images/14042025/08/39/image_14042025_08_39_36_30278.jpg
MAIN: 2025-04-14 08:39:36,991 - INFO - duration: 0.7361331629999768
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:40:06,327 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:40:06,964 - INFO - taking picture
MAIN: 2025-04-14 08:40:06,964 - INFO - we take 260 photos in this while loop
MAIN: 2025-04-14 08:40:06,965 - INFO - /home/pi/Desktop/images/14042025/08/39/image_14042025_08_40_06_29899.jpg
MAIN: 2025-04-14 08:40:06,965 - INFO - duration: 0.8102625230003468
MAIN: 2025-04-14 08:40:06,965 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/40'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:40:36,405 - INFO - taking picture
MAIN: 2025-04-14 08:40:36,405 - INFO - we take 261 photos in this while loop
MAIN: 2025-04-14 08:40:36,406 - INFO - /home/pi/Desktop/images/14042025/08/40/image_14042025_08_40_35_29467.jpg
MAIN: 2025-04-14 08:40:36,406 - INFO - duration: 0.7831943389992375
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:41:05,753 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=29 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:41:07,600 - INFO - taking picture
MAIN: 2025-04-14 08:41:07,601 - INFO - we take 262 photos in this while loop
MAIN: 2025-04-14 08:41:07,601 - INFO - /home/pi/Desktop/images/14042025/08/40/image_14042025_08_41_07_31192.jpg
MAIN: 2025-04-14 08:41:07,601 - INFO - duration: 0.7856827679988783
MAIN: 2025-04-14 08:41:07,602 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/41'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=29 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:41:37,241 - INFO - taking picture
MAIN: 2025-04-14 08:41:37,242 - INFO - we take 263 photos in this while loop
MAIN: 2025-04-14 08:41:37,242 - INFO - /home/pi/Desktop/images/14042025/08/41/image_14042025_08_41_36_29665.jpg
MAIN: 2025-04-14 08:41:37,242 - INFO - duration: 0.7615453679991333
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:42:06,754 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=29 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:42:07,548 - INFO - taking picture
MAIN: 2025-04-14 08:42:07,549 - INFO - we take 264 photos in this while loop
MAIN: 2025-04-14 08:42:07,549 - INFO - /home/pi/Desktop/images/14042025/08/41/image_14042025_08_42_07_30290.jpg
MAIN: 2025-04-14 08:42:07,549 - INFO - duration: 0.7783511390007334
MAIN: 2025-04-14 08:42:07,549 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/42'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=29 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:42:37,371 - INFO - taking picture
MAIN: 2025-04-14 08:42:37,371 - INFO - we take 265 photos in this while loop
MAIN: 2025-04-14 08:42:37,372 - INFO - /home/pi/Desktop/images/14042025/08/42/image_14042025_08_42_36_29820.jpg
MAIN: 2025-04-14 08:42:37,372 - INFO - duration: 0.780324882000059
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:43:06,220 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:43:07,242 - INFO - taking picture
MAIN: 2025-04-14 08:43:07,243 - INFO - we take 266 photos in this while loop
MAIN: 2025-04-14 08:43:07,243 - INFO - /home/pi/Desktop/images/14042025/08/42/image_14042025_08_43_06_29941.jpg
MAIN: 2025-04-14 08:43:07,243 - INFO - duration: 0.7107978040003218
MAIN: 2025-04-14 08:43:07,244 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/43'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:43:37,629 - INFO - taking picture
MAIN: 2025-04-14 08:43:37,629 - INFO - we take 267 photos in this while loop
MAIN: 2025-04-14 08:43:37,629 - INFO - /home/pi/Desktop/images/14042025/08/43/image_14042025_08_43_37_30359.jpg
MAIN: 2025-04-14 08:43:37,630 - INFO - duration: 0.73731003300054
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:44:05,619 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:44:06,971 - INFO - taking picture
MAIN: 2025-04-14 08:44:06,972 - INFO - we take 268 photos in this while loop
MAIN: 2025-04-14 08:44:06,972 - INFO - /home/pi/Desktop/images/14042025/08/43/image_14042025_08_44_06_29350.jpg
MAIN: 2025-04-14 08:44:06,972 - INFO - duration: 0.7294387269994331
MAIN: 2025-04-14 08:44:06,973 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/44'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:44:36,601 - INFO - taking picture
MAIN: 2025-04-14 08:44:36,602 - INFO - we take 269 photos in this while loop
MAIN: 2025-04-14 08:44:36,602 - INFO - /home/pi/Desktop/images/14042025/08/44/image_14042025_08_44_36_29627.jpg
MAIN: 2025-04-14 08:44:36,602 - INFO - duration: 0.731766951001191
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:45:05,891 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:45:07,533 - INFO - taking picture
MAIN: 2025-04-14 08:45:07,534 - INFO - we take 270 photos in this while loop
MAIN: 2025-04-14 08:45:07,534 - INFO - /home/pi/Desktop/images/14042025/08/44/image_14042025_08_45_07_30925.jpg
MAIN: 2025-04-14 08:45:07,534 - INFO - duration: 0.7382088199992722
MAIN: 2025-04-14 08:45:07,535 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/45'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:45:36,466 - INFO - taking picture
MAIN: 2025-04-14 08:45:36,467 - INFO - we take 271 photos in this while loop
MAIN: 2025-04-14 08:45:36,467 - INFO - /home/pi/Desktop/images/14042025/08/45/image_14042025_08_45_36_28942.jpg
MAIN: 2025-04-14 08:45:36,467 - INFO - duration: 0.7280957440016209
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:46:06,034 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:46:06,803 - INFO - taking picture
MAIN: 2025-04-14 08:46:06,803 - INFO - we take 272 photos in this while loop
MAIN: 2025-04-14 08:46:06,803 - INFO - /home/pi/Desktop/images/14042025/08/45/image_14042025_08_46_06_30369.jpg
MAIN: 2025-04-14 08:46:06,804 - INFO - duration: 0.695235955001408
MAIN: 2025-04-14 08:46:06,804 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/46'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=81 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:46:37,145 - INFO - taking picture
MAIN: 2025-04-14 08:46:37,146 - INFO - we take 273 photos in this while loop
MAIN: 2025-04-14 08:46:37,146 - INFO - /home/pi/Desktop/images/14042025/08/46/image_14042025_08_46_36_30317.jpg
MAIN: 2025-04-14 08:46:37,146 - INFO - duration: 0.7197338109999691
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:47:06,228 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:47:07,189 - INFO - taking picture
MAIN: 2025-04-14 08:47:07,190 - INFO - we take 274 photos in this while loop
MAIN: 2025-04-14 08:47:07,190 - INFO - /home/pi/Desktop/images/14042025/08/46/image_14042025_08_47_06_30029.jpg
MAIN: 2025-04-14 08:47:07,190 - INFO - duration: 0.7340171380001266
MAIN: 2025-04-14 08:47:07,190 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/47'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:47:36,885 - INFO - taking picture
MAIN: 2025-04-14 08:47:36,886 - INFO - we take 275 photos in this while loop
MAIN: 2025-04-14 08:47:36,886 - INFO - /home/pi/Desktop/images/14042025/08/47/image_14042025_08_47_36_29668.jpg
MAIN: 2025-04-14 08:47:36,886 - INFO - duration: 0.7613320760010538
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:48:06,322 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:48:07,220 - INFO - taking picture
MAIN: 2025-04-14 08:48:07,220 - INFO - we take 276 photos in this while loop
MAIN: 2025-04-14 08:48:07,220 - INFO - /home/pi/Desktop/images/14042025/08/47/image_14042025_08_48_06_30362.jpg
MAIN: 2025-04-14 08:48:07,221 - INFO - duration: 0.733548537000388
MAIN: 2025-04-14 08:48:07,221 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/48'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=37 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:48:36,859 - INFO - taking picture
MAIN: 2025-04-14 08:48:36,860 - INFO - we take 277 photos in this while loop
MAIN: 2025-04-14 08:48:36,860 - INFO - /home/pi/Desktop/images/14042025/08/48/image_14042025_08_48_36_29597.jpg
MAIN: 2025-04-14 08:48:36,860 - INFO - duration: 0.7756170140000904
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:49:05,332 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=30 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:49:07,435 - INFO - taking picture
MAIN: 2025-04-14 08:49:07,436 - INFO - we take 278 photos in this while loop
MAIN: 2025-04-14 08:49:07,436 - INFO - /home/pi/Desktop/images/14042025/08/48/image_14042025_08_49_07_30620.jpg
MAIN: 2025-04-14 08:49:07,436 - INFO - duration: 0.7314066039998579
MAIN: 2025-04-14 08:49:07,437 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/49'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=30 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:49:36,407 - INFO - taking picture
MAIN: 2025-04-14 08:49:36,408 - INFO - we take 279 photos in this while loop
MAIN: 2025-04-14 08:49:36,408 - INFO - /home/pi/Desktop/images/14042025/08/49/image_14042025_08_49_36_28966.jpg
MAIN: 2025-04-14 08:49:36,408 - INFO - duration: 0.7365075899997464
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:50:06,202 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=13 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:50:07,422 - INFO - taking picture
MAIN: 2025-04-14 08:50:07,423 - INFO - we take 280 photos in this while loop
MAIN: 2025-04-14 08:50:07,423 - INFO - /home/pi/Desktop/images/14042025/08/49/image_14042025_08_50_06_30999.jpg
MAIN: 2025-04-14 08:50:07,423 - INFO - duration: 0.7520665930005634
MAIN: 2025-04-14 08:50:07,424 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/50'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:50:36,823 - INFO - taking picture
MAIN: 2025-04-14 08:50:36,824 - INFO - we take 281 photos in this while loop
MAIN: 2025-04-14 08:50:36,824 - INFO - /home/pi/Desktop/images/14042025/08/50/image_14042025_08_50_36_29379.jpg
MAIN: 2025-04-14 08:50:36,824 - INFO - duration: 0.7733330959999876
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:51:05,867 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:51:06,433 - INFO - taking picture
MAIN: 2025-04-14 08:51:06,433 - INFO - we take 282 photos in this while loop
MAIN: 2025-04-14 08:51:06,433 - INFO - /home/pi/Desktop/images/14042025/08/50/image_14042025_08_51_06_29630.jpg
MAIN: 2025-04-14 08:51:06,434 - INFO - duration: 0.752407474001302
MAIN: 2025-04-14 08:51:06,434 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/51'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:51:36,908 - INFO - taking picture
MAIN: 2025-04-14 08:51:36,909 - INFO - we take 283 photos in this while loop
MAIN: 2025-04-14 08:51:36,909 - INFO - /home/pi/Desktop/images/14042025/08/51/image_14042025_08_51_36_30489.jpg
MAIN: 2025-04-14 08:51:36,909 - INFO - duration: 0.7385095589997945
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:52:06,541 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:52:07,476 - INFO - taking picture
MAIN: 2025-04-14 08:52:07,477 - INFO - we take 284 photos in this while loop
MAIN: 2025-04-14 08:52:07,477 - INFO - /home/pi/Desktop/images/14042025/08/51/image_14042025_08_52_07_30630.jpg
MAIN: 2025-04-14 08:52:07,477 - INFO - duration: 0.6761188950003998
MAIN: 2025-04-14 08:52:07,478 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/52'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:52:36,488 - INFO - taking picture
MAIN: 2025-04-14 08:52:36,488 - INFO - we take 285 photos in this while loop
MAIN: 2025-04-14 08:52:36,488 - INFO - /home/pi/Desktop/images/14042025/08/52/image_14042025_08_52_36_28948.jpg
MAIN: 2025-04-14 08:52:36,489 - INFO - duration: 0.7386517939994519
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:53:06,206 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:53:07,037 - INFO - taking picture
MAIN: 2025-04-14 08:53:07,038 - INFO - we take 286 photos in this while loop
MAIN: 2025-04-14 08:53:07,038 - INFO - /home/pi/Desktop/images/14042025/08/52/image_14042025_08_53_06_30609.jpg
MAIN: 2025-04-14 08:53:07,038 - INFO - duration: 0.6785784210005659
MAIN: 2025-04-14 08:53:07,038 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/53'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:53:37,295 - INFO - taking picture
MAIN: 2025-04-14 08:53:37,296 - INFO - we take 287 photos in this while loop
MAIN: 2025-04-14 08:53:37,296 - INFO - /home/pi/Desktop/images/14042025/08/53/image_14042025_08_53_36_30209.jpg
MAIN: 2025-04-14 08:53:37,296 - INFO - duration: 0.727582834999339
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:54:05,651 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:54:06,444 - INFO - taking picture
MAIN: 2025-04-14 08:54:06,444 - INFO - we take 288 photos in this while loop
MAIN: 2025-04-14 08:54:06,445 - INFO - /home/pi/Desktop/images/14042025/08/53/image_14042025_08_54_06_29198.jpg
MAIN: 2025-04-14 08:54:06,445 - INFO - duration: 0.6778027410000504
MAIN: 2025-04-14 08:54:06,445 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/54'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:54:36,739 - INFO - taking picture
MAIN: 2025-04-14 08:54:36,740 - INFO - we take 289 photos in this while loop
MAIN: 2025-04-14 08:54:36,740 - INFO - /home/pi/Desktop/images/14042025/08/54/image_14042025_08_54_36_30230.jpg
MAIN: 2025-04-14 08:54:36,740 - INFO - duration: 0.742077203000008
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:55:05,960 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:55:07,471 - INFO - taking picture
MAIN: 2025-04-14 08:55:07,472 - INFO - we take 290 photos in this while loop
MAIN: 2025-04-14 08:55:07,473 - INFO - /home/pi/Desktop/images/14042025/08/54/image_14042025_08_55_07_30758.jpg
MAIN: 2025-04-14 08:55:07,473 - INFO - duration: 0.716883458000666
MAIN: 2025-04-14 08:55:07,474 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/55'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:55:36,447 - INFO - taking picture
MAIN: 2025-04-14 08:55:36,447 - INFO - we take 291 photos in this while loop
MAIN: 2025-04-14 08:55:36,448 - INFO - /home/pi/Desktop/images/14042025/08/55/image_14042025_08_55_36_29021.jpg
MAIN: 2025-04-14 08:55:36,448 - INFO - duration: 0.6702270109999517
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:56:05,582 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:56:06,894 - INFO - taking picture
MAIN: 2025-04-14 08:56:06,895 - INFO - we take 292 photos in this while loop
MAIN: 2025-04-14 08:56:06,895 - INFO - /home/pi/Desktop/images/14042025/08/55/image_14042025_08_56_06_30399.jpg
MAIN: 2025-04-14 08:56:06,895 - INFO - duration: 0.7179115800008731
MAIN: 2025-04-14 08:56:06,896 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/56'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:56:37,073 - INFO - taking picture
MAIN: 2025-04-14 08:56:37,073 - INFO - we take 293 photos in this while loop
MAIN: 2025-04-14 08:56:37,073 - INFO - /home/pi/Desktop/images/14042025/08/56/image_14042025_08_56_36_30172.jpg
MAIN: 2025-04-14 08:56:37,074 - INFO - duration: 0.7237381400009326
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:57:06,106 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 08:57:06,486 - INFO - taking picture
MAIN: 2025-04-14 08:57:06,487 - INFO - we take 294 photos in this while loop
MAIN: 2025-04-14 08:57:06,487 - INFO - /home/pi/Desktop/images/14042025/08/56/image_14042025_08_57_06_29401.jpg
MAIN: 2025-04-14 08:57:06,487 - INFO - duration: 0.7361798540005111
MAIN: 2025-04-14 08:57:06,488 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/57'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:57:36,847 - INFO - taking picture
MAIN: 2025-04-14 08:57:36,847 - INFO - we take 295 photos in this while loop
MAIN: 2025-04-14 08:57:36,847 - INFO - /home/pi/Desktop/images/14042025/08/57/image_14042025_08_57_36_30356.jpg
MAIN: 2025-04-14 08:57:36,848 - INFO - duration: 0.7404017780008871
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:58:06,590 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:58:07,274 - INFO - taking picture
MAIN: 2025-04-14 08:58:07,275 - INFO - we take 296 photos in this while loop
MAIN: 2025-04-14 08:58:07,275 - INFO - /home/pi/Desktop/images/14042025/08/57/image_14042025_08_58_06_30449.jpg
MAIN: 2025-04-14 08:58:07,275 - INFO - duration: 0.7183865750012046
MAIN: 2025-04-14 08:58:07,275 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/58'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:58:37,567 - INFO - taking picture
MAIN: 2025-04-14 08:58:37,568 - INFO - we take 297 photos in this while loop
MAIN: 2025-04-14 08:58:37,568 - INFO - /home/pi/Desktop/images/14042025/08/58/image_14042025_08_58_37_30284.jpg
MAIN: 2025-04-14 08:58:37,568 - INFO - duration: 0.726602353999624
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 08:59:05,845 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:59:06,635 - INFO - taking picture
MAIN: 2025-04-14 08:59:06,635 - INFO - we take 298 photos in this while loop
MAIN: 2025-04-14 08:59:06,636 - INFO - /home/pi/Desktop/images/14042025/08/58/image_14042025_08_59_06_29114.jpg
MAIN: 2025-04-14 08:59:06,636 - INFO - duration: 0.679674344999512
MAIN: 2025-04-14 08:59:06,636 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/08/59'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 08:59:36,751 - INFO - taking picture
MAIN: 2025-04-14 08:59:36,752 - INFO - we take 299 photos in this while loop
MAIN: 2025-04-14 08:59:36,752 - INFO - /home/pi/Desktop/images/14042025/08/59/image_14042025_08_59_36_30123.jpg
MAIN: 2025-04-14 08:59:36,752 - INFO - duration: 0.6725915850001911
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:00:06,535 - INFO - taking picture
MAIN: 2025-04-14 09:00:06,536 - INFO - we take 300 photos in this while loop
MAIN: 2025-04-14 09:00:06,536 - INFO - /home/pi/Desktop/images/14042025/08/59/image_14042025_09_00_06_29729.jpg
MAIN: 2025-04-14 09:00:06,537 - INFO - duration: 0.7274735480004892
MAIN: 2025-04-14 09:00:06,538 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/00'
MAIN: 2025-04-14 09:00:06,779 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:00:36,820 - INFO - taking picture
MAIN: 2025-04-14 09:00:36,821 - INFO - we take 301 photos in this while loop
MAIN: 2025-04-14 09:00:36,821 - INFO - /home/pi/Desktop/images/14042025/09/00/image_14042025_09_00_36_30268.jpg
MAIN: 2025-04-14 09:00:36,821 - INFO - duration: 0.74367145999895
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:01:05,593 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=112 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:01:07,628 - INFO - taking picture
MAIN: 2025-04-14 09:01:07,629 - INFO - we take 302 photos in this while loop
MAIN: 2025-04-14 09:01:07,629 - INFO - /home/pi/Desktop/images/14042025/09/00/image_14042025_09_01_07_30821.jpg
MAIN: 2025-04-14 09:01:07,629 - INFO - duration: 0.7299364629998308
MAIN: 2025-04-14 09:01:07,630 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/01'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=29 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:01:36,585 - INFO - taking picture
MAIN: 2025-04-14 09:01:36,586 - INFO - we take 303 photos in this while loop
MAIN: 2025-04-14 09:01:36,586 - INFO - /home/pi/Desktop/images/14042025/09/01/image_14042025_09_01_36_28948.jpg
MAIN: 2025-04-14 09:01:36,586 - INFO - duration: 0.7378227619992686
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:02:06,043 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:02:07,064 - INFO - taking picture
MAIN: 2025-04-14 09:02:07,064 - INFO - we take 304 photos in this while loop
MAIN: 2025-04-14 09:02:07,065 - INFO - /home/pi/Desktop/images/14042025/09/01/image_14042025_09_02_06_30528.jpg
MAIN: 2025-04-14 09:02:07,065 - INFO - duration: 0.6880832440001541
MAIN: 2025-04-14 09:02:07,065 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/02'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:02:37,601 - INFO - taking picture
MAIN: 2025-04-14 09:02:37,601 - INFO - we take 305 photos in this while loop
MAIN: 2025-04-14 09:02:37,602 - INFO - /home/pi/Desktop/images/14042025/09/02/image_14042025_09_02_37_30458.jpg
MAIN: 2025-04-14 09:02:37,602 - INFO - duration: 0.7665346800004045
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:03:05,959 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=37 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:03:07,034 - INFO - taking picture
MAIN: 2025-04-14 09:03:07,035 - INFO - we take 306 photos in this while loop
MAIN: 2025-04-14 09:03:07,035 - INFO - /home/pi/Desktop/images/14042025/09/02/image_14042025_09_03_06_29517.jpg
MAIN: 2025-04-14 09:03:07,035 - INFO - duration: 0.6826326190002874
MAIN: 2025-04-14 09:03:07,035 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/03'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=37 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:03:37,357 - INFO - taking picture
MAIN: 2025-04-14 09:03:37,357 - INFO - we take 307 photos in this while loop
MAIN: 2025-04-14 09:03:37,357 - INFO - /home/pi/Desktop/images/14042025/09/03/image_14042025_09_03_36_30281.jpg
MAIN: 2025-04-14 09:03:37,358 - INFO - duration: 0.7238731030010968
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=28 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:04:06,904 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 09:04:07,165 - INFO - taking picture
MAIN: 2025-04-14 09:04:07,166 - INFO - we take 308 photos in this while loop
MAIN: 2025-04-14 09:04:07,166 - INFO - /home/pi/Desktop/images/14042025/09/03/image_14042025_09_04_06_29777.jpg
MAIN: 2025-04-14 09:04:07,166 - INFO - duration: 0.754464747999009
MAIN: 2025-04-14 09:04:07,166 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/04'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=28 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:04:37,585 - INFO - taking picture
MAIN: 2025-04-14 09:04:37,586 - INFO - we take 309 photos in this while loop
MAIN: 2025-04-14 09:04:37,586 - INFO - /home/pi/Desktop/images/14042025/09/04/image_14042025_09_04_37_30453.jpg
MAIN: 2025-04-14 09:04:37,586 - INFO - duration: 0.7210770390011021
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:05:05,856 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=28 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:05:07,011 - INFO - taking picture
MAIN: 2025-04-14 09:05:07,011 - INFO - we take 310 photos in this while loop
MAIN: 2025-04-14 09:05:07,012 - INFO - /home/pi/Desktop/images/14042025/09/04/image_14042025_09_05_06_29401.jpg
MAIN: 2025-04-14 09:05:07,012 - INFO - duration: 0.7448490960014169
MAIN: 2025-04-14 09:05:07,012 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/05'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=28 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:05:37,345 - INFO - taking picture
MAIN: 2025-04-14 09:05:37,346 - INFO - we take 311 photos in this while loop
MAIN: 2025-04-14 09:05:37,346 - INFO - /home/pi/Desktop/images/14042025/09/05/image_14042025_09_05_36_30345.jpg
MAIN: 2025-04-14 09:05:37,346 - INFO - duration: 0.7334685089990671
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:06:05,832 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=28 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)MAIN: 2025-04-14 09:06:06,754 - INFO - taking picture
MAIN: 2025-04-14 09:06:06,755 - INFO - we take 312 photos in this while loop
MAIN: 2025-04-14 09:06:06,755 - INFO - /home/pi/Desktop/images/14042025/09/05/image_14042025_09_06_06_29441.jpg
MAIN: 2025-04-14 09:06:06,755 - INFO - duration: 0.7005363429998397
MAIN: 2025-04-14 09:06:06,756 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/06'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=28 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:06:37,125 - INFO - taking picture
MAIN: 2025-04-14 09:06:37,125 - INFO - we take 313 photos in this while loop
MAIN: 2025-04-14 09:06:37,125 - INFO - /home/pi/Desktop/images/14042025/09/06/image_14042025_09_06_36_30335.jpg
MAIN: 2025-04-14 09:06:37,126 - INFO - duration: 0.7349394039993058
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:07:05,719 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=28 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:07:06,511 - INFO - taking picture
MAIN: 2025-04-14 09:07:06,512 - INFO - we take 314 photos in this while loop
MAIN: 2025-04-14 09:07:06,512 - INFO - /home/pi/Desktop/images/14042025/09/06/image_14042025_09_07_06_29435.jpg
MAIN: 2025-04-14 09:07:06,512 - INFO - duration: 0.6862399929996172
MAIN: 2025-04-14 09:07:06,513 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/07'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=28 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:07:36,798 - INFO - taking picture
MAIN: 2025-04-14 09:07:36,799 - INFO - we take 315 photos in this while loop
MAIN: 2025-04-14 09:07:36,799 - INFO - /home/pi/Desktop/images/14042025/09/07/image_14042025_09_07_36_30221.jpg
MAIN: 2025-04-14 09:07:36,799 - INFO - duration: 0.7519901640007447
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:08:06,498 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=28 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:08:07,425 - INFO - taking picture
MAIN: 2025-04-14 09:08:07,425 - INFO - we take 316 photos in this while loop
MAIN: 2025-04-14 09:08:07,425 - INFO - /home/pi/Desktop/images/14042025/09/07/image_14042025_09_08_07_30678.jpg
MAIN: 2025-04-14 09:08:07,426 - INFO - duration: 0.7004820620022656
MAIN: 2025-04-14 09:08:07,426 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/08'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=28 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:08:36,609 - INFO - taking picture
MAIN: 2025-04-14 09:08:36,610 - INFO - we take 317 photos in this while loop
MAIN: 2025-04-14 09:08:36,610 - INFO - /home/pi/Desktop/images/14042025/09/08/image_14042025_09_08_36_29117.jpg
MAIN: 2025-04-14 09:08:36,610 - INFO - duration: 0.7669740029996319
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:09:06,556 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=28 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:09:07,349 - INFO - taking picture
MAIN: 2025-04-14 09:09:07,350 - INFO - we take 318 photos in this while loop
MAIN: 2025-04-14 09:09:07,350 - INFO - /home/pi/Desktop/images/14042025/09/08/image_14042025_09_09_06_30815.jpg
MAIN: 2025-04-14 09:09:07,350 - INFO - duration: 0.692075892999128
MAIN: 2025-04-14 09:09:07,351 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/09'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=28 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:09:36,443 - INFO - taking picture
MAIN: 2025-04-14 09:09:36,444 - INFO - we take 319 photos in this while loop
MAIN: 2025-04-14 09:09:36,444 - INFO - /home/pi/Desktop/images/14042025/09/09/image_14042025_09_09_36_29090.jpg
MAIN: 2025-04-14 09:09:36,444 - INFO - duration: 0.6955351880023954
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:10:06,512 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=28 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:10:07,531 - INFO - taking picture
MAIN: 2025-04-14 09:10:07,532 - INFO - we take 320 photos in this while loop
MAIN: 2025-04-14 09:10:07,532 - INFO - /home/pi/Desktop/images/14042025/09/09/image_14042025_09_10_07_31040.jpg
MAIN: 2025-04-14 09:10:07,532 - INFO - duration: 0.7435466440001619
MAIN: 2025-04-14 09:10:07,532 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/10'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=37 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:10:36,721 - INFO - taking picture
MAIN: 2025-04-14 09:10:36,721 - INFO - we take 321 photos in this while loop
MAIN: 2025-04-14 09:10:36,721 - INFO - /home/pi/Desktop/images/14042025/09/10/image_14042025_09_10_36_29175.jpg
MAIN: 2025-04-14 09:10:36,722 - INFO - duration: 0.7579648519968032
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:11:05,580 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:11:06,493 - INFO - taking picture
MAIN: 2025-04-14 09:11:06,494 - INFO - we take 322 photos in this while loop
MAIN: 2025-04-14 09:11:06,494 - INFO - /home/pi/Desktop/images/14042025/09/10/image_14042025_09_11_06_29800.jpg
MAIN: 2025-04-14 09:11:06,494 - INFO - duration: 0.729775277999579
MAIN: 2025-04-14 09:11:06,495 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/11'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:11:37,338 - INFO - taking picture
MAIN: 2025-04-14 09:11:37,338 - INFO - we take 323 photos in this while loop
MAIN: 2025-04-14 09:11:37,338 - INFO - /home/pi/Desktop/images/14042025/09/11/image_14042025_09_11_36_30780.jpg
MAIN: 2025-04-14 09:11:37,339 - INFO - duration: 0.7939662720018532
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:12:06,076 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:12:07,313 - INFO - taking picture
MAIN: 2025-04-14 09:12:07,314 - INFO - we take 324 photos in this while loop
MAIN: 2025-04-14 09:12:07,314 - INFO - /home/pi/Desktop/images/14042025/09/11/image_14042025_09_12_06_30053.jpg
MAIN: 2025-04-14 09:12:07,314 - INFO - duration: 0.7159787630007486
MAIN: 2025-04-14 09:12:07,315 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/12'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:12:36,698 - INFO - taking picture
MAIN: 2025-04-14 09:12:36,699 - INFO - we take 325 photos in this while loop
MAIN: 2025-04-14 09:12:36,699 - INFO - /home/pi/Desktop/images/14042025/09/12/image_14042025_09_12_36_29318.jpg
MAIN: 2025-04-14 09:12:36,699 - INFO - duration: 0.7822974139999133
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:13:06,002 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:13:06,657 - INFO - taking picture
MAIN: 2025-04-14 09:13:06,657 - INFO - we take 326 photos in this while loop
MAIN: 2025-04-14 09:13:06,658 - INFO - /home/pi/Desktop/images/14042025/09/12/image_14042025_09_13_06_29934.jpg
MAIN: 2025-04-14 09:13:06,658 - INFO - duration: 0.8065716179989977
MAIN: 2025-04-14 09:13:06,658 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/13'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:13:37,678 - INFO - taking picture
MAIN: 2025-04-14 09:13:37,678 - INFO - we take 327 photos in this while loop
MAIN: 2025-04-14 09:13:37,679 - INFO - /home/pi/Desktop/images/14042025/09/13/image_14042025_09_13_37_31046.jpg
MAIN: 2025-04-14 09:13:37,679 - INFO - duration: 0.7812207009992562
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:14:06,678 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:14:07,630 - INFO - taking picture
MAIN: 2025-04-14 09:14:07,631 - INFO - we take 328 photos in this while loop
MAIN: 2025-04-14 09:14:07,631 - INFO - /home/pi/Desktop/images/14042025/09/13/image_14042025_09_14_07_30001.jpg
MAIN: 2025-04-14 09:14:07,631 - INFO - duration: 0.7321589969978959
MAIN: 2025-04-14 09:14:07,632 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/14'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:14:37,467 - INFO - taking picture
MAIN: 2025-04-14 09:14:37,468 - INFO - we take 329 photos in this while loop
MAIN: 2025-04-14 09:14:37,468 - INFO - /home/pi/Desktop/images/14042025/09/14/image_14042025_09_14_37_29783.jpg
MAIN: 2025-04-14 09:14:37,468 - INFO - duration: 0.7852483690003282
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:15:06,480 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:15:07,715 - INFO - taking picture
MAIN: 2025-04-14 09:15:07,715 - INFO - we take 330 photos in this while loop
MAIN: 2025-04-14 09:15:07,716 - INFO - /home/pi/Desktop/images/14042025/09/14/image_14042025_09_15_07_30212.jpg
MAIN: 2025-04-14 09:15:07,716 - INFO - duration: 0.8205432569993718
MAIN: 2025-04-14 09:15:07,716 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/15'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:15:37,500 - INFO - taking picture
MAIN: 2025-04-14 09:15:37,501 - INFO - we take 331 photos in this while loop
MAIN: 2025-04-14 09:15:37,501 - INFO - /home/pi/Desktop/images/14042025/09/15/image_14042025_09_15_37_29810.jpg
MAIN: 2025-04-14 09:15:37,501 - INFO - duration: 0.7951992220005195
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:16:05,455 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:16:06,385 - INFO - taking picture
MAIN: 2025-04-14 09:16:06,386 - INFO - we take 332 photos in this while loop
MAIN: 2025-04-14 09:16:06,386 - INFO - /home/pi/Desktop/images/14042025/09/15/image_14042025_09_16_05_28938.jpg
MAIN: 2025-04-14 09:16:06,386 - INFO - duration: 0.7420080980009516
MAIN: 2025-04-14 09:16:06,387 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/16'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:16:37,428 - INFO - taking picture
MAIN: 2025-04-14 09:16:37,429 - INFO - we take 333 photos in this while loop
MAIN: 2025-04-14 09:16:37,429 - INFO - /home/pi/Desktop/images/14042025/09/16/image_14042025_09_16_37_30981.jpg
MAIN: 2025-04-14 09:16:37,429 - INFO - duration: 0.8030466390009678
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:17:05,481 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:17:07,512 - INFO - taking picture
MAIN: 2025-04-14 09:17:07,513 - INFO - we take 334 photos in this while loop
MAIN: 2025-04-14 09:17:07,513 - INFO - /home/pi/Desktop/images/14042025/09/16/image_14042025_09_17_07_30102.jpg
MAIN: 2025-04-14 09:17:07,513 - INFO - duration: 0.7849672970005486
MAIN: 2025-04-14 09:17:07,513 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/17'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:17:37,260 - INFO - taking picture
MAIN: 2025-04-14 09:17:37,261 - INFO - we take 335 photos in this while loop
MAIN: 2025-04-14 09:17:37,261 - INFO - /home/pi/Desktop/images/14042025/09/17/image_14042025_09_17_36_29754.jpg
MAIN: 2025-04-14 09:17:37,261 - INFO - duration: 0.778789157000574
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:18:05,795 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:18:07,106 - INFO - taking picture
MAIN: 2025-04-14 09:18:07,107 - INFO - we take 336 photos in this while loop
MAIN: 2025-04-14 09:18:07,107 - INFO - /home/pi/Desktop/images/14042025/09/17/image_14042025_09_18_06_29858.jpg
MAIN: 2025-04-14 09:18:07,107 - INFO - duration: 0.766517684001883
MAIN: 2025-04-14 09:18:07,107 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/18'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:18:36,802 - INFO - taking picture
MAIN: 2025-04-14 09:18:36,803 - INFO - we take 337 photos in this while loop
MAIN: 2025-04-14 09:18:36,803 - INFO - /home/pi/Desktop/images/14042025/09/18/image_14042025_09_18_36_29726.jpg
MAIN: 2025-04-14 09:18:36,803 - INFO - duration: 0.7367411049999646
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:19:06,197 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:19:06,642 - INFO - taking picture
MAIN: 2025-04-14 09:19:06,643 - INFO - we take 338 photos in this while loop
MAIN: 2025-04-14 09:19:06,643 - INFO - /home/pi/Desktop/images/14042025/09/18/image_14042025_09_19_06_29848.jpg
MAIN: 2025-04-14 09:19:06,643 - INFO - duration: 0.7276023419981357
MAIN: 2025-04-14 09:19:06,643 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/19'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:19:36,434 - INFO - taking picture
MAIN: 2025-04-14 09:19:36,435 - INFO - we take 339 photos in this while loop
MAIN: 2025-04-14 09:19:36,435 - INFO - /home/pi/Desktop/images/14042025/09/19/image_14042025_09_19_36_29785.jpg
MAIN: 2025-04-14 09:19:36,435 - INFO - duration: 0.7345310309974593
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:20:06,711 - INFO - taking picture
MAIN: 2025-04-14 09:20:06,712 - INFO - we take 340 photos in this while loop
MAIN: 2025-04-14 09:20:06,712 - INFO - /home/pi/Desktop/images/14042025/09/19/image_14042025_09_20_06_30209.jpg
MAIN: 2025-04-14 09:20:06,712 - INFO - duration: 0.8024302470003022
MAIN: 2025-04-14 09:20:06,713 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/20'
MAIN: 2025-04-14 09:20:07,326 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:20:37,659 - INFO - taking picture
MAIN: 2025-04-14 09:20:37,659 - INFO - we take 341 photos in this while loop
MAIN: 2025-04-14 09:20:37,659 - INFO - /home/pi/Desktop/images/14042025/09/20/image_14042025_09_20_37_30959.jpg
MAIN: 2025-04-14 09:20:37,660 - INFO - duration: 0.7903999230002228
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:21:06,038 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:21:07,645 - INFO - taking picture
MAIN: 2025-04-14 09:21:07,646 - INFO - we take 342 photos in this while loop
MAIN: 2025-04-14 09:21:07,646 - INFO - /home/pi/Desktop/images/14042025/09/20/image_14042025_09_21_07_29986.jpg
MAIN: 2025-04-14 09:21:07,646 - INFO - duration: 0.7912217380035145
MAIN: 2025-04-14 09:21:07,647 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/21'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:21:37,379 - INFO - taking picture
MAIN: 2025-04-14 09:21:37,380 - INFO - we take 343 photos in this while loop
MAIN: 2025-04-14 09:21:37,380 - INFO - /home/pi/Desktop/images/14042025/09/21/image_14042025_09_21_36_29714.jpg
MAIN: 2025-04-14 09:21:37,380 - INFO - duration: 0.8098144389987283
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:22:05,492 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:22:07,535 - INFO - taking picture
MAIN: 2025-04-14 09:22:07,535 - INFO - we take 344 photos in this while loop
MAIN: 2025-04-14 09:22:07,536 - INFO - /home/pi/Desktop/images/14042025/09/21/image_14042025_09_22_07_30226.jpg
MAIN: 2025-04-14 09:22:07,536 - INFO - duration: 0.7395165609996184
MAIN: 2025-04-14 09:22:07,536 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/22'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:22:37,346 - INFO - taking picture
MAIN: 2025-04-14 09:22:37,347 - INFO - we take 345 photos in this while loop
MAIN: 2025-04-14 09:22:37,347 - INFO - /home/pi/Desktop/images/14042025/09/22/image_14042025_09_22_36_29817.jpg
MAIN: 2025-04-14 09:22:37,347 - INFO - duration: 0.7336390529999335
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:23:05,537 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:23:07,090 - INFO - taking picture
MAIN: 2025-04-14 09:23:07,091 - INFO - we take 346 photos in this while loop
MAIN: 2025-04-14 09:23:07,091 - INFO - /home/pi/Desktop/images/14042025/09/22/image_14042025_09_23_06_29717.jpg
MAIN: 2025-04-14 09:23:07,091 - INFO - duration: 0.7604681630000414
MAIN: 2025-04-14 09:23:07,092 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/23'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:23:36,709 - INFO - taking picture
MAIN: 2025-04-14 09:23:36,709 - INFO - we take 347 photos in this while loop
MAIN: 2025-04-14 09:23:36,709 - INFO - /home/pi/Desktop/images/14042025/09/23/image_14042025_09_23_36_29610.jpg
MAIN: 2025-04-14 09:23:36,710 - INFO - duration: 0.7686035209990223
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:24:06,199 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:24:06,988 - INFO - taking picture
MAIN: 2025-04-14 09:24:06,988 - INFO - we take 348 photos in this while loop
MAIN: 2025-04-14 09:24:06,988 - INFO - /home/pi/Desktop/images/14042025/09/23/image_14042025_09_24_06_30254.jpg
MAIN: 2025-04-14 09:24:06,989 - INFO - duration: 0.7928627340006642
MAIN: 2025-04-14 09:24:06,989 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/24'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:24:36,646 - INFO - taking picture
MAIN: 2025-04-14 09:24:36,646 - INFO - we take 349 photos in this while loop
MAIN: 2025-04-14 09:24:36,646 - INFO - /home/pi/Desktop/images/14042025/09/24/image_14042025_09_24_36_29658.jpg
MAIN: 2025-04-14 09:24:36,647 - INFO - duration: 0.7925809039988962
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:25:06,510 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 09:25:06,910 - INFO - taking picture
MAIN: 2025-04-14 09:25:06,911 - INFO - we take 350 photos in this while loop
MAIN: 2025-04-14 09:25:06,911 - INFO - /home/pi/Desktop/images/14042025/09/24/image_14042025_09_25_06_30254.jpg
MAIN: 2025-04-14 09:25:06,911 - INFO - duration: 0.802710637999553
MAIN: 2025-04-14 09:25:06,912 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/25'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:25:36,657 - INFO - taking picture
MAIN: 2025-04-14 09:25:36,658 - INFO - we take 351 photos in this while loop
MAIN: 2025-04-14 09:25:36,658 - INFO - /home/pi/Desktop/images/14042025/09/25/image_14042025_09_25_36_29754.jpg
MAIN: 2025-04-14 09:25:36,658 - INFO - duration: 0.7950407370008179
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:26:05,465 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:26:06,947 - INFO - taking picture
MAIN: 2025-04-14 09:26:06,947 - INFO - we take 352 photos in this while loop
MAIN: 2025-04-14 09:26:06,947 - INFO - /home/pi/Desktop/images/14042025/09/25/image_14042025_09_26_06_30289.jpg
MAIN: 2025-04-14 09:26:06,948 - INFO - duration: 0.7946300549992884
MAIN: 2025-04-14 09:26:06,948 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/26'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:26:36,748 - INFO - taking picture
MAIN: 2025-04-14 09:26:36,749 - INFO - we take 353 photos in this while loop
MAIN: 2025-04-14 09:26:36,749 - INFO - /home/pi/Desktop/images/14042025/09/26/image_14042025_09_26_36_29801.jpg
MAIN: 2025-04-14 09:26:36,749 - INFO - duration: 0.7953961959974549
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:27:05,406 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:27:06,650 - INFO - taking picture
MAIN: 2025-04-14 09:27:06,651 - INFO - we take 354 photos in this while loop
MAIN: 2025-04-14 09:27:06,651 - INFO - /home/pi/Desktop/images/14042025/09/26/image_14042025_09_27_06_29922.jpg
MAIN: 2025-04-14 09:27:06,651 - INFO - duration: 0.7745437959965784
MAIN: 2025-04-14 09:27:06,652 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/27'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:27:37,466 - INFO - taking picture
MAIN: 2025-04-14 09:27:37,467 - INFO - we take 355 photos in this while loop
MAIN: 2025-04-14 09:27:37,467 - INFO - /home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_37_30826.jpg
MAIN: 2025-04-14 09:27:37,467 - INFO - duration: 0.7639344690032885
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:28:06,131 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:28:07,541 - INFO - taking picture
MAIN: 2025-04-14 09:28:07,542 - INFO - we take 356 photos in this while loop
MAIN: 2025-04-14 09:28:07,542 - INFO - /home/pi/Desktop/images/14042025/09/27/image_14042025_09_28_07_30064.jpg
MAIN: 2025-04-14 09:28:07,542 - INFO - duration: 0.774441392000881
MAIN: 2025-04-14 09:28:07,542 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/28'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:28:37,420 - INFO - taking picture
MAIN: 2025-04-14 09:28:37,420 - INFO - we take 357 photos in this while loop
MAIN: 2025-04-14 09:28:37,420 - INFO - /home/pi/Desktop/images/14042025/09/28/image_14042025_09_28_37_29878.jpg
MAIN: 2025-04-14 09:28:37,421 - INFO - duration: 0.7749568569997791
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:29:06,122 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:29:07,344 - INFO - taking picture
MAIN: 2025-04-14 09:29:07,345 - INFO - we take 358 photos in this while loop
MAIN: 2025-04-14 09:29:07,345 - INFO - /home/pi/Desktop/images/14042025/09/28/image_14042025_09_29_06_29917.jpg
MAIN: 2025-04-14 09:29:07,345 - INFO - duration: 0.7819554989982862
MAIN: 2025-04-14 09:29:07,345 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/29'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:29:37,274 - INFO - taking picture
MAIN: 2025-04-14 09:29:37,274 - INFO - we take 359 photos in this while loop
MAIN: 2025-04-14 09:29:37,274 - INFO - /home/pi/Desktop/images/14042025/09/29/image_14042025_09_29_36_29912.jpg
MAIN: 2025-04-14 09:29:37,275 - INFO - duration: 0.7986834639996232
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:30:06,424 - INFO - taking picture
MAIN: 2025-04-14 09:30:06,425 - INFO - we take 360 photos in this while loop
MAIN: 2025-04-14 09:30:06,425 - INFO - /home/pi/Desktop/images/14042025/09/29/image_14042025_09_30_05_29162.jpg
MAIN: 2025-04-14 09:30:06,426 - INFO - duration: 0.7873155439992843
MAIN: 2025-04-14 09:30:06,426 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/30'
MAIN: 2025-04-14 09:30:06,613 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:30:37,439 - INFO - taking picture
MAIN: 2025-04-14 09:30:37,439 - INFO - we take 361 photos in this while loop
MAIN: 2025-04-14 09:30:37,440 - INFO - /home/pi/Desktop/images/14042025/09/30/image_14042025_09_30_37_31007.jpg
MAIN: 2025-04-14 09:30:37,440 - INFO - duration: 0.7940486659972521
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:31:05,862 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:31:07,431 - INFO - taking picture
MAIN: 2025-04-14 09:31:07,432 - INFO - we take 362 photos in this while loop
MAIN: 2025-04-14 09:31:07,432 - INFO - /home/pi/Desktop/images/14042025/09/30/image_14042025_09_31_07_29994.jpg
MAIN: 2025-04-14 09:31:07,432 - INFO - duration: 0.7921535069981473
MAIN: 2025-04-14 09:31:07,432 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/31'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:31:37,154 - INFO - taking picture
MAIN: 2025-04-14 09:31:37,155 - INFO - we take 363 photos in this while loop
MAIN: 2025-04-14 09:31:37,155 - INFO - /home/pi/Desktop/images/14042025/09/31/image_14042025_09_31_36_29695.jpg
MAIN: 2025-04-14 09:31:37,155 - INFO - duration: 0.8191314710020379
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:32:06,542 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:32:07,248 - INFO - taking picture
MAIN: 2025-04-14 09:32:07,249 - INFO - we take 364 photos in this while loop
MAIN: 2025-04-14 09:32:07,249 - INFO - /home/pi/Desktop/images/14042025/09/31/image_14042025_09_32_06_30120.jpg
MAIN: 2025-04-14 09:32:07,249 - INFO - duration: 0.7924226680006541
MAIN: 2025-04-14 09:32:07,250 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/32'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:32:36,855 - INFO - taking picture
MAIN: 2025-04-14 09:32:36,856 - INFO - we take 365 photos in this while loop
MAIN: 2025-04-14 09:32:36,856 - INFO - /home/pi/Desktop/images/14042025/09/32/image_14042025_09_32_36_29600.jpg
MAIN: 2025-04-14 09:32:36,856 - INFO - duration: 0.799448186000518
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:33:05,306 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:33:06,983 - INFO - taking picture
MAIN: 2025-04-14 09:33:06,983 - INFO - we take 366 photos in this while loop
MAIN: 2025-04-14 09:33:06,984 - INFO - /home/pi/Desktop/images/14042025/09/32/image_14042025_09_33_06_30115.jpg
MAIN: 2025-04-14 09:33:06,984 - INFO - duration: 0.811805371002265
MAIN: 2025-04-14 09:33:06,984 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/33'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:33:36,925 - INFO - taking picture
MAIN: 2025-04-14 09:33:36,925 - INFO - we take 367 photos in this while loop
MAIN: 2025-04-14 09:33:36,925 - INFO - /home/pi/Desktop/images/14042025/09/33/image_14042025_09_33_36_29987.jpg
MAIN: 2025-04-14 09:33:36,926 - INFO - duration: 0.7663264639995759
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:34:06,172 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:34:07,000 - INFO - taking picture
MAIN: 2025-04-14 09:34:07,001 - INFO - we take 368 photos in this while loop
MAIN: 2025-04-14 09:34:07,001 - INFO - /home/pi/Desktop/images/14042025/09/33/image_14042025_09_34_06_30110.jpg
MAIN: 2025-04-14 09:34:07,001 - INFO - duration: 0.7313599020017136
MAIN: 2025-04-14 09:34:07,001 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/34'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:34:36,950 - INFO - taking picture
MAIN: 2025-04-14 09:34:36,950 - INFO - we take 369 photos in this while loop
MAIN: 2025-04-14 09:34:36,950 - INFO - /home/pi/Desktop/images/14042025/09/34/image_14042025_09_34_36_29901.jpg
MAIN: 2025-04-14 09:34:36,951 - INFO - duration: 0.779182188998675
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:35:05,900 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:35:07,169 - INFO - taking picture
MAIN: 2025-04-14 09:35:07,170 - INFO - we take 370 photos in this while loop
MAIN: 2025-04-14 09:35:07,170 - INFO - /home/pi/Desktop/images/14042025/09/34/image_14042025_09_35_06_30197.jpg
MAIN: 2025-04-14 09:35:07,170 - INFO - duration: 0.8014631240002927
MAIN: 2025-04-14 09:35:07,171 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/35'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:35:37,033 - INFO - taking picture
MAIN: 2025-04-14 09:35:37,033 - INFO - we take 371 photos in this while loop
MAIN: 2025-04-14 09:35:37,034 - INFO - /home/pi/Desktop/images/14042025/09/35/image_14042025_09_35_36_29866.jpg
MAIN: 2025-04-14 09:35:37,034 - INFO - duration: 0.7980905180011177
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:36:06,197 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:36:07,201 - INFO - taking picture
MAIN: 2025-04-14 09:36:07,202 - INFO - we take 372 photos in this while loop
MAIN: 2025-04-14 09:36:07,202 - INFO - /home/pi/Desktop/images/14042025/09/35/image_14042025_09_36_06_30229.jpg
MAIN: 2025-04-14 09:36:07,202 - INFO - duration: 0.7374560409989499
MAIN: 2025-04-14 09:36:07,203 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/36'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:36:36,977 - INFO - taking picture
MAIN: 2025-04-14 09:36:36,978 - INFO - we take 373 photos in this while loop
MAIN: 2025-04-14 09:36:36,978 - INFO - /home/pi/Desktop/images/14042025/09/36/image_14042025_09_36_36_29567.jpg
MAIN: 2025-04-14 09:36:36,978 - INFO - duration: 0.9454208169991034
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:37:06,042 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:37:06,993 - INFO - taking picture
MAIN: 2025-04-14 09:37:06,994 - INFO - we take 374 photos in this while loop
MAIN: 2025-04-14 09:37:06,994 - INFO - /home/pi/Desktop/images/14042025/09/36/image_14042025_09_37_06_30161.jpg
MAIN: 2025-04-14 09:37:06,994 - INFO - duration: 0.7999885860008362
MAIN: 2025-04-14 09:37:06,995 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/37'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:37:36,745 - INFO - taking picture
MAIN: 2025-04-14 09:37:36,745 - INFO - we take 375 photos in this while loop
MAIN: 2025-04-14 09:37:36,745 - INFO - /home/pi/Desktop/images/14042025/09/37/image_14042025_09_37_36_29741.jpg
MAIN: 2025-04-14 09:37:36,746 - INFO - duration: 0.8101151980008581
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:38:06,575 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 09:38:06,763 - INFO - taking picture
MAIN: 2025-04-14 09:38:06,764 - INFO - we take 376 photos in this while loop
MAIN: 2025-04-14 09:38:06,764 - INFO - /home/pi/Desktop/images/14042025/09/37/image_14042025_09_38_06_30030.jpg
MAIN: 2025-04-14 09:38:06,764 - INFO - duration: 0.7978377020008338
MAIN: 2025-04-14 09:38:06,765 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/38'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:38:36,700 - INFO - taking picture
MAIN: 2025-04-14 09:38:36,700 - INFO - we take 377 photos in this while loop
MAIN: 2025-04-14 09:38:36,700 - INFO - /home/pi/Desktop/images/14042025/09/38/image_14042025_09_38_36_29986.jpg
MAIN: 2025-04-14 09:38:36,701 - INFO - duration: 0.7479741099996318
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:39:05,853 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:39:06,745 - INFO - taking picture
MAIN: 2025-04-14 09:39:06,745 - INFO - we take 378 photos in this while loop
MAIN: 2025-04-14 09:39:06,746 - INFO - /home/pi/Desktop/images/14042025/09/38/image_14042025_09_39_06_30050.jpg
MAIN: 2025-04-14 09:39:06,746 - INFO - duration: 0.7428749659993628
MAIN: 2025-04-14 09:39:06,746 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/39'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:39:36,414 - INFO - taking picture
MAIN: 2025-04-14 09:39:36,415 - INFO - we take 379 photos in this while loop
MAIN: 2025-04-14 09:39:36,415 - INFO - /home/pi/Desktop/images/14042025/09/39/image_14042025_09_39_35_29654.jpg
MAIN: 2025-04-14 09:39:36,415 - INFO - duration: 0.7576588299998548
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=35 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:40:06,696 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 09:40:07,023 - INFO - taking picture
MAIN: 2025-04-14 09:40:07,024 - INFO - we take 380 photos in this while loop
MAIN: 2025-04-14 09:40:07,024 - INFO - /home/pi/Desktop/images/14042025/09/39/image_14042025_09_40_06_30557.jpg
MAIN: 2025-04-14 09:40:07,025 - INFO - duration: 0.8093276740000874
MAIN: 2025-04-14 09:40:07,025 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/40'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=35 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:40:36,477 - INFO - taking picture
MAIN: 2025-04-14 09:40:36,477 - INFO - we take 381 photos in this while loop
MAIN: 2025-04-14 09:40:36,477 - INFO - /home/pi/Desktop/images/14042025/09/40/image_14042025_09_40_36_29488.jpg
MAIN: 2025-04-14 09:40:36,478 - INFO - duration: 0.7735169289990154
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:41:05,801 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=35 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:41:07,575 - INFO - taking picture
MAIN: 2025-04-14 09:41:07,576 - INFO - we take 382 photos in this while loop
MAIN: 2025-04-14 09:41:07,576 - INFO - /home/pi/Desktop/images/14042025/09/40/image_14042025_09_41_07_31140.jpg
MAIN: 2025-04-14 09:41:07,576 - INFO - duration: 0.7314667589998862
MAIN: 2025-04-14 09:41:07,577 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/41'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=35 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:41:37,215 - INFO - taking picture
MAIN: 2025-04-14 09:41:37,216 - INFO - we take 383 photos in this while loop
MAIN: 2025-04-14 09:41:37,216 - INFO - /home/pi/Desktop/images/14042025/09/41/image_14042025_09_41_36_29631.jpg
MAIN: 2025-04-14 09:41:37,216 - INFO - duration: 0.7399677060020622
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:42:06,049 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=35 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:42:07,395 - INFO - taking picture
MAIN: 2025-04-14 09:42:07,395 - INFO - we take 384 photos in this while loop
MAIN: 2025-04-14 09:42:07,395 - INFO - /home/pi/Desktop/images/14042025/09/41/image_14042025_09_42_06_30184.jpg
MAIN: 2025-04-14 09:42:07,396 - INFO - duration: 0.7345218379996368
MAIN: 2025-04-14 09:42:07,396 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/42'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=35 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:42:37,185 - INFO - taking picture
MAIN: 2025-04-14 09:42:37,186 - INFO - we take 385 photos in this while loop
MAIN: 2025-04-14 09:42:37,186 - INFO - /home/pi/Desktop/images/14042025/09/42/image_14042025_09_42_36_29757.jpg
MAIN: 2025-04-14 09:42:37,186 - INFO - duration: 0.7675678769992373
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:43:06,278 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=35 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:43:07,346 - INFO - taking picture
MAIN: 2025-04-14 09:43:07,346 - INFO - we take 386 photos in this while loop
MAIN: 2025-04-14 09:43:07,347 - INFO - /home/pi/Desktop/images/14042025/09/42/image_14042025_09_43_06_30140.jpg
MAIN: 2025-04-14 09:43:07,347 - INFO - duration: 0.7873842870030785
MAIN: 2025-04-14 09:43:07,347 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/43'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=35 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:43:37,114 - INFO - taking picture
MAIN: 2025-04-14 09:43:37,115 - INFO - we take 387 photos in this while loop
MAIN: 2025-04-14 09:43:37,115 - INFO - /home/pi/Desktop/images/14042025/09/43/image_14042025_09_43_36_29754.jpg
MAIN: 2025-04-14 09:43:37,115 - INFO - duration: 0.801351584999793
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:44:06,240 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=35 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:44:07,238 - INFO - taking picture
MAIN: 2025-04-14 09:44:07,238 - INFO - we take 388 photos in this while loop
MAIN: 2025-04-14 09:44:07,238 - INFO - /home/pi/Desktop/images/14042025/09/43/image_14042025_09_44_06_30179.jpg
MAIN: 2025-04-14 09:44:07,239 - INFO - duration: 0.7447602659995027
MAIN: 2025-04-14 09:44:07,239 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/44'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=35 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:44:37,058 - INFO - taking picture
MAIN: 2025-04-14 09:44:37,058 - INFO - we take 389 photos in this while loop
MAIN: 2025-04-14 09:44:37,058 - INFO - /home/pi/Desktop/images/14042025/09/44/image_14042025_09_44_36_29797.jpg
MAIN: 2025-04-14 09:44:37,059 - INFO - duration: 0.7675171419978142
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:45:06,269 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=35 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:45:07,220 - INFO - taking picture
MAIN: 2025-04-14 09:45:07,221 - INFO - we take 390 photos in this while loop
MAIN: 2025-04-14 09:45:07,221 - INFO - /home/pi/Desktop/images/14042025/09/44/image_14042025_09_45_06_30127.jpg
MAIN: 2025-04-14 09:45:07,221 - INFO - duration: 0.8025779199997487
MAIN: 2025-04-14 09:45:07,222 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/45'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=35 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:45:36,781 - INFO - taking picture
MAIN: 2025-04-14 09:45:36,782 - INFO - we take 391 photos in this while loop
MAIN: 2025-04-14 09:45:36,782 - INFO - /home/pi/Desktop/images/14042025/09/45/image_14042025_09_45_36_29569.jpg
MAIN: 2025-04-14 09:45:36,782 - INFO - duration: 0.7943153279993567
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:46:06,175 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=35 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:46:06,908 - INFO - taking picture
MAIN: 2025-04-14 09:46:06,909 - INFO - we take 392 photos in this while loop
MAIN: 2025-04-14 09:46:06,909 - INFO - /home/pi/Desktop/images/14042025/09/45/image_14042025_09_46_06_30128.jpg
MAIN: 2025-04-14 09:46:06,909 - INFO - duration: 0.7929263799996988
MAIN: 2025-04-14 09:46:06,910 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/46'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=35 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:46:36,475 - INFO - taking picture
MAIN: 2025-04-14 09:46:36,476 - INFO - we take 393 photos in this while loop
MAIN: 2025-04-14 09:46:36,476 - INFO - /home/pi/Desktop/images/14042025/09/46/image_14042025_09_46_36_29578.jpg
MAIN: 2025-04-14 09:46:36,476 - INFO - duration: 0.7812787359980575
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:47:05,817 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:47:07,758 - INFO - taking picture
MAIN: 2025-04-14 09:47:07,758 - INFO - we take 394 photos in this while loop
MAIN: 2025-04-14 09:47:07,759 - INFO - /home/pi/Desktop/images/14042025/09/46/image_14042025_09_47_07_31274.jpg
MAIN: 2025-04-14 09:47:07,759 - INFO - duration: 0.7895507740031462
MAIN: 2025-04-14 09:47:07,759 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/47'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:47:37,667 - INFO - taking picture
MAIN: 2025-04-14 09:47:37,668 - INFO - we take 395 photos in this while loop
MAIN: 2025-04-14 09:47:37,668 - INFO - /home/pi/Desktop/images/14042025/09/47/image_14042025_09_47_37_29899.jpg
MAIN: 2025-04-14 09:47:37,668 - INFO - duration: 0.7990616630013392
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:48:06,423 - INFO - taking picture
MAIN: 2025-04-14 09:48:06,423 - INFO - we take 396 photos in this while loop
MAIN: 2025-04-14 09:48:06,424 - INFO - /home/pi/Desktop/images/14042025/09/47/image_14042025_09_48_06_28779.jpg
MAIN: 2025-04-14 09:48:06,424 - INFO - duration: 0.7754348029993707
MAIN: 2025-04-14 09:48:06,424 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/48'
MAIN: 2025-04-14 09:48:06,530 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:48:37,581 - INFO - taking picture
MAIN: 2025-04-14 09:48:37,582 - INFO - we take 397 photos in this while loop
MAIN: 2025-04-14 09:48:37,582 - INFO - /home/pi/Desktop/images/14042025/09/48/image_14042025_09_48_37_31154.jpg
MAIN: 2025-04-14 09:48:37,582 - INFO - duration: 0.779333194001083
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:49:05,431 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:49:06,459 - INFO - taking picture
MAIN: 2025-04-14 09:49:06,460 - INFO - we take 398 photos in this while loop
MAIN: 2025-04-14 09:49:06,460 - INFO - /home/pi/Desktop/images/14042025/09/48/image_14042025_09_49_06_28913.jpg
MAIN: 2025-04-14 09:49:06,460 - INFO - duration: 0.7440764919992944
MAIN: 2025-04-14 09:49:06,461 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/49'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:49:37,481 - INFO - taking picture
MAIN: 2025-04-14 09:49:37,482 - INFO - we take 399 photos in this while loop
MAIN: 2025-04-14 09:49:37,482 - INFO - /home/pi/Desktop/images/14042025/09/49/image_14042025_09_49_37_30967.jpg
MAIN: 2025-04-14 09:49:37,482 - INFO - duration: 0.7987749719977728
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:50:06,249 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:50:06,858 - INFO - taking picture
MAIN: 2025-04-14 09:50:06,859 - INFO - we take 400 photos in this while loop
MAIN: 2025-04-14 09:50:06,859 - INFO - /home/pi/Desktop/images/14042025/09/49/image_14042025_09_50_06_29348.jpg
MAIN: 2025-04-14 09:50:06,860 - INFO - duration: 0.828033146000962
MAIN: 2025-04-14 09:50:06,860 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/50'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:50:36,571 - INFO - taking picture
MAIN: 2025-04-14 09:50:36,571 - INFO - we take 401 photos in this while loop
MAIN: 2025-04-14 09:50:36,572 - INFO - /home/pi/Desktop/images/14042025/09/50/image_14042025_09_50_36_29745.jpg
MAIN: 2025-04-14 09:50:36,572 - INFO - duration: 0.7943541499989806
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:51:06,068 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:51:06,707 - INFO - taking picture
MAIN: 2025-04-14 09:51:06,708 - INFO - we take 402 photos in this while loop
MAIN: 2025-04-14 09:51:06,708 - INFO - /home/pi/Desktop/images/14042025/09/50/image_14042025_09_51_06_30126.jpg
MAIN: 2025-04-14 09:51:06,708 - INFO - duration: 0.803553997000563
MAIN: 2025-04-14 09:51:06,708 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/51'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:51:37,670 - INFO - taking picture
MAIN: 2025-04-14 09:51:37,670 - INFO - we take 403 photos in this while loop
MAIN: 2025-04-14 09:51:37,670 - INFO - /home/pi/Desktop/images/14042025/09/51/image_14042025_09_51_37_31029.jpg
MAIN: 2025-04-14 09:51:37,671 - INFO - duration: 0.7367348529987794
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:52:06,460 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:52:07,669 - INFO - taking picture
MAIN: 2025-04-14 09:52:07,669 - INFO - we take 404 photos in this while loop
MAIN: 2025-04-14 09:52:07,670 - INFO - /home/pi/Desktop/images/14042025/09/51/image_14042025_09_52_07_30008.jpg
MAIN: 2025-04-14 09:52:07,670 - INFO - duration: 0.7273106409993488
MAIN: 2025-04-14 09:52:07,670 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/52'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:52:37,203 - INFO - taking picture
MAIN: 2025-04-14 09:52:37,204 - INFO - we take 405 photos in this while loop
MAIN: 2025-04-14 09:52:37,204 - INFO - /home/pi/Desktop/images/14042025/09/52/image_14042025_09_52_36_29528.jpg
MAIN: 2025-04-14 09:52:37,204 - INFO - duration: 0.7336742890001915
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:53:05,345 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:53:07,081 - INFO - taking picture
MAIN: 2025-04-14 09:53:07,082 - INFO - we take 406 photos in this while loop
MAIN: 2025-04-14 09:53:07,082 - INFO - /home/pi/Desktop/images/14042025/09/52/image_14042025_09_53_06_29878.jpg
MAIN: 2025-04-14 09:53:07,082 - INFO - duration: 0.7331786680006189
MAIN: 2025-04-14 09:53:07,082 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/53'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:53:36,812 - INFO - taking picture
MAIN: 2025-04-14 09:53:36,812 - INFO - we take 407 photos in this while loop
MAIN: 2025-04-14 09:53:36,813 - INFO - /home/pi/Desktop/images/14042025/09/53/image_14042025_09_53_36_29721.jpg
MAIN: 2025-04-14 09:53:36,813 - INFO - duration: 0.7427905439981259
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:54:06,104 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=32 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:54:07,015 - INFO - taking picture
MAIN: 2025-04-14 09:54:07,016 - INFO - we take 408 photos in this while loop
MAIN: 2025-04-14 09:54:07,016 - INFO - /home/pi/Desktop/images/14042025/09/53/image_14042025_09_54_06_30205.jpg
MAIN: 2025-04-14 09:54:07,016 - INFO - duration: 0.74062820400286
MAIN: 2025-04-14 09:54:07,017 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/54'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=105 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:54:37,597 - INFO - taking picture
MAIN: 2025-04-14 09:54:37,598 - INFO - we take 409 photos in this while loop
MAIN: 2025-04-14 09:54:37,598 - INFO - /home/pi/Desktop/images/14042025/09/54/image_14042025_09_54_37_30549.jpg
MAIN: 2025-04-14 09:54:37,598 - INFO - duration: 0.7730910120008048
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:55:06,256 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:55:07,444 - INFO - taking picture
MAIN: 2025-04-14 09:55:07,445 - INFO - we take 410 photos in this while loop
MAIN: 2025-04-14 09:55:07,445 - INFO - /home/pi/Desktop/images/14042025/09/54/image_14042025_09_55_06_29856.jpg
MAIN: 2025-04-14 09:55:07,445 - INFO - duration: 0.7635581530012132
MAIN: 2025-04-14 09:55:07,446 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/55'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=32 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:55:36,806 - INFO - taking picture
MAIN: 2025-04-14 09:55:36,806 - INFO - we take 411 photos in this while loop
MAIN: 2025-04-14 09:55:36,807 - INFO - /home/pi/Desktop/images/14042025/09/55/image_14042025_09_55_36_29356.jpg
MAIN: 2025-04-14 09:55:36,807 - INFO - duration: 0.768751383999188
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:56:06,354 - INFO - taking picture
MAIN: 2025-04-14 09:56:06,355 - INFO - we take 412 photos in this while loop
MAIN: 2025-04-14 09:56:06,355 - INFO - /home/pi/Desktop/images/14042025/09/55/image_14042025_09_56_05_29593.jpg
MAIN: 2025-04-14 09:56:06,355 - INFO - duration: 0.7241206680009782
MAIN: 2025-04-14 09:56:06,356 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/56'
MAIN: 2025-04-14 09:56:06,528 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=29 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:56:36,803 - INFO - taking picture
MAIN: 2025-04-14 09:56:36,804 - INFO - we take 413 photos in this while loop
MAIN: 2025-04-14 09:56:36,804 - INFO - /home/pi/Desktop/images/14042025/09/56/image_14042025_09_56_36_30402.jpg
MAIN: 2025-04-14 09:56:36,804 - INFO - duration: 0.7704320660013764
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:57:05,202 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:57:06,446 - INFO - taking picture
MAIN: 2025-04-14 09:57:06,447 - INFO - we take 414 photos in this while loop
MAIN: 2025-04-14 09:57:06,447 - INFO - /home/pi/Desktop/images/14042025/09/56/image_14042025_09_57_06_29657.jpg
MAIN: 2025-04-14 09:57:06,447 - INFO - duration: 0.7551257689992781
MAIN: 2025-04-14 09:57:06,447 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/57'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=13 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:57:37,270 - INFO - taking picture
MAIN: 2025-04-14 09:57:37,271 - INFO - we take 415 photos in this while loop
MAIN: 2025-04-14 09:57:37,271 - INFO - /home/pi/Desktop/images/14042025/09/57/image_14042025_09_57_36_30810.jpg
MAIN: 2025-04-14 09:57:37,271 - INFO - duration: 0.7690729570022086
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:58:05,786 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:58:07,040 - INFO - taking picture
MAIN: 2025-04-14 09:58:07,041 - INFO - we take 416 photos in this while loop
MAIN: 2025-04-14 09:58:07,041 - INFO - /home/pi/Desktop/images/14042025/09/57/image_14042025_09_58_06_29760.jpg
MAIN: 2025-04-14 09:58:07,041 - INFO - duration: 0.7785370190031244
MAIN: 2025-04-14 09:58:07,042 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/58'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:58:36,656 - INFO - taking picture
MAIN: 2025-04-14 09:58:36,657 - INFO - we take 417 photos in this while loop
MAIN: 2025-04-14 09:58:36,657 - INFO - /home/pi/Desktop/images/14042025/09/58/image_14042025_09_58_36_29621.jpg
MAIN: 2025-04-14 09:58:36,657 - INFO - duration: 0.7737029599993548
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 09:59:05,959 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:59:06,538 - INFO - taking picture
MAIN: 2025-04-14 09:59:06,539 - INFO - we take 418 photos in this while loop
MAIN: 2025-04-14 09:59:06,539 - INFO - /home/pi/Desktop/images/14042025/09/58/image_14042025_09_59_06_29851.jpg
MAIN: 2025-04-14 09:59:06,539 - INFO - duration: 0.8036262360001274
MAIN: 2025-04-14 09:59:06,539 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/09/59'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 09:59:37,430 - INFO - taking picture
MAIN: 2025-04-14 09:59:37,430 - INFO - we take 419 photos in this while loop
MAIN: 2025-04-14 09:59:37,430 - INFO - /home/pi/Desktop/images/14042025/09/59/image_14042025_09_59_37_30916.jpg
MAIN: 2025-04-14 09:59:37,431 - INFO - duration: 0.7789100980007788
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:00:06,662 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:00:07,541 - INFO - taking picture
MAIN: 2025-04-14 10:00:07,542 - INFO - we take 420 photos in this while loop
MAIN: 2025-04-14 10:00:07,542 - INFO - /home/pi/Desktop/images/14042025/09/59/image_14042025_10_00_07_30098.jpg
MAIN: 2025-04-14 10:00:07,542 - INFO - duration: 0.7924483259994304
MAIN: 2025-04-14 10:00:07,543 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/00'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:00:37,195 - INFO - taking picture
MAIN: 2025-04-14 10:00:37,196 - INFO - we take 421 photos in this while loop
MAIN: 2025-04-14 10:00:37,196 - INFO - /home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_36_29666.jpg
MAIN: 2025-04-14 10:00:37,196 - INFO - duration: 0.7801300489991263
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:01:06,163 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:01:06,969 - INFO - taking picture
MAIN: 2025-04-14 10:01:06,969 - INFO - we take 422 photos in this while loop
MAIN: 2025-04-14 10:01:06,969 - INFO - /home/pi/Desktop/images/14042025/10/00/image_14042025_10_01_06_29804.jpg
MAIN: 2025-04-14 10:01:06,970 - INFO - duration: 0.7488976610002283
MAIN: 2025-04-14 10:01:06,970 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/01'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:01:36,522 - INFO - taking picture
MAIN: 2025-04-14 10:01:36,523 - INFO - we take 423 photos in this while loop
MAIN: 2025-04-14 10:01:36,523 - INFO - /home/pi/Desktop/images/14042025/10/01/image_14042025_10_01_36_29530.jpg
MAIN: 2025-04-14 10:01:36,523 - INFO - duration: 0.7722425540014228
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:02:05,570 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:02:06,505 - INFO - taking picture
MAIN: 2025-04-14 10:02:06,506 - INFO - we take 424 photos in this while loop
MAIN: 2025-04-14 10:02:06,506 - INFO - /home/pi/Desktop/images/14042025/10/01/image_14042025_10_02_06_30012.jpg
MAIN: 2025-04-14 10:02:06,506 - INFO - duration: 0.7433669359998021
MAIN: 2025-04-14 10:02:06,507 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/02'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:02:37,508 - INFO - taking picture
MAIN: 2025-04-14 10:02:37,508 - INFO - we take 425 photos in this while loop
MAIN: 2025-04-14 10:02:37,509 - INFO - /home/pi/Desktop/images/14042025/10/02/image_14042025_10_02_37_31010.jpg
MAIN: 2025-04-14 10:02:37,509 - INFO - duration: 0.7353785530031018
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:03:05,545 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:03:07,456 - INFO - taking picture
MAIN: 2025-04-14 10:03:07,457 - INFO - we take 426 photos in this while loop
MAIN: 2025-04-14 10:03:07,457 - INFO - /home/pi/Desktop/images/14042025/10/02/image_14042025_10_03_07_29920.jpg
MAIN: 2025-04-14 10:03:07,457 - INFO - duration: 0.7634770379991096
MAIN: 2025-04-14 10:03:07,458 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/03'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:03:37,273 - INFO - taking picture
MAIN: 2025-04-14 10:03:37,274 - INFO - we take 427 photos in this while loop
MAIN: 2025-04-14 10:03:37,274 - INFO - /home/pi/Desktop/images/14042025/10/03/image_14042025_10_03_36_29778.jpg
MAIN: 2025-04-14 10:03:37,274 - INFO - duration: 0.8016849489977176
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:04:06,503 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:04:07,460 - INFO - taking picture
MAIN: 2025-04-14 10:04:07,460 - INFO - we take 428 photos in this while loop
MAIN: 2025-04-14 10:04:07,460 - INFO - /home/pi/Desktop/images/14042025/10/03/image_14042025_10_04_07_30258.jpg
MAIN: 2025-04-14 10:04:07,461 - INFO - duration: 0.7300894430009066
MAIN: 2025-04-14 10:04:07,461 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/04'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:04:37,302 - INFO - taking picture
MAIN: 2025-04-14 10:04:37,303 - INFO - we take 429 photos in this while loop
MAIN: 2025-04-14 10:04:37,303 - INFO - /home/pi/Desktop/images/14042025/10/04/image_14042025_10_04_36_29777.jpg
MAIN: 2025-04-14 10:04:37,304 - INFO - duration: 0.7961324520001654
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:05:06,176 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:05:07,346 - INFO - taking picture
MAIN: 2025-04-14 10:05:07,347 - INFO - we take 430 photos in this while loop
MAIN: 2025-04-14 10:05:07,347 - INFO - /home/pi/Desktop/images/14042025/10/04/image_14042025_10_05_06_30060.jpg
MAIN: 2025-04-14 10:05:07,348 - INFO - duration: 0.7794042789973901
MAIN: 2025-04-14 10:05:07,348 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/05'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:05:37,017 - INFO - taking picture
MAIN: 2025-04-14 10:05:37,017 - INFO - we take 431 photos in this while loop
MAIN: 2025-04-14 10:05:37,017 - INFO - /home/pi/Desktop/images/14042025/10/05/image_14042025_10_05_36_29653.jpg
MAIN: 2025-04-14 10:05:37,018 - INFO - duration: 0.7959418810023635
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:06:05,635 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:06:06,959 - INFO - taking picture
MAIN: 2025-04-14 10:06:06,959 - INFO - we take 432 photos in this while loop
MAIN: 2025-04-14 10:06:06,960 - INFO - /home/pi/Desktop/images/14042025/10/05/image_14042025_10_06_06_29953.jpg
MAIN: 2025-04-14 10:06:06,960 - INFO - duration: 0.785109280001052
MAIN: 2025-04-14 10:06:06,960 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/06'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:06:36,687 - INFO - taking picture
MAIN: 2025-04-14 10:06:36,687 - INFO - we take 433 photos in this while loop
MAIN: 2025-04-14 10:06:36,687 - INFO - /home/pi/Desktop/images/14042025/10/06/image_14042025_10_06_36_29737.jpg
MAIN: 2025-04-14 10:06:36,688 - INFO - duration: 0.7749381890025688
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:07:05,444 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:07:06,523 - INFO - taking picture
MAIN: 2025-04-14 10:07:06,523 - INFO - we take 434 photos in this while loop
MAIN: 2025-04-14 10:07:06,523 - INFO - /home/pi/Desktop/images/14042025/10/06/image_14042025_10_07_06_29879.jpg
MAIN: 2025-04-14 10:07:06,524 - INFO - duration: 0.731838613999571
MAIN: 2025-04-14 10:07:06,524 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/07'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:07:37,498 - INFO - taking picture
MAIN: 2025-04-14 10:07:37,498 - INFO - we take 435 photos in this while loop
MAIN: 2025-04-14 10:07:37,498 - INFO - /home/pi/Desktop/images/14042025/10/07/image_14042025_10_07_37_30936.jpg
MAIN: 2025-04-14 10:07:37,499 - INFO - duration: 0.7702763160014001
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:08:05,881 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:08:06,562 - INFO - taking picture
MAIN: 2025-04-14 10:08:06,563 - INFO - we take 436 photos in this while loop
MAIN: 2025-04-14 10:08:06,563 - INFO - /home/pi/Desktop/images/14042025/10/07/image_14042025_10_08_06_29013.jpg
MAIN: 2025-04-14 10:08:06,563 - INFO - duration: 0.8210641719997511
MAIN: 2025-04-14 10:08:06,563 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/08'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:08:37,661 - INFO - taking picture
MAIN: 2025-04-14 10:08:37,661 - INFO - we take 437 photos in this while loop
MAIN: 2025-04-14 10:08:37,661 - INFO - /home/pi/Desktop/images/14042025/10/08/image_14042025_10_08_37_31128.jpg
MAIN: 2025-04-14 10:08:37,662 - INFO - duration: 0.7914282929996261
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:09:06,160 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:09:07,544 - INFO - taking picture
MAIN: 2025-04-14 10:09:07,545 - INFO - we take 438 photos in this while loop
MAIN: 2025-04-14 10:09:07,545 - INFO - /home/pi/Desktop/images/14042025/10/08/image_14042025_10_09_07_29894.jpg
MAIN: 2025-04-14 10:09:07,545 - INFO - duration: 0.7808510039976682
MAIN: 2025-04-14 10:09:07,546 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/09'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:09:37,261 - INFO - taking picture
MAIN: 2025-04-14 10:09:37,261 - INFO - we take 439 photos in this while loop
MAIN: 2025-04-14 10:09:37,261 - INFO - /home/pi/Desktop/images/14042025/10/09/image_14042025_10_09_36_29714.jpg
MAIN: 2025-04-14 10:09:37,262 - INFO - duration: 0.7830240769981174
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:10:06,747 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:10:07,544 - INFO - taking picture
MAIN: 2025-04-14 10:10:07,545 - INFO - we take 440 photos in this while loop
MAIN: 2025-04-14 10:10:07,545 - INFO - /home/pi/Desktop/images/14042025/10/09/image_14042025_10_10_07_30242.jpg
MAIN: 2025-04-14 10:10:07,545 - INFO - duration: 0.824052871997992
MAIN: 2025-04-14 10:10:07,546 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/10'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:10:37,265 - INFO - taking picture
MAIN: 2025-04-14 10:10:37,266 - INFO - we take 441 photos in this while loop
MAIN: 2025-04-14 10:10:37,266 - INFO - /home/pi/Desktop/images/14042025/10/10/image_14042025_10_10_36_29757.jpg
MAIN: 2025-04-14 10:10:37,266 - INFO - duration: 0.787014129000454
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:11:06,166 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:11:07,016 - INFO - taking picture
MAIN: 2025-04-14 10:11:07,017 - INFO - we take 442 photos in this while loop
MAIN: 2025-04-14 10:11:07,017 - INFO - /home/pi/Desktop/images/14042025/10/10/image_14042025_10_11_06_29752.jpg
MAIN: 2025-04-14 10:11:07,017 - INFO - duration: 0.7855862130018068
MAIN: 2025-04-14 10:11:07,017 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/11'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:11:36,731 - INFO - taking picture
MAIN: 2025-04-14 10:11:36,732 - INFO - we take 443 photos in this while loop
MAIN: 2025-04-14 10:11:36,732 - INFO - /home/pi/Desktop/images/14042025/10/11/image_14042025_10_11_36_29719.jpg
MAIN: 2025-04-14 10:11:36,732 - INFO - duration: 0.7813631939970946
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:12:05,789 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:12:06,728 - INFO - taking picture
MAIN: 2025-04-14 10:12:06,729 - INFO - we take 444 photos in this while loop
MAIN: 2025-04-14 10:12:06,729 - INFO - /home/pi/Desktop/images/14042025/10/11/image_14042025_10_12_06_30035.jpg
MAIN: 2025-04-14 10:12:06,729 - INFO - duration: 0.7431340080001974
MAIN: 2025-04-14 10:12:06,730 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/12'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:12:36,439 - INFO - taking picture
MAIN: 2025-04-14 10:12:36,440 - INFO - we take 445 photos in this while loop
MAIN: 2025-04-14 10:12:36,440 - INFO - /home/pi/Desktop/images/14042025/10/12/image_14042025_10_12_36_29651.jpg
MAIN: 2025-04-14 10:12:36,440 - INFO - duration: 0.8023576839987072
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:13:05,829 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:13:06,421 - INFO - taking picture
MAIN: 2025-04-14 10:13:06,421 - INFO - we take 446 photos in this while loop
MAIN: 2025-04-14 10:13:06,422 - INFO - /home/pi/Desktop/images/14042025/10/12/image_14042025_10_13_05_29987.jpg
MAIN: 2025-04-14 10:13:06,422 - INFO - duration: 0.7969263570012117
MAIN: 2025-04-14 10:13:06,422 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/13'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:13:37,463 - INFO - taking picture
MAIN: 2025-04-14 10:13:37,464 - INFO - we take 447 photos in this while loop
MAIN: 2025-04-14 10:13:37,464 - INFO - /home/pi/Desktop/images/14042025/10/13/image_14042025_10_13_37_31059.jpg
MAIN: 2025-04-14 10:13:37,464 - INFO - duration: 0.780135015000269
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:14:06,689 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:14:07,499 - INFO - taking picture
MAIN: 2025-04-14 10:14:07,500 - INFO - we take 448 photos in this while loop
MAIN: 2025-04-14 10:14:07,500 - INFO - /home/pi/Desktop/images/14042025/10/13/image_14042025_10_14_07_30048.jpg
MAIN: 2025-04-14 10:14:07,500 - INFO - duration: 0.7674278010017588
MAIN: 2025-04-14 10:14:07,500 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/14'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:14:37,144 - INFO - taking picture
MAIN: 2025-04-14 10:14:37,145 - INFO - we take 449 photos in this while loop
MAIN: 2025-04-14 10:14:37,145 - INFO - /home/pi/Desktop/images/14042025/10/14/image_14042025_10_14_36_29643.jpg
MAIN: 2025-04-14 10:14:37,145 - INFO - duration: 0.7689513949990214
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:15:06,460 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:15:07,221 - INFO - taking picture
MAIN: 2025-04-14 10:15:07,222 - INFO - we take 450 photos in this while loop
MAIN: 2025-04-14 10:15:07,223 - INFO - /home/pi/Desktop/images/14042025/10/14/image_14042025_10_15_06_30062.jpg
MAIN: 2025-04-14 10:15:07,223 - INFO - duration: 0.7844225080007163
MAIN: 2025-04-14 10:15:07,224 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/15'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:15:36,821 - INFO - taking picture
MAIN: 2025-04-14 10:15:36,822 - INFO - we take 451 photos in this while loop
MAIN: 2025-04-14 10:15:36,822 - INFO - /home/pi/Desktop/images/14042025/10/15/image_14042025_10_15_36_29609.jpg
MAIN: 2025-04-14 10:15:36,822 - INFO - duration: 0.7743351540011645
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:16:05,653 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:16:06,797 - INFO - taking picture
MAIN: 2025-04-14 10:16:06,798 - INFO - we take 452 photos in this while loop
MAIN: 2025-04-14 10:16:06,798 - INFO - /home/pi/Desktop/images/14042025/10/15/image_14042025_10_16_06_30022.jpg
MAIN: 2025-04-14 10:16:06,798 - INFO - duration: 0.7277906780000194
MAIN: 2025-04-14 10:16:06,798 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/16'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:16:37,623 - INFO - taking picture
MAIN: 2025-04-14 10:16:37,624 - INFO - we take 453 photos in this while loop
MAIN: 2025-04-14 10:16:37,624 - INFO - /home/pi/Desktop/images/14042025/10/16/image_14042025_10_16_37_30806.jpg
MAIN: 2025-04-14 10:16:37,624 - INFO - duration: 0.7471711260004668
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:17:05,736 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:17:07,561 - INFO - taking picture
MAIN: 2025-04-14 10:17:07,562 - INFO - we take 454 photos in this while loop
MAIN: 2025-04-14 10:17:07,562 - INFO - /home/pi/Desktop/images/14042025/10/16/image_14042025_10_17_07_29957.jpg
MAIN: 2025-04-14 10:17:07,562 - INFO - duration: 0.7273503880023782
MAIN: 2025-04-14 10:17:07,562 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/17'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:17:37,276 - INFO - taking picture
MAIN: 2025-04-14 10:17:37,276 - INFO - we take 455 photos in this while loop
MAIN: 2025-04-14 10:17:37,276 - INFO - /home/pi/Desktop/images/14042025/10/17/image_14042025_10_17_36_29715.jpg
MAIN: 2025-04-14 10:17:37,277 - INFO - duration: 0.7262555590023112
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:18:06,321 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:18:07,385 - INFO - taking picture
MAIN: 2025-04-14 10:18:07,385 - INFO - we take 456 photos in this while loop
MAIN: 2025-04-14 10:18:07,386 - INFO - /home/pi/Desktop/images/14042025/10/17/image_14042025_10_18_06_30079.jpg
MAIN: 2025-04-14 10:18:07,386 - INFO - duration: 0.7558806560009543
MAIN: 2025-04-14 10:18:07,386 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/18'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:18:37,078 - INFO - taking picture
MAIN: 2025-04-14 10:18:37,078 - INFO - we take 457 photos in this while loop
MAIN: 2025-04-14 10:18:37,079 - INFO - /home/pi/Desktop/images/14042025/10/18/image_14042025_10_18_36_29659.jpg
MAIN: 2025-04-14 10:18:37,079 - INFO - duration: 0.7899040379998041
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:19:06,369 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:19:07,198 - INFO - taking picture
MAIN: 2025-04-14 10:19:07,198 - INFO - we take 458 photos in this while loop
MAIN: 2025-04-14 10:19:07,198 - INFO - /home/pi/Desktop/images/14042025/10/18/image_14042025_10_19_06_30153.jpg
MAIN: 2025-04-14 10:19:07,199 - INFO - duration: 0.7557349639973836
MAIN: 2025-04-14 10:19:07,199 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/19'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:19:36,803 - INFO - taking picture
MAIN: 2025-04-14 10:19:36,803 - INFO - we take 459 photos in this while loop
MAIN: 2025-04-14 10:19:36,804 - INFO - /home/pi/Desktop/images/14042025/10/19/image_14042025_10_19_36_29580.jpg
MAIN: 2025-04-14 10:19:36,804 - INFO - duration: 0.7803943809994962
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:20:06,894 - INFO - taking picture
MAIN: 2025-04-14 10:20:06,894 - INFO - we take 460 photos in this while loop
MAIN: 2025-04-14 10:20:06,895 - INFO - /home/pi/Desktop/images/14042025/10/19/image_14042025_10_20_06_30098.jpg
MAIN: 2025-04-14 10:20:06,895 - INFO - duration: 0.772881012999278
MAIN: 2025-04-14 10:20:06,895 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/20'
MAIN: 2025-04-14 10:20:07,174 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:20:36,585 - INFO - taking picture
MAIN: 2025-04-14 10:20:36,586 - INFO - we take 461 photos in this while loop
MAIN: 2025-04-14 10:20:36,586 - INFO - /home/pi/Desktop/images/14042025/10/20/image_14042025_10_20_36_29679.jpg
MAIN: 2025-04-14 10:20:36,586 - INFO - duration: 0.7849482860001444
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:21:05,481 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:21:06,387 - INFO - taking picture
MAIN: 2025-04-14 10:21:06,388 - INFO - we take 462 photos in this while loop
MAIN: 2025-04-14 10:21:06,388 - INFO - /home/pi/Desktop/images/14042025/10/20/image_14042025_10_21_05_29856.jpg
MAIN: 2025-04-14 10:21:06,388 - INFO - duration: 0.7300550440013467
MAIN: 2025-04-14 10:21:06,389 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/21'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:21:37,123 - INFO - taking picture
MAIN: 2025-04-14 10:21:37,124 - INFO - we take 463 photos in this while loop
MAIN: 2025-04-14 10:21:37,124 - INFO - /home/pi/Desktop/images/14042025/10/21/image_14042025_10_21_36_30680.jpg
MAIN: 2025-04-14 10:21:37,124 - INFO - duration: 0.784957141000632
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:22:06,091 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:22:06,905 - INFO - taking picture
MAIN: 2025-04-14 10:22:06,905 - INFO - we take 464 photos in this while loop
MAIN: 2025-04-14 10:22:06,906 - INFO - /home/pi/Desktop/images/14042025/10/21/image_14042025_10_22_06_29760.jpg
MAIN: 2025-04-14 10:22:06,906 - INFO - duration: 0.8056575470000098
MAIN: 2025-04-14 10:22:06,906 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/22'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:22:36,661 - INFO - taking picture
MAIN: 2025-04-14 10:22:36,662 - INFO - we take 465 photos in this while loop
MAIN: 2025-04-14 10:22:36,662 - INFO - /home/pi/Desktop/images/14042025/10/22/image_14042025_10_22_36_29744.jpg
MAIN: 2025-04-14 10:22:36,662 - INFO - duration: 0.8169415410011425
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:23:05,988 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:23:06,694 - INFO - taking picture
MAIN: 2025-04-14 10:23:06,695 - INFO - we take 466 photos in this while loop
MAIN: 2025-04-14 10:23:06,695 - INFO - /home/pi/Desktop/images/14042025/10/22/image_14042025_10_23_06_30049.jpg
MAIN: 2025-04-14 10:23:06,695 - INFO - duration: 0.7999867699982133
MAIN: 2025-04-14 10:23:06,695 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/23'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:23:36,405 - INFO - taking picture
MAIN: 2025-04-14 10:23:36,405 - INFO - we take 467 photos in this while loop
MAIN: 2025-04-14 10:23:36,406 - INFO - /home/pi/Desktop/images/14042025/10/23/image_14042025_10_23_35_29771.jpg
MAIN: 2025-04-14 10:23:36,406 - INFO - duration: 0.7389363000002049
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:24:06,666 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:24:07,633 - INFO - taking picture
MAIN: 2025-04-14 10:24:07,634 - INFO - we take 468 photos in this while loop
MAIN: 2025-04-14 10:24:07,634 - INFO - /home/pi/Desktop/images/14042025/10/23/image_14042025_10_24_07_31233.jpg
MAIN: 2025-04-14 10:24:07,634 - INFO - duration: 0.7335490910008957
MAIN: 2025-04-14 10:24:07,634 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/24'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:24:37,412 - INFO - taking picture
MAIN: 2025-04-14 10:24:37,412 - INFO - we take 469 photos in this while loop
MAIN: 2025-04-14 10:24:37,412 - INFO - /home/pi/Desktop/images/14042025/10/24/image_14042025_10_24_36_29750.jpg
MAIN: 2025-04-14 10:24:37,413 - INFO - duration: 0.7618566409983032
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:25:06,651 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:25:07,405 - INFO - taking picture
MAIN: 2025-04-14 10:25:07,406 - INFO - we take 470 photos in this while loop
MAIN: 2025-04-14 10:25:07,407 - INFO - /home/pi/Desktop/images/14042025/10/24/image_14042025_10_25_06_29970.jpg
MAIN: 2025-04-14 10:25:07,408 - INFO - duration: 0.7865562199986016
MAIN: 2025-04-14 10:25:07,409 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/25'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:25:37,077 - INFO - taking picture
MAIN: 2025-04-14 10:25:37,077 - INFO - we take 471 photos in this while loop
MAIN: 2025-04-14 10:25:37,077 - INFO - /home/pi/Desktop/images/14042025/10/25/image_14042025_10_25_36_29659.jpg
MAIN: 2025-04-14 10:25:37,077 - INFO - duration: 0.796709751997696
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:26:05,594 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:26:07,014 - INFO - taking picture
MAIN: 2025-04-14 10:26:07,014 - INFO - we take 472 photos in this while loop
MAIN: 2025-04-14 10:26:07,015 - INFO - /home/pi/Desktop/images/14042025/10/25/image_14042025_10_26_06_29951.jpg
MAIN: 2025-04-14 10:26:07,015 - INFO - duration: 0.7828906149989052
MAIN: 2025-04-14 10:26:07,015 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/26'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:26:36,683 - INFO - taking picture
MAIN: 2025-04-14 10:26:36,684 - INFO - we take 473 photos in this while loop
MAIN: 2025-04-14 10:26:36,684 - INFO - /home/pi/Desktop/images/14042025/10/26/image_14042025_10_26_36_29535.jpg
MAIN: 2025-04-14 10:26:36,684 - INFO - duration: 0.9164546700012579
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:27:05,421 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:27:06,874 - INFO - taking picture
MAIN: 2025-04-14 10:27:06,875 - INFO - we take 474 photos in this while loop
MAIN: 2025-04-14 10:27:06,875 - INFO - /home/pi/Desktop/images/14042025/10/26/image_14042025_10_27_06_30304.jpg
MAIN: 2025-04-14 10:27:06,875 - INFO - duration: 0.8035759099984716
MAIN: 2025-04-14 10:27:06,876 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/27'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:27:36,526 - INFO - taking picture
MAIN: 2025-04-14 10:27:36,526 - INFO - we take 475 photos in this while loop
MAIN: 2025-04-14 10:27:36,527 - INFO - /home/pi/Desktop/images/14042025/10/27/image_14042025_10_27_36_29659.jpg
MAIN: 2025-04-14 10:27:36,527 - INFO - duration: 0.7957083940018492
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:28:06,130 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:28:06,773 - INFO - taking picture
MAIN: 2025-04-14 10:28:06,774 - INFO - we take 476 photos in this while loop
MAIN: 2025-04-14 10:28:06,774 - INFO - /home/pi/Desktop/images/14042025/10/27/image_14042025_10_28_06_30229.jpg
MAIN: 2025-04-14 10:28:06,774 - INFO - duration: 0.8130632329994114
MAIN: 2025-04-14 10:28:06,774 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/28'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:28:37,723 - INFO - taking picture
MAIN: 2025-04-14 10:28:37,724 - INFO - we take 477 photos in this while loop
MAIN: 2025-04-14 10:28:37,724 - INFO - /home/pi/Desktop/images/14042025/10/28/image_14042025_10_28_37_30977.jpg
MAIN: 2025-04-14 10:28:37,724 - INFO - duration: 0.7861308149986144
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:29:06,085 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:29:07,590 - INFO - taking picture
MAIN: 2025-04-14 10:29:07,590 - INFO - we take 478 photos in this while loop
MAIN: 2025-04-14 10:29:07,590 - INFO - /home/pi/Desktop/images/14042025/10/28/image_14042025_10_29_07_29862.jpg
MAIN: 2025-04-14 10:29:07,591 - INFO - duration: 0.7900000250010635
MAIN: 2025-04-14 10:29:07,591 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/29'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:29:37,364 - INFO - taking picture
MAIN: 2025-04-14 10:29:37,365 - INFO - we take 479 photos in this while loop
MAIN: 2025-04-14 10:29:37,365 - INFO - /home/pi/Desktop/images/14042025/10/29/image_14042025_10_29_36_29760.jpg
MAIN: 2025-04-14 10:29:37,365 - INFO - duration: 0.803618562000338
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:30:06,937 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:30:07,700 - INFO - taking picture
MAIN: 2025-04-14 10:30:07,700 - INFO - we take 480 photos in this while loop
MAIN: 2025-04-14 10:30:07,700 - INFO - /home/pi/Desktop/images/14042025/10/29/image_14042025_10_30_07_30327.jpg
MAIN: 2025-04-14 10:30:07,701 - INFO - duration: 0.8120616270025494
MAIN: 2025-04-14 10:30:07,701 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/30'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:30:37,485 - INFO - taking picture
MAIN: 2025-04-14 10:30:37,485 - INFO - we take 481 photos in this while loop
MAIN: 2025-04-14 10:30:37,486 - INFO - /home/pi/Desktop/images/14042025/10/30/image_14042025_10_30_37_29809.jpg
MAIN: 2025-04-14 10:30:37,486 - INFO - duration: 0.787848069001484
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:31:05,487 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:31:07,668 - INFO - taking picture
MAIN: 2025-04-14 10:31:07,668 - INFO - we take 482 photos in this while loop
MAIN: 2025-04-14 10:31:07,668 - INFO - /home/pi/Desktop/images/14042025/10/30/image_14042025_10_31_07_30174.jpg
MAIN: 2025-04-14 10:31:07,669 - INFO - duration: 0.7959016569984669
MAIN: 2025-04-14 10:31:07,669 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/31'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:31:37,340 - INFO - taking picture
MAIN: 2025-04-14 10:31:37,341 - INFO - we take 483 photos in this while loop
MAIN: 2025-04-14 10:31:37,341 - INFO - /home/pi/Desktop/images/14042025/10/31/image_14042025_10_31_36_29695.jpg
MAIN: 2025-04-14 10:31:37,341 - INFO - duration: 0.7724199240001326
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:32:05,833 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:32:07,637 - INFO - taking picture
MAIN: 2025-04-14 10:32:07,638 - INFO - we take 484 photos in this while loop
MAIN: 2025-04-14 10:32:07,638 - INFO - /home/pi/Desktop/images/14042025/10/31/image_14042025_10_32_07_30267.jpg
MAIN: 2025-04-14 10:32:07,638 - INFO - duration: 0.8014896650020091
MAIN: 2025-04-14 10:32:07,638 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/32'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:32:37,489 - INFO - taking picture
MAIN: 2025-04-14 10:32:37,490 - INFO - we take 485 photos in this while loop
MAIN: 2025-04-14 10:32:37,490 - INFO - /home/pi/Desktop/images/14042025/10/32/image_14042025_10_32_37_29856.jpg
MAIN: 2025-04-14 10:32:37,490 - INFO - duration: 0.7965764789987588
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:33:05,756 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:33:07,277 - INFO - taking picture
MAIN: 2025-04-14 10:33:07,277 - INFO - we take 486 photos in this while loop
MAIN: 2025-04-14 10:33:07,277 - INFO - /home/pi/Desktop/images/14042025/10/32/image_14042025_10_33_06_29771.jpg
MAIN: 2025-04-14 10:33:07,278 - INFO - duration: 0.8122204870014684
MAIN: 2025-04-14 10:33:07,278 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/33'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:33:36,995 - INFO - taking picture
MAIN: 2025-04-14 10:33:36,996 - INFO - we take 487 photos in this while loop
MAIN: 2025-04-14 10:33:36,996 - INFO - /home/pi/Desktop/images/14042025/10/33/image_14042025_10_33_36_29739.jpg
MAIN: 2025-04-14 10:33:36,996 - INFO - duration: 0.7910411520024354
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:34:06,459 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:34:07,190 - INFO - taking picture
MAIN: 2025-04-14 10:34:07,191 - INFO - we take 488 photos in this while loop
MAIN: 2025-04-14 10:34:07,191 - INFO - /home/pi/Desktop/images/14042025/10/33/image_14042025_10_34_06_30243.jpg
MAIN: 2025-04-14 10:34:07,191 - INFO - duration: 0.7418124879986863
MAIN: 2025-04-14 10:34:07,191 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/34'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:34:36,843 - INFO - taking picture
MAIN: 2025-04-14 10:34:36,843 - INFO - we take 489 photos in this while loop
MAIN: 2025-04-14 10:34:36,843 - INFO - /home/pi/Desktop/images/14042025/10/34/image_14042025_10_34_36_29658.jpg
MAIN: 2025-04-14 10:34:36,844 - INFO - duration: 0.7356666479972773
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:35:06,680 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:35:07,353 - INFO - taking picture
MAIN: 2025-04-14 10:35:07,354 - INFO - we take 490 photos in this while loop
MAIN: 2025-04-14 10:35:07,354 - INFO - /home/pi/Desktop/images/14042025/10/34/image_14042025_10_35_06_30369.jpg
MAIN: 2025-04-14 10:35:07,355 - INFO - duration: 0.8769608449983934
MAIN: 2025-04-14 10:35:07,355 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/35'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:35:36,936 - INFO - taking picture
MAIN: 2025-04-14 10:35:36,937 - INFO - we take 491 photos in this while loop
MAIN: 2025-04-14 10:35:36,937 - INFO - /home/pi/Desktop/images/14042025/10/35/image_14042025_10_35_36_29679.jpg
MAIN: 2025-04-14 10:35:36,937 - INFO - duration: 0.779775607999909
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:36:05,685 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:36:06,628 - INFO - taking picture
MAIN: 2025-04-14 10:36:06,629 - INFO - we take 492 photos in this while loop
MAIN: 2025-04-14 10:36:06,629 - INFO - /home/pi/Desktop/images/14042025/10/35/image_14042025_10_36_06_29745.jpg
MAIN: 2025-04-14 10:36:06,629 - INFO - duration: 0.7266069449979113
MAIN: 2025-04-14 10:36:06,629 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/36'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:36:37,447 - INFO - taking picture
MAIN: 2025-04-14 10:36:37,448 - INFO - we take 493 photos in this while loop
MAIN: 2025-04-14 10:36:37,448 - INFO - /home/pi/Desktop/images/14042025/10/36/image_14042025_10_36_37_30761.jpg
MAIN: 2025-04-14 10:36:37,448 - INFO - duration: 0.7846038820025569
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:37:05,577 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:37:07,365 - INFO - taking picture
MAIN: 2025-04-14 10:37:07,365 - INFO - we take 494 photos in this while loop
MAIN: 2025-04-14 10:37:07,365 - INFO - /home/pi/Desktop/images/14042025/10/36/image_14042025_10_37_06_29917.jpg
MAIN: 2025-04-14 10:37:07,366 - INFO - duration: 0.7842766900030256
MAIN: 2025-04-14 10:37:07,366 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/37'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:37:36,997 - INFO - taking picture
MAIN: 2025-04-14 10:37:36,997 - INFO - we take 495 photos in this while loop
MAIN: 2025-04-14 10:37:36,998 - INFO - /home/pi/Desktop/images/14042025/10/37/image_14042025_10_37_36_29636.jpg
MAIN: 2025-04-14 10:37:36,998 - INFO - duration: 0.7804668410026352
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:38:06,051 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:38:06,845 - INFO - taking picture
MAIN: 2025-04-14 10:38:06,845 - INFO - we take 496 photos in this while loop
MAIN: 2025-04-14 10:38:06,845 - INFO - /home/pi/Desktop/images/14042025/10/37/image_14042025_10_38_06_29898.jpg
MAIN: 2025-04-14 10:38:06,846 - INFO - duration: 0.7297527640002954
MAIN: 2025-04-14 10:38:06,846 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/38'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:38:36,517 - INFO - taking picture
MAIN: 2025-04-14 10:38:36,518 - INFO - we take 497 photos in this while loop
MAIN: 2025-04-14 10:38:36,518 - INFO - /home/pi/Desktop/images/14042025/10/38/image_14042025_10_38_36_29615.jpg
MAIN: 2025-04-14 10:38:36,518 - INFO - duration: 0.787005064998084
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:39:06,228 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:39:06,709 - INFO - taking picture
MAIN: 2025-04-14 10:39:06,710 - INFO - we take 498 photos in this while loop
MAIN: 2025-04-14 10:39:06,710 - INFO - /home/pi/Desktop/images/14042025/10/38/image_14042025_10_39_06_30155.jpg
MAIN: 2025-04-14 10:39:06,710 - INFO - duration: 0.8237454860027356
MAIN: 2025-04-14 10:39:06,710 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/39'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:39:36,480 - INFO - taking picture
MAIN: 2025-04-14 10:39:36,481 - INFO - we take 499 photos in this while loop
MAIN: 2025-04-14 10:39:36,481 - INFO - /home/pi/Desktop/images/14042025/10/39/image_14042025_10_39_36_29799.jpg
MAIN: 2025-04-14 10:39:36,481 - INFO - duration: 0.7959183940001822
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:40:06,718 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 10:40:06,864 - INFO - taking picture
MAIN: 2025-04-14 10:40:06,865 - INFO - we take 500 photos in this while loop
MAIN: 2025-04-14 10:40:06,865 - INFO - /home/pi/Desktop/images/14042025/10/39/image_14042025_10_40_06_30389.jpg
MAIN: 2025-04-14 10:40:06,865 - INFO - duration: 0.7898087020003004
MAIN: 2025-04-14 10:40:06,866 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/40'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:40:37,659 - INFO - taking picture
MAIN: 2025-04-14 10:40:37,660 - INFO - we take 501 photos in this while loop
MAIN: 2025-04-14 10:40:37,660 - INFO - /home/pi/Desktop/images/14042025/10/40/image_14042025_10_40_37_30807.jpg
MAIN: 2025-04-14 10:40:37,660 - INFO - duration: 0.778020050998748
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:41:06,006 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:41:07,308 - INFO - taking picture
MAIN: 2025-04-14 10:41:07,308 - INFO - we take 502 photos in this while loop
MAIN: 2025-04-14 10:41:07,308 - INFO - /home/pi/Desktop/images/14042025/10/40/image_14042025_10_41_06_29662.jpg
MAIN: 2025-04-14 10:41:07,309 - INFO - duration: 0.7637243169992871
MAIN: 2025-04-14 10:41:07,309 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/41'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:41:36,903 - INFO - taking picture
MAIN: 2025-04-14 10:41:36,903 - INFO - we take 503 photos in this while loop
MAIN: 2025-04-14 10:41:36,903 - INFO - /home/pi/Desktop/images/14042025/10/41/image_14042025_10_41_36_29573.jpg
MAIN: 2025-04-14 10:41:36,904 - INFO - duration: 0.7857032770007208
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:42:05,333 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:42:06,703 - INFO - taking picture
MAIN: 2025-04-14 10:42:06,703 - INFO - we take 504 photos in this while loop
MAIN: 2025-04-14 10:42:06,703 - INFO - /home/pi/Desktop/images/14042025/10/41/image_14042025_10_42_06_29821.jpg
MAIN: 2025-04-14 10:42:06,704 - INFO - duration: 0.7647307190018182
MAIN: 2025-04-14 10:42:06,704 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/42'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:42:36,392 - INFO - taking picture
MAIN: 2025-04-14 10:42:36,392 - INFO - we take 505 photos in this while loop
MAIN: 2025-04-14 10:42:36,393 - INFO - /home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_35_29677.jpg
MAIN: 2025-04-14 10:42:36,393 - INFO - duration: 0.7761704580007063
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:43:05,598 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:43:07,610 - INFO - taking picture
MAIN: 2025-04-14 10:43:07,611 - INFO - we take 506 photos in this while loop
MAIN: 2025-04-14 10:43:07,611 - INFO - /home/pi/Desktop/images/14042025/10/42/image_14042025_10_43_07_31225.jpg
MAIN: 2025-04-14 10:43:07,611 - INFO - duration: 0.7694321739982115
MAIN: 2025-04-14 10:43:07,611 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/43'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:43:37,323 - INFO - taking picture
MAIN: 2025-04-14 10:43:37,324 - INFO - we take 507 photos in this while loop
MAIN: 2025-04-14 10:43:37,324 - INFO - /home/pi/Desktop/images/14042025/10/43/image_14042025_10_43_36_29720.jpg
MAIN: 2025-04-14 10:43:37,324 - INFO - duration: 0.7624025350014563
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:44:06,533 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:44:07,376 - INFO - taking picture
MAIN: 2025-04-14 10:44:07,377 - INFO - we take 508 photos in this while loop
MAIN: 2025-04-14 10:44:07,377 - INFO - /home/pi/Desktop/images/14042025/10/43/image_14042025_10_44_06_30084.jpg
MAIN: 2025-04-14 10:44:07,377 - INFO - duration: 0.7309163819991227
MAIN: 2025-04-14 10:44:07,377 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/44'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:44:36,969 - INFO - taking picture
MAIN: 2025-04-14 10:44:36,969 - INFO - we take 509 photos in this while loop
MAIN: 2025-04-14 10:44:36,969 - INFO - /home/pi/Desktop/images/14042025/10/44/image_14042025_10_44_36_29560.jpg
MAIN: 2025-04-14 10:44:36,970 - INFO - duration: 0.7634587819993612
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:45:06,348 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:45:07,094 - INFO - taking picture
MAIN: 2025-04-14 10:45:07,095 - INFO - we take 510 photos in this while loop
MAIN: 2025-04-14 10:45:07,095 - INFO - /home/pi/Desktop/images/14042025/10/44/image_14042025_10_45_06_30095.jpg
MAIN: 2025-04-14 10:45:07,095 - INFO - duration: 0.79347560899987
MAIN: 2025-04-14 10:45:07,096 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/45'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:45:36,647 - INFO - taking picture
MAIN: 2025-04-14 10:45:36,647 - INFO - we take 511 photos in this while loop
MAIN: 2025-04-14 10:45:36,648 - INFO - /home/pi/Desktop/images/14042025/10/45/image_14042025_10_45_36_29619.jpg
MAIN: 2025-04-14 10:45:36,648 - INFO - duration: 0.7265835639991565
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:46:06,186 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:46:06,954 - INFO - taking picture
MAIN: 2025-04-14 10:46:06,954 - INFO - we take 512 photos in this while loop
MAIN: 2025-04-14 10:46:06,954 - INFO - /home/pi/Desktop/images/14042025/10/45/image_14042025_10_46_06_30270.jpg
MAIN: 2025-04-14 10:46:06,955 - INFO - duration: 0.7629985220009985
MAIN: 2025-04-14 10:46:06,955 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/46'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:46:36,688 - INFO - taking picture
MAIN: 2025-04-14 10:46:36,689 - INFO - we take 513 photos in this while loop
MAIN: 2025-04-14 10:46:36,689 - INFO - /home/pi/Desktop/images/14042025/10/46/image_14042025_10_46_36_29763.jpg
MAIN: 2025-04-14 10:46:36,689 - INFO - duration: 0.7343125389998022
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:47:06,273 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:47:06,768 - INFO - taking picture
MAIN: 2025-04-14 10:47:06,768 - INFO - we take 514 photos in this while loop
MAIN: 2025-04-14 10:47:06,768 - INFO - /home/pi/Desktop/images/14042025/10/46/image_14042025_10_47_06_30045.jpg
MAIN: 2025-04-14 10:47:06,769 - INFO - duration: 0.7681937420020404
MAIN: 2025-04-14 10:47:06,769 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/47'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:47:36,447 - INFO - taking picture
MAIN: 2025-04-14 10:47:36,448 - INFO - we take 515 photos in this while loop
MAIN: 2025-04-14 10:47:36,448 - INFO - /home/pi/Desktop/images/14042025/10/47/image_14042025_10_47_36_29690.jpg
MAIN: 2025-04-14 10:47:36,448 - INFO - duration: 0.7574342179977975
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:48:05,814 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:48:06,447 - INFO - taking picture
MAIN: 2025-04-14 10:48:06,448 - INFO - we take 516 photos in this while loop
MAIN: 2025-04-14 10:48:06,448 - INFO - /home/pi/Desktop/images/14042025/10/47/image_14042025_10_48_06_29953.jpg
MAIN: 2025-04-14 10:48:06,448 - INFO - duration: 0.8035163589993317
MAIN: 2025-04-14 10:48:06,449 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/48'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:48:37,363 - INFO - taking picture
MAIN: 2025-04-14 10:48:37,364 - INFO - we take 517 photos in this while loop
MAIN: 2025-04-14 10:48:37,364 - INFO - /home/pi/Desktop/images/14042025/10/48/image_14042025_10_48_36_30961.jpg
MAIN: 2025-04-14 10:48:37,364 - INFO - duration: 0.7583077689996571
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:49:05,637 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:49:07,128 - INFO - taking picture
MAIN: 2025-04-14 10:49:07,129 - INFO - we take 518 photos in this while loop
MAIN: 2025-04-14 10:49:07,129 - INFO - /home/pi/Desktop/images/14042025/10/48/image_14042025_10_49_06_29752.jpg
MAIN: 2025-04-14 10:49:07,129 - INFO - duration: 0.7711668369993276
MAIN: 2025-04-14 10:49:07,130 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/49'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:49:36,698 - INFO - taking picture
MAIN: 2025-04-14 10:49:36,699 - INFO - we take 519 photos in this while loop
MAIN: 2025-04-14 10:49:36,699 - INFO - /home/pi/Desktop/images/14042025/10/49/image_14042025_10_49_36_29583.jpg
MAIN: 2025-04-14 10:49:36,699 - INFO - duration: 0.7576014769983885
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:50:06,748 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 10:50:06,831 - INFO - taking picture
MAIN: 2025-04-14 10:50:06,832 - INFO - we take 520 photos in this while loop
MAIN: 2025-04-14 10:50:06,833 - INFO - /home/pi/Desktop/images/14042025/10/49/image_14042025_10_50_06_30088.jpg
MAIN: 2025-04-14 10:50:06,833 - INFO - duration: 0.8036788259996683
MAIN: 2025-04-14 10:50:06,834 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/50'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:50:36,441 - INFO - taking picture
MAIN: 2025-04-14 10:50:36,442 - INFO - we take 521 photos in this while loop
MAIN: 2025-04-14 10:50:36,442 - INFO - /home/pi/Desktop/images/14042025/10/50/image_14042025_10_50_36_29640.jpg
MAIN: 2025-04-14 10:50:36,442 - INFO - duration: 0.7726913810001861
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:51:05,976 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:51:07,489 - INFO - taking picture
MAIN: 2025-04-14 10:51:07,490 - INFO - we take 522 photos in this while loop
MAIN: 2025-04-14 10:51:07,490 - INFO - /home/pi/Desktop/images/14042025/10/50/image_14042025_10_51_07_31041.jpg
MAIN: 2025-04-14 10:51:07,490 - INFO - duration: 0.7799660210002912
MAIN: 2025-04-14 10:51:07,491 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/51'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:51:36,887 - INFO - taking picture
MAIN: 2025-04-14 10:51:36,888 - INFO - we take 523 photos in this while loop
MAIN: 2025-04-14 10:51:36,888 - INFO - /home/pi/Desktop/images/14042025/10/51/image_14042025_10_51_36_29410.jpg
MAIN: 2025-04-14 10:51:36,888 - INFO - duration: 0.7667991499984055
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:52:06,506 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:52:07,085 - INFO - taking picture
MAIN: 2025-04-14 10:52:07,085 - INFO - we take 524 photos in this while loop
MAIN: 2025-04-14 10:52:07,086 - INFO - /home/pi/Desktop/images/14042025/10/51/image_14042025_10_52_06_30168.jpg
MAIN: 2025-04-14 10:52:07,086 - INFO - duration: 0.7958126429984986
MAIN: 2025-04-14 10:52:07,086 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/52'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:52:36,710 - INFO - taking picture
MAIN: 2025-04-14 10:52:36,710 - INFO - we take 525 photos in this while loop
MAIN: 2025-04-14 10:52:36,711 - INFO - /home/pi/Desktop/images/14042025/10/52/image_14042025_10_52_36_29650.jpg
MAIN: 2025-04-14 10:52:36,711 - INFO - duration: 0.7705851459977566
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:53:05,399 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:53:07,527 - INFO - taking picture
MAIN: 2025-04-14 10:53:07,527 - INFO - we take 526 photos in this while loop
MAIN: 2025-04-14 10:53:07,528 - INFO - /home/pi/Desktop/images/14042025/10/52/image_14042025_10_53_07_30806.jpg
MAIN: 2025-04-14 10:53:07,528 - INFO - duration: 0.7809949420006888
MAIN: 2025-04-14 10:53:07,528 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/53'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:53:36,867 - INFO - taking picture
MAIN: 2025-04-14 10:53:36,868 - INFO - we take 527 photos in this while loop
MAIN: 2025-04-14 10:53:36,868 - INFO - /home/pi/Desktop/images/14042025/10/53/image_14042025_10_53_36_29366.jpg
MAIN: 2025-04-14 10:53:36,868 - INFO - duration: 0.7550629629986361
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:54:06,181 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:54:06,850 - INFO - taking picture
MAIN: 2025-04-14 10:54:06,851 - INFO - we take 528 photos in this while loop
MAIN: 2025-04-14 10:54:06,851 - INFO - /home/pi/Desktop/images/14042025/10/53/image_14042025_10_54_06_29959.jpg
MAIN: 2025-04-14 10:54:06,851 - INFO - duration: 0.7787619779992383
MAIN: 2025-04-14 10:54:06,852 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/54'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:54:37,502 - INFO - taking picture
MAIN: 2025-04-14 10:54:37,503 - INFO - we take 529 photos in this while loop
MAIN: 2025-04-14 10:54:37,503 - INFO - /home/pi/Desktop/images/14042025/10/54/image_14042025_10_54_37_30719.jpg
MAIN: 2025-04-14 10:54:37,503 - INFO - duration: 0.7114056210011768
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:55:06,280 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:55:07,447 - INFO - taking picture
MAIN: 2025-04-14 10:55:07,448 - INFO - we take 530 photos in this while loop
MAIN: 2025-04-14 10:55:07,448 - INFO - /home/pi/Desktop/images/14042025/10/54/image_14042025_10_55_06_29880.jpg
MAIN: 2025-04-14 10:55:07,449 - INFO - duration: 0.7762994820004678
MAIN: 2025-04-14 10:55:07,449 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/55'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:55:36,992 - INFO - taking picture
MAIN: 2025-04-14 10:55:36,993 - INFO - we take 531 photos in this while loop
MAIN: 2025-04-14 10:55:36,993 - INFO - /home/pi/Desktop/images/14042025/10/55/image_14042025_10_55_36_29605.jpg
MAIN: 2025-04-14 10:55:36,993 - INFO - duration: 0.7151303140017262
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:56:06,334 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:56:07,047 - INFO - taking picture
MAIN: 2025-04-14 10:56:07,047 - INFO - we take 532 photos in this while loop
MAIN: 2025-04-14 10:56:07,048 - INFO - /home/pi/Desktop/images/14042025/10/55/image_14042025_10_56_06_30032.jpg
MAIN: 2025-04-14 10:56:07,048 - INFO - duration: 0.7369684949990187
MAIN: 2025-04-14 10:56:07,048 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/56'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:56:36,569 - INFO - taking picture
MAIN: 2025-04-14 10:56:36,569 - INFO - we take 533 photos in this while loop
MAIN: 2025-04-14 10:56:36,569 - INFO - /home/pi/Desktop/images/14042025/10/56/image_14042025_10_56_36_29477.jpg
MAIN: 2025-04-14 10:56:36,570 - INFO - duration: 0.7812648030012497
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:57:06,045 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:57:07,506 - INFO - taking picture
MAIN: 2025-04-14 10:57:07,507 - INFO - we take 534 photos in this while loop
MAIN: 2025-04-14 10:57:07,507 - INFO - /home/pi/Desktop/images/14042025/10/56/image_14042025_10_57_07_30951.jpg
MAIN: 2025-04-14 10:57:07,507 - INFO - duration: 0.7669170940025651
MAIN: 2025-04-14 10:57:07,508 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/57'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:57:36,970 - INFO - taking picture
MAIN: 2025-04-14 10:57:36,971 - INFO - we take 535 photos in this while loop
MAIN: 2025-04-14 10:57:36,971 - INFO - /home/pi/Desktop/images/14042025/10/57/image_14042025_10_57_36_29470.jpg
MAIN: 2025-04-14 10:57:36,971 - INFO - duration: 0.7605714189994615
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:58:05,668 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:58:06,730 - INFO - taking picture
MAIN: 2025-04-14 10:58:06,730 - INFO - we take 536 photos in this while loop
MAIN: 2025-04-14 10:58:06,731 - INFO - /home/pi/Desktop/images/14042025/10/57/image_14042025_10_58_06_29795.jpg
MAIN: 2025-04-14 10:58:06,731 - INFO - duration: 0.7247235009999713
MAIN: 2025-04-14 10:58:06,731 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/58'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:58:37,569 - INFO - taking picture
MAIN: 2025-04-14 10:58:37,570 - INFO - we take 537 photos in this while loop
MAIN: 2025-04-14 10:58:37,570 - INFO - /home/pi/Desktop/images/14042025/10/58/image_14042025_10_58_37_30785.jpg
MAIN: 2025-04-14 10:58:37,570 - INFO - duration: 0.7787911630002782
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 10:59:05,426 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:59:07,491 - INFO - taking picture
MAIN: 2025-04-14 10:59:07,492 - INFO - we take 538 photos in this while loop
MAIN: 2025-04-14 10:59:07,492 - INFO - /home/pi/Desktop/images/14042025/10/58/image_14042025_10_59_07_29929.jpg
MAIN: 2025-04-14 10:59:07,492 - INFO - duration: 0.7708913210008177
MAIN: 2025-04-14 10:59:07,493 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/10/59'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 10:59:37,107 - INFO - taking picture
MAIN: 2025-04-14 10:59:37,107 - INFO - we take 539 photos in this while loop
MAIN: 2025-04-14 10:59:37,107 - INFO - /home/pi/Desktop/images/14042025/10/59/image_14042025_10_59_36_29616.jpg
MAIN: 2025-04-14 10:59:37,108 - INFO - duration: 0.7698921549999795
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:00:07,565 - INFO - taking picture
MAIN: 2025-04-14 11:00:07,565 - INFO - we take 540 photos in this while loop
MAIN: 2025-04-14 11:00:07,566 - INFO - /home/pi/Desktop/images/14042025/10/59/image_14042025_11_00_07_30430.jpg
MAIN: 2025-04-14 11:00:07,566 - INFO - duration: 0.7979762210015906
MAIN: 2025-04-14 11:00:07,566 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/00'
MAIN: 2025-04-14 11:00:07,722 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:00:36,954 - INFO - taking picture
MAIN: 2025-04-14 11:00:36,955 - INFO - we take 541 photos in this while loop
MAIN: 2025-04-14 11:00:36,955 - INFO - /home/pi/Desktop/images/14042025/11/00/image_14042025_11_00_36_29390.jpg
MAIN: 2025-04-14 11:00:36,956 - INFO - duration: 0.7970660150022013
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:01:05,566 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:01:06,603 - INFO - taking picture
MAIN: 2025-04-14 11:01:06,604 - INFO - we take 542 photos in this while loop
MAIN: 2025-04-14 11:01:06,604 - INFO - /home/pi/Desktop/images/14042025/11/00/image_14042025_11_01_06_29732.jpg
MAIN: 2025-04-14 11:01:06,604 - INFO - duration: 0.7130627260012261
MAIN: 2025-04-14 11:01:06,605 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/01'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:01:37,208 - INFO - taking picture
MAIN: 2025-04-14 11:01:37,208 - INFO - we take 543 photos in this while loop
MAIN: 2025-04-14 11:01:37,209 - INFO - /home/pi/Desktop/images/14042025/11/01/image_14042025_11_01_36_30545.jpg
MAIN: 2025-04-14 11:01:37,209 - INFO - duration: 0.7724472119989514
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:02:06,007 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:02:06,731 - INFO - taking picture
MAIN: 2025-04-14 11:02:06,731 - INFO - we take 544 photos in this while loop
MAIN: 2025-04-14 11:02:06,732 - INFO - /home/pi/Desktop/images/14042025/11/01/image_14042025_11_02_06_29534.jpg
MAIN: 2025-04-14 11:02:06,732 - INFO - duration: 0.7613258059973305
MAIN: 2025-04-14 11:02:06,732 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/02'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:02:37,123 - INFO - taking picture
MAIN: 2025-04-14 11:02:37,123 - INFO - we take 545 photos in this while loop
MAIN: 2025-04-14 11:02:37,123 - INFO - /home/pi/Desktop/images/14042025/11/02/image_14042025_11_02_36_30444.jpg
MAIN: 2025-04-14 11:02:37,124 - INFO - duration: 0.7090990309989138
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:03:05,784 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:03:06,583 - INFO - taking picture
MAIN: 2025-04-14 11:03:06,584 - INFO - we take 546 photos in this while loop
MAIN: 2025-04-14 11:03:06,584 - INFO - /home/pi/Desktop/images/14042025/11/02/image_14042025_11_03_06_29451.jpg
MAIN: 2025-04-14 11:03:06,584 - INFO - duration: 0.7185213760021725
MAIN: 2025-04-14 11:03:06,585 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/03'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:03:37,045 - INFO - taking picture
MAIN: 2025-04-14 11:03:37,045 - INFO - we take 547 photos in this while loop
MAIN: 2025-04-14 11:03:37,045 - INFO - /home/pi/Desktop/images/14042025/11/03/image_14042025_11_03_36_30413.jpg
MAIN: 2025-04-14 11:03:37,045 - INFO - duration: 0.7661133619985776
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:04:06,451 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:04:06,910 - INFO - taking picture
MAIN: 2025-04-14 11:04:06,911 - INFO - we take 548 photos in this while loop
MAIN: 2025-04-14 11:04:06,911 - INFO - /home/pi/Desktop/images/14042025/11/03/image_14042025_11_04_06_29837.jpg
MAIN: 2025-04-14 11:04:06,911 - INFO - duration: 0.7940497189993039
MAIN: 2025-04-14 11:04:06,912 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/04'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:04:37,440 - INFO - taking picture
MAIN: 2025-04-14 11:04:37,441 - INFO - we take 549 photos in this while loop
MAIN: 2025-04-14 11:04:37,441 - INFO - /home/pi/Desktop/images/14042025/11/04/image_14042025_11_04_37_30588.jpg
MAIN: 2025-04-14 11:04:37,441 - INFO - duration: 0.7362555479994626
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:05:07,098 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 11:05:07,331 - INFO - taking picture
MAIN: 2025-04-14 11:05:07,332 - INFO - we take 550 photos in this while loop
MAIN: 2025-04-14 11:05:07,332 - INFO - /home/pi/Desktop/images/14042025/11/04/image_14042025_11_05_06_29846.jpg
MAIN: 2025-04-14 11:05:07,332 - INFO - duration: 0.7810059179973905
MAIN: 2025-04-14 11:05:07,333 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/05'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:05:36,763 - INFO - taking picture
MAIN: 2025-04-14 11:05:36,764 - INFO - we take 551 photos in this while loop
MAIN: 2025-04-14 11:05:36,764 - INFO - /home/pi/Desktop/images/14042025/11/05/image_14042025_11_05_36_29466.jpg
MAIN: 2025-04-14 11:05:36,764 - INFO - duration: 0.7462673730005918
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:06:05,634 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=13 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:06:06,518 - INFO - taking picture
MAIN: 2025-04-14 11:06:06,518 - INFO - we take 552 photos in this while loop
MAIN: 2025-04-14 11:06:06,518 - INFO - /home/pi/Desktop/images/14042025/11/05/image_14042025_11_06_06_29792.jpg
MAIN: 2025-04-14 11:06:06,519 - INFO - duration: 0.7078674739968847
MAIN: 2025-04-14 11:06:06,519 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/06'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=13 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:06:37,190 - INFO - taking picture
MAIN: 2025-04-14 11:06:37,191 - INFO - we take 553 photos in this while loop
MAIN: 2025-04-14 11:06:37,191 - INFO - /home/pi/Desktop/images/14042025/11/06/image_14042025_11_06_36_30605.jpg
MAIN: 2025-04-14 11:06:37,191 - INFO - duration: 0.7748828979965765
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:07:05,790 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:07:06,596 - INFO - taking picture
MAIN: 2025-04-14 11:07:06,597 - INFO - we take 554 photos in this while loop
MAIN: 2025-04-14 11:07:06,597 - INFO - /home/pi/Desktop/images/14042025/11/06/image_14042025_11_07_06_29469.jpg
MAIN: 2025-04-14 11:07:06,597 - INFO - duration: 0.7115297140007897
MAIN: 2025-04-14 11:07:06,598 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/07'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:07:37,233 - INFO - taking picture
MAIN: 2025-04-14 11:07:37,233 - INFO - we take 555 photos in this while loop
MAIN: 2025-04-14 11:07:37,234 - INFO - /home/pi/Desktop/images/14042025/11/07/image_14042025_11_07_36_30583.jpg
MAIN: 2025-04-14 11:07:37,234 - INFO - duration: 0.7645979510016332
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:08:05,928 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:08:07,028 - INFO - taking picture
MAIN: 2025-04-14 11:08:07,029 - INFO - we take 556 photos in this while loop
MAIN: 2025-04-14 11:08:07,029 - INFO - /home/pi/Desktop/images/14042025/11/07/image_14042025_11_08_06_29828.jpg
MAIN: 2025-04-14 11:08:07,029 - INFO - duration: 0.7318752389983274
MAIN: 2025-04-14 11:08:07,030 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/08'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:08:36,467 - INFO - taking picture
MAIN: 2025-04-14 11:08:36,467 - INFO - we take 557 photos in this while loop
MAIN: 2025-04-14 11:08:36,467 - INFO - /home/pi/Desktop/images/14042025/11/08/image_14042025_11_08_36_29386.jpg
MAIN: 2025-04-14 11:08:36,468 - INFO - duration: 0.7831117559981067
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:09:05,891 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:09:07,498 - INFO - taking picture
MAIN: 2025-04-14 11:09:07,499 - INFO - we take 558 photos in this while loop
MAIN: 2025-04-14 11:09:07,499 - INFO - /home/pi/Desktop/images/14042025/11/08/image_14042025_11_09_07_31043.jpg
MAIN: 2025-04-14 11:09:07,500 - INFO - duration: 0.7719061819989292
MAIN: 2025-04-14 11:09:07,500 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/09'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:09:37,004 - INFO - taking picture
MAIN: 2025-04-14 11:09:37,005 - INFO - we take 559 photos in this while loop
MAIN: 2025-04-14 11:09:37,005 - INFO - /home/pi/Desktop/images/14042025/11/09/image_14042025_11_09_36_29500.jpg
MAIN: 2025-04-14 11:09:37,005 - INFO - duration: 0.7769218599969463
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:10:07,137 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 11:10:07,428 - INFO - taking picture
MAIN: 2025-04-14 11:10:07,429 - INFO - we take 560 photos in this while loop
MAIN: 2025-04-14 11:10:07,429 - INFO - /home/pi/Desktop/images/14042025/11/09/image_14042025_11_10_06_30397.jpg
MAIN: 2025-04-14 11:10:07,430 - INFO - duration: 0.8041957179993915
MAIN: 2025-04-14 11:10:07,430 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/10'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:10:36,783 - INFO - taking picture
MAIN: 2025-04-14 11:10:36,784 - INFO - we take 561 photos in this while loop
MAIN: 2025-04-14 11:10:36,784 - INFO - /home/pi/Desktop/images/14042025/11/10/image_14042025_11_10_36_29374.jpg
MAIN: 2025-04-14 11:10:36,784 - INFO - duration: 0.7840883710014168
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:11:05,453 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:11:06,432 - INFO - taking picture
MAIN: 2025-04-14 11:11:06,433 - INFO - we take 562 photos in this while loop
MAIN: 2025-04-14 11:11:06,433 - INFO - /home/pi/Desktop/images/14042025/11/10/image_14042025_11_11_06_29724.jpg
MAIN: 2025-04-14 11:11:06,433 - INFO - duration: 0.7091296139988117
MAIN: 2025-04-14 11:11:06,434 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/11'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:11:37,169 - INFO - taking picture
MAIN: 2025-04-14 11:11:37,169 - INFO - we take 563 photos in this while loop
MAIN: 2025-04-14 11:11:37,170 - INFO - /home/pi/Desktop/images/14042025/11/11/image_14042025_11_11_36_30662.jpg
MAIN: 2025-04-14 11:11:37,170 - INFO - duration: 0.7830256640008884
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:12:06,009 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:12:06,975 - INFO - taking picture
MAIN: 2025-04-14 11:12:06,975 - INFO - we take 564 photos in this while loop
MAIN: 2025-04-14 11:12:06,976 - INFO - /home/pi/Desktop/images/14042025/11/11/image_14042025_11_12_06_29872.jpg
MAIN: 2025-04-14 11:12:06,976 - INFO - duration: 0.7167893020014162
MAIN: 2025-04-14 11:12:06,976 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/12'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:12:37,701 - INFO - taking picture
MAIN: 2025-04-14 11:12:37,701 - INFO - we take 565 photos in this while loop
MAIN: 2025-04-14 11:12:37,702 - INFO - /home/pi/Desktop/images/14042025/11/12/image_14042025_11_12_37_30685.jpg
MAIN: 2025-04-14 11:12:37,702 - INFO - duration: 0.7575407129988889
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:13:05,660 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:13:07,224 - INFO - taking picture
MAIN: 2025-04-14 11:13:07,225 - INFO - we take 566 photos in this while loop
MAIN: 2025-04-14 11:13:07,225 - INFO - /home/pi/Desktop/images/14042025/11/12/image_14042025_11_13_06_29541.jpg
MAIN: 2025-04-14 11:13:07,225 - INFO - duration: 0.7387791500004823
MAIN: 2025-04-14 11:13:07,225 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/13'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:13:36,481 - INFO - taking picture
MAIN: 2025-04-14 11:13:36,482 - INFO - we take 567 photos in this while loop
MAIN: 2025-04-14 11:13:36,482 - INFO - /home/pi/Desktop/images/14042025/11/13/image_14042025_11_13_36_29219.jpg
MAIN: 2025-04-14 11:13:36,482 - INFO - duration: 0.7765146749989071
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:14:06,501 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:14:07,476 - INFO - taking picture
MAIN: 2025-04-14 11:14:07,476 - INFO - we take 568 photos in this while loop
MAIN: 2025-04-14 11:14:07,477 - INFO - /home/pi/Desktop/images/14042025/11/13/image_14042025_11_14_07_31038.jpg
MAIN: 2025-04-14 11:14:07,477 - INFO - duration: 0.7331444619994727
MAIN: 2025-04-14 11:14:07,477 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/14'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:14:36,868 - INFO - taking picture
MAIN: 2025-04-14 11:14:36,869 - INFO - we take 569 photos in this while loop
MAIN: 2025-04-14 11:14:36,869 - INFO - /home/pi/Desktop/images/14042025/11/14/image_14042025_11_14_36_29353.jpg
MAIN: 2025-04-14 11:14:36,869 - INFO - duration: 0.771824571002071
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:15:06,843 - INFO - taking picture
MAIN: 2025-04-14 11:15:06,844 - INFO - we take 570 photos in this while loop
MAIN: 2025-04-14 11:15:06,845 - INFO - /home/pi/Desktop/images/14042025/11/14/image_14042025_11_15_06_29980.jpg
MAIN: 2025-04-14 11:15:06,845 - INFO - duration: 0.76693488300225
MAIN: 2025-04-14 11:15:06,846 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/15'
MAIN: 2025-04-14 11:15:07,037 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:15:37,509 - INFO - taking picture
MAIN: 2025-04-14 11:15:37,509 - INFO - we take 571 photos in this while loop
MAIN: 2025-04-14 11:15:37,510 - INFO - /home/pi/Desktop/images/14042025/11/15/image_14042025_11_15_37_30655.jpg
MAIN: 2025-04-14 11:15:37,510 - INFO - duration: 0.7762303009985771
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:16:06,458 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:16:07,302 - INFO - taking picture
MAIN: 2025-04-14 11:16:07,303 - INFO - we take 572 photos in this while loop
MAIN: 2025-04-14 11:16:07,303 - INFO - /home/pi/Desktop/images/14042025/11/15/image_14042025_11_16_06_29866.jpg
MAIN: 2025-04-14 11:16:07,303 - INFO - duration: 0.702922166998178
MAIN: 2025-04-14 11:16:07,303 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/16'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=13 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:16:36,589 - INFO - taking picture
MAIN: 2025-04-14 11:16:36,590 - INFO - we take 573 photos in this while loop
MAIN: 2025-04-14 11:16:36,590 - INFO - /home/pi/Desktop/images/14042025/11/16/image_14042025_11_16_36_29246.jpg
MAIN: 2025-04-14 11:16:36,590 - INFO - duration: 0.7436510260013165
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:17:05,718 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=13 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:17:07,407 - INFO - taking picture
MAIN: 2025-04-14 11:17:07,407 - INFO - we take 574 photos in this while loop
MAIN: 2025-04-14 11:17:07,408 - INFO - /home/pi/Desktop/images/14042025/11/16/image_14042025_11_17_06_30785.jpg
MAIN: 2025-04-14 11:17:07,408 - INFO - duration: 0.776103060998139
MAIN: 2025-04-14 11:17:07,408 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/17'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=13 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:17:36,721 - INFO - taking picture
MAIN: 2025-04-14 11:17:36,721 - INFO - we take 575 photos in this while loop
MAIN: 2025-04-14 11:17:36,722 - INFO - /home/pi/Desktop/images/14042025/11/17/image_14042025_11_17_36_29336.jpg
MAIN: 2025-04-14 11:17:36,722 - INFO - duration: 0.7532998300011968
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:18:06,013 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=13 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:18:07,577 - INFO - taking picture
MAIN: 2025-04-14 11:18:07,578 - INFO - we take 576 photos in this while loop
MAIN: 2025-04-14 11:18:07,578 - INFO - /home/pi/Desktop/images/14042025/11/17/image_14042025_11_18_07_30910.jpg
MAIN: 2025-04-14 11:18:07,578 - INFO - duration: 0.6994799280000734
MAIN: 2025-04-14 11:18:07,579 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/18'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=13 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:18:36,778 - INFO - taking picture
MAIN: 2025-04-14 11:18:36,778 - INFO - we take 577 photos in this while loop
MAIN: 2025-04-14 11:18:36,778 - INFO - /home/pi/Desktop/images/14042025/11/18/image_14042025_11_18_36_29125.jpg
MAIN: 2025-04-14 11:18:36,779 - INFO - duration: 0.7746851459996833
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:19:06,107 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=13 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:19:07,427 - INFO - taking picture
MAIN: 2025-04-14 11:19:07,428 - INFO - we take 578 photos in this while loop
MAIN: 2025-04-14 11:19:07,428 - INFO - /home/pi/Desktop/images/14042025/11/18/image_14042025_11_19_06_30678.jpg
MAIN: 2025-04-14 11:19:07,428 - INFO - duration: 0.7454518079975969
MAIN: 2025-04-14 11:19:07,429 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/19'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=13 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:19:36,832 - INFO - taking picture
MAIN: 2025-04-14 11:19:36,833 - INFO - we take 579 photos in this while loop
MAIN: 2025-04-14 11:19:36,833 - INFO - /home/pi/Desktop/images/14042025/11/19/image_14042025_11_19_36_29447.jpg
MAIN: 2025-04-14 11:19:36,833 - INFO - duration: 0.7031651370016334
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=83 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:20:06,941 - INFO - taking picture
MAIN: 2025-04-14 11:20:06,941 - INFO - we take 580 photos in this while loop
MAIN: 2025-04-14 11:20:06,942 - INFO - /home/pi/Desktop/images/14042025/11/19/image_14042025_11_20_06_30039.jpg
MAIN: 2025-04-14 11:20:06,942 - INFO - duration: 0.7724822689997382
MAIN: 2025-04-14 11:20:06,942 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/20'
MAIN: 2025-04-14 11:20:07,470 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=83 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:20:37,482 - INFO - taking picture
MAIN: 2025-04-14 11:20:37,482 - INFO - we take 581 photos in this while loop
MAIN: 2025-04-14 11:20:37,482 - INFO - /home/pi/Desktop/images/14042025/11/20/image_14042025_11_20_37_30543.jpg
MAIN: 2025-04-14 11:20:37,483 - INFO - duration: 0.7692151400005969
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:21:05,406 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=83 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:21:06,851 - INFO - taking picture
MAIN: 2025-04-14 11:21:06,851 - INFO - we take 582 photos in this while loop
MAIN: 2025-04-14 11:21:06,851 - INFO - /home/pi/Desktop/images/14042025/11/20/image_14042025_11_21_06_29377.jpg
MAIN: 2025-04-14 11:21:06,852 - INFO - duration: 0.7604086330029531
MAIN: 2025-04-14 11:21:06,852 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/21'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=83 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:21:37,543 - INFO - taking picture
MAIN: 2025-04-14 11:21:37,543 - INFO - we take 583 photos in this while loop
MAIN: 2025-04-14 11:21:37,543 - INFO - /home/pi/Desktop/images/14042025/11/21/image_14042025_11_21_37_30674.jpg
MAIN: 2025-04-14 11:21:37,544 - INFO - duration: 0.7780475210020086
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:22:05,699 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=83 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:22:07,225 - INFO - taking picture
MAIN: 2025-04-14 11:22:07,225 - INFO - we take 584 photos in this while loop
MAIN: 2025-04-14 11:22:07,226 - INFO - /home/pi/Desktop/images/14042025/11/21/image_14042025_11_22_06_29691.jpg
MAIN: 2025-04-14 11:22:07,226 - INFO - duration: 0.7690011230006348
MAIN: 2025-04-14 11:22:07,226 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/22'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=83 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:22:37,651 - INFO - taking picture
MAIN: 2025-04-14 11:22:37,652 - INFO - we take 585 photos in this while loop
MAIN: 2025-04-14 11:22:37,652 - INFO - /home/pi/Desktop/images/14042025/11/22/image_14042025_11_22_37_30402.jpg
MAIN: 2025-04-14 11:22:37,653 - INFO - duration: 0.7927386650007975
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:23:05,844 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=83 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:23:07,117 - INFO - taking picture
MAIN: 2025-04-14 11:23:07,117 - INFO - we take 586 photos in this while loop
MAIN: 2025-04-14 11:23:07,118 - INFO - /home/pi/Desktop/images/14042025/11/22/image_14042025_11_23_06_29507.jpg
MAIN: 2025-04-14 11:23:07,118 - INFO - duration: 0.7504212000021653
MAIN: 2025-04-14 11:23:07,118 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/23'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=83 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:23:36,374 - INFO - taking picture
MAIN: 2025-04-14 11:23:36,375 - INFO - we take 587 photos in this while loop
MAIN: 2025-04-14 11:23:36,375 - INFO - /home/pi/Desktop/images/14042025/11/23/image_14042025_11_23_35_29250.jpg
MAIN: 2025-04-14 11:23:36,375 - INFO - duration: 0.7569856049994996
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:24:06,470 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=83 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:24:07,204 - INFO - taking picture
MAIN: 2025-04-14 11:24:07,205 - INFO - we take 588 photos in this while loop
MAIN: 2025-04-14 11:24:07,205 - INFO - /home/pi/Desktop/images/14042025/11/23/image_14042025_11_24_06_30868.jpg
MAIN: 2025-04-14 11:24:07,205 - INFO - duration: 0.718754973000614
MAIN: 2025-04-14 11:24:07,206 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/24'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=83 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:24:36,618 - INFO - taking picture
MAIN: 2025-04-14 11:24:36,618 - INFO - we take 589 photos in this while loop
MAIN: 2025-04-14 11:24:36,618 - INFO - /home/pi/Desktop/images/14042025/11/24/image_14042025_11_24_36_29337.jpg
MAIN: 2025-04-14 11:24:36,619 - INFO - duration: 0.7946267280021857
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:25:06,177 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=83 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:25:06,678 - INFO - taking picture
MAIN: 2025-04-14 11:25:06,678 - INFO - we take 590 photos in this while loop
MAIN: 2025-04-14 11:25:06,679 - INFO - /home/pi/Desktop/images/14042025/11/24/image_14042025_11_25_06_30088.jpg
MAIN: 2025-04-14 11:25:06,679 - INFO - duration: 0.7664237130011315
MAIN: 2025-04-14 11:25:06,679 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/25'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=83 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:25:37,172 - INFO - taking picture
MAIN: 2025-04-14 11:25:37,173 - INFO - we take 591 photos in this while loop
MAIN: 2025-04-14 11:25:37,173 - INFO - /home/pi/Desktop/images/14042025/11/25/image_14042025_11_25_36_30505.jpg
MAIN: 2025-04-14 11:25:37,173 - INFO - duration: 0.7557472230000712
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:26:05,729 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=83 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:26:06,721 - INFO - taking picture
MAIN: 2025-04-14 11:26:06,721 - INFO - we take 592 photos in this while loop
MAIN: 2025-04-14 11:26:06,722 - INFO - /home/pi/Desktop/images/14042025/11/25/image_14042025_11_26_06_29604.jpg
MAIN: 2025-04-14 11:26:06,722 - INFO - duration: 0.6996046620006382
MAIN: 2025-04-14 11:26:06,722 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/26'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=83 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:26:37,129 - INFO - taking picture
MAIN: 2025-04-14 11:26:37,130 - INFO - we take 593 photos in this while loop
MAIN: 2025-04-14 11:26:37,130 - INFO - /home/pi/Desktop/images/14042025/11/26/image_14042025_11_26_36_30371.jpg
MAIN: 2025-04-14 11:26:37,130 - INFO - duration: 0.7363288350024959
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:27:05,706 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=83 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:27:06,503 - INFO - taking picture
MAIN: 2025-04-14 11:27:06,504 - INFO - we take 594 photos in this while loop
MAIN: 2025-04-14 11:27:06,504 - INFO - /home/pi/Desktop/images/14042025/11/26/image_14042025_11_27_06_29407.jpg
MAIN: 2025-04-14 11:27:06,504 - INFO - duration: 0.703107336001267
MAIN: 2025-04-14 11:27:06,505 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/27'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=83 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:27:37,072 - INFO - taking picture
MAIN: 2025-04-14 11:27:37,072 - INFO - we take 595 photos in this while loop
MAIN: 2025-04-14 11:27:37,072 - INFO - /home/pi/Desktop/images/14042025/11/27/image_14042025_11_27_36_30510.jpg
MAIN: 2025-04-14 11:27:37,073 - INFO - duration: 0.7611525130014343
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:28:06,030 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=83 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:28:06,832 - INFO - taking picture
MAIN: 2025-04-14 11:28:06,833 - INFO - we take 596 photos in this while loop
MAIN: 2025-04-14 11:28:06,833 - INFO - /home/pi/Desktop/images/14042025/11/27/image_14042025_11_28_06_29806.jpg
MAIN: 2025-04-14 11:28:06,833 - INFO - duration: 0.7158634580009675
MAIN: 2025-04-14 11:28:06,834 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/28'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=83 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:28:37,529 - INFO - taking picture
MAIN: 2025-04-14 11:28:37,529 - INFO - we take 597 photos in this while loop
MAIN: 2025-04-14 11:28:37,530 - INFO - /home/pi/Desktop/images/14042025/11/28/image_14042025_11_28_37_30630.jpg
MAIN: 2025-04-14 11:28:37,530 - INFO - duration: 0.7816599920006411
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:29:05,877 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=83 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:29:07,023 - INFO - taking picture
MAIN: 2025-04-14 11:29:07,024 - INFO - we take 598 photos in this while loop
MAIN: 2025-04-14 11:29:07,024 - INFO - /home/pi/Desktop/images/14042025/11/28/image_14042025_11_29_06_29527.jpg
MAIN: 2025-04-14 11:29:07,025 - INFO - duration: 0.7489261560003797
MAIN: 2025-04-14 11:29:07,025 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/29'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=83 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:29:37,456 - INFO - taking picture
MAIN: 2025-04-14 11:29:37,457 - INFO - we take 599 photos in this while loop
MAIN: 2025-04-14 11:29:37,457 - INFO - /home/pi/Desktop/images/14042025/11/29/image_14042025_11_29_37_30474.jpg
MAIN: 2025-04-14 11:29:37,457 - INFO - duration: 0.7073699209977349
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=83 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:30:07,443 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 11:30:07,743 - INFO - taking picture
MAIN: 2025-04-14 11:30:07,744 - INFO - we take 600 photos in this while loop
MAIN: 2025-04-14 11:30:07,744 - INFO - /home/pi/Desktop/images/14042025/11/29/image_14042025_11_30_07_30162.jpg
MAIN: 2025-04-14 11:30:07,744 - INFO - duration: 0.8316583079977136
MAIN: 2025-04-14 11:30:07,745 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/30'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=83 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:30:36,842 - INFO - taking picture
MAIN: 2025-04-14 11:30:36,843 - INFO - we take 601 photos in this while loop
MAIN: 2025-04-14 11:30:36,843 - INFO - /home/pi/Desktop/images/14042025/11/30/image_14042025_11_30_36_29228.jpg
MAIN: 2025-04-14 11:30:36,844 - INFO - duration: 0.7029840609975508
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:31:05,619 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=83 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:31:07,672 - INFO - taking picture
MAIN: 2025-04-14 11:31:07,672 - INFO - we take 602 photos in this while loop
MAIN: 2025-04-14 11:31:07,672 - INFO - /home/pi/Desktop/images/14042025/11/30/image_14042025_11_31_07_30760.jpg
MAIN: 2025-04-14 11:31:07,673 - INFO - duration: 0.7716280429995095
MAIN: 2025-04-14 11:31:07,673 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/31'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:31:37,158 - INFO - taking picture
MAIN: 2025-04-14 11:31:37,159 - INFO - we take 603 photos in this while loop
MAIN: 2025-04-14 11:31:37,159 - INFO - /home/pi/Desktop/images/14042025/11/31/image_14042025_11_31_36_29486.jpg
MAIN: 2025-04-14 11:31:37,159 - INFO - duration: 0.7721108959995036
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:32:05,824 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:32:06,935 - INFO - taking picture
MAIN: 2025-04-14 11:32:06,936 - INFO - we take 604 photos in this while loop
MAIN: 2025-04-14 11:32:06,936 - INFO - /home/pi/Desktop/images/14042025/11/31/image_14042025_11_32_06_29839.jpg
MAIN: 2025-04-14 11:32:06,936 - INFO - duration: 0.710166428998491
MAIN: 2025-04-14 11:32:06,937 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/32'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:32:37,595 - INFO - taking picture
MAIN: 2025-04-14 11:32:37,595 - INFO - we take 605 photos in this while loop
MAIN: 2025-04-14 11:32:37,596 - INFO - /home/pi/Desktop/images/14042025/11/32/image_14042025_11_32_37_30591.jpg
MAIN: 2025-04-14 11:32:37,596 - INFO - duration: 0.7784909299989522
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:33:05,833 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:33:07,144 - INFO - taking picture
MAIN: 2025-04-14 11:33:07,145 - INFO - we take 606 photos in this while loop
MAIN: 2025-04-14 11:33:07,145 - INFO - /home/pi/Desktop/images/14042025/11/32/image_14042025_11_33_06_29579.jpg
MAIN: 2025-04-14 11:33:07,145 - INFO - duration: 0.748401377000846
MAIN: 2025-04-14 11:33:07,145 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/33'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:33:36,475 - INFO - taking picture
MAIN: 2025-04-14 11:33:36,476 - INFO - we take 607 photos in this while loop
MAIN: 2025-04-14 11:33:36,476 - INFO - /home/pi/Desktop/images/14042025/11/33/image_14042025_11_33_36_29317.jpg
MAIN: 2025-04-14 11:33:36,476 - INFO - duration: 0.7621971549997397
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:34:06,109 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:34:07,514 - INFO - taking picture
MAIN: 2025-04-14 11:34:07,515 - INFO - we take 608 photos in this while loop
MAIN: 2025-04-14 11:34:07,515 - INFO - /home/pi/Desktop/images/14042025/11/33/image_14042025_11_34_07_31030.jpg
MAIN: 2025-04-14 11:34:07,515 - INFO - duration: 0.7706518380000489
MAIN: 2025-04-14 11:34:07,515 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/34'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:34:36,977 - INFO - taking picture
MAIN: 2025-04-14 11:34:36,977 - INFO - we take 609 photos in this while loop
MAIN: 2025-04-14 11:34:36,978 - INFO - /home/pi/Desktop/images/14042025/11/34/image_14042025_11_34_36_29464.jpg
MAIN: 2025-04-14 11:34:36,978 - INFO - duration: 0.7686914119985886
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:35:07,046 - INFO - taking picture
MAIN: 2025-04-14 11:35:07,047 - INFO - we take 610 photos in this while loop
MAIN: 2025-04-14 11:35:07,047 - INFO - /home/pi/Desktop/images/14042025/11/34/image_14042025_11_35_06_30065.jpg
MAIN: 2025-04-14 11:35:07,047 - INFO - duration: 0.7724266149998584
MAIN: 2025-04-14 11:35:07,047 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/35'
MAIN: 2025-04-14 11:35:07,069 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:35:36,426 - INFO - taking picture
MAIN: 2025-04-14 11:35:36,426 - INFO - we take 611 photos in this while loop
MAIN: 2025-04-14 11:35:36,426 - INFO - /home/pi/Desktop/images/14042025/11/35/image_14042025_11_35_36_29380.jpg
MAIN: 2025-04-14 11:35:36,427 - INFO - duration: 0.7716700970013335
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:36:05,912 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:36:07,555 - INFO - taking picture
MAIN: 2025-04-14 11:36:07,555 - INFO - we take 612 photos in this while loop
MAIN: 2025-04-14 11:36:07,555 - INFO - /home/pi/Desktop/images/14042025/11/35/image_14042025_11_36_07_31133.jpg
MAIN: 2025-04-14 11:36:07,556 - INFO - duration: 0.7669470670007286
MAIN: 2025-04-14 11:36:07,556 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/36'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:36:37,039 - INFO - taking picture
MAIN: 2025-04-14 11:36:37,040 - INFO - we take 613 photos in this while loop
MAIN: 2025-04-14 11:36:37,040 - INFO - /home/pi/Desktop/images/14042025/11/36/image_14042025_11_36_36_29458.jpg
MAIN: 2025-04-14 11:36:37,040 - INFO - duration: 0.793373425000027
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:37:05,580 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:37:06,716 - INFO - taking picture
MAIN: 2025-04-14 11:37:06,716 - INFO - we take 614 photos in this while loop
MAIN: 2025-04-14 11:37:06,716 - INFO - /home/pi/Desktop/images/14042025/11/36/image_14042025_11_37_06_29732.jpg
MAIN: 2025-04-14 11:37:06,717 - INFO - duration: 0.7372855330031598
MAIN: 2025-04-14 11:37:06,717 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/37'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:37:37,404 - INFO - taking picture
MAIN: 2025-04-14 11:37:37,405 - INFO - we take 615 photos in this while loop
MAIN: 2025-04-14 11:37:37,405 - INFO - /home/pi/Desktop/images/14042025/11/37/image_14042025_11_37_36_30652.jpg
MAIN: 2025-04-14 11:37:37,405 - INFO - duration: 0.7729190309983096
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:38:06,112 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:38:07,033 - INFO - taking picture
MAIN: 2025-04-14 11:38:07,034 - INFO - we take 616 photos in this while loop
MAIN: 2025-04-14 11:38:07,034 - INFO - /home/pi/Desktop/images/14042025/11/37/image_14042025_11_38_06_29706.jpg
MAIN: 2025-04-14 11:38:07,034 - INFO - duration: 0.6953229039972939
MAIN: 2025-04-14 11:38:07,035 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/38'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:38:37,629 - INFO - taking picture
MAIN: 2025-04-14 11:38:37,629 - INFO - we take 617 photos in this while loop
MAIN: 2025-04-14 11:38:37,630 - INFO - /home/pi/Desktop/images/14042025/11/38/image_14042025_11_38_37_30539.jpg
MAIN: 2025-04-14 11:38:37,630 - INFO - duration: 0.7513157829998818
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:39:05,905 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:39:07,082 - INFO - taking picture
MAIN: 2025-04-14 11:39:07,083 - INFO - we take 618 photos in this while loop
MAIN: 2025-04-14 11:39:07,083 - INFO - /home/pi/Desktop/images/14042025/11/38/image_14042025_11_39_06_29474.jpg
MAIN: 2025-04-14 11:39:07,083 - INFO - duration: 0.7307375949967536
MAIN: 2025-04-14 11:39:07,084 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/39'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:39:36,392 - INFO - taking picture
MAIN: 2025-04-14 11:39:36,393 - INFO - we take 619 photos in this while loop
MAIN: 2025-04-14 11:39:36,393 - INFO - /home/pi/Desktop/images/14042025/11/39/image_14042025_11_39_35_29274.jpg
MAIN: 2025-04-14 11:39:36,393 - INFO - duration: 0.7658112479984993
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:40:06,718 - INFO - taking picture
MAIN: 2025-04-14 11:40:06,719 - INFO - we take 620 photos in this while loop
MAIN: 2025-04-14 11:40:06,719 - INFO - /home/pi/Desktop/images/14042025/11/39/image_14042025_11_40_06_30215.jpg
MAIN: 2025-04-14 11:40:06,719 - INFO - duration: 0.8771287810013746
MAIN: 2025-04-14 11:40:06,720 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/40'
MAIN: 2025-04-14 11:40:07,423 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:40:37,219 - INFO - taking picture
MAIN: 2025-04-14 11:40:37,220 - INFO - we take 621 photos in this while loop
MAIN: 2025-04-14 11:40:37,220 - INFO - /home/pi/Desktop/images/14042025/11/40/image_14042025_11_40_36_30602.jpg
MAIN: 2025-04-14 11:40:37,220 - INFO - duration: 0.7753240559977712
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:41:05,370 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:41:06,787 - INFO - taking picture
MAIN: 2025-04-14 11:41:06,788 - INFO - we take 622 photos in this while loop
MAIN: 2025-04-14 11:41:06,788 - INFO - /home/pi/Desktop/images/14042025/11/40/image_14042025_11_41_06_29560.jpg
MAIN: 2025-04-14 11:41:06,788 - INFO - duration: 0.7820074400005979
MAIN: 2025-04-14 11:41:06,788 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/41'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:41:37,402 - INFO - taking picture
MAIN: 2025-04-14 11:41:37,403 - INFO - we take 623 photos in this while loop
MAIN: 2025-04-14 11:41:37,403 - INFO - /home/pi/Desktop/images/14042025/11/41/image_14042025_11_41_36_30647.jpg
MAIN: 2025-04-14 11:41:37,404 - INFO - duration: 0.7501765929991961
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:42:05,865 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:42:07,225 - INFO - taking picture
MAIN: 2025-04-14 11:42:07,226 - INFO - we take 624 photos in this while loop
MAIN: 2025-04-14 11:42:07,226 - INFO - /home/pi/Desktop/images/14042025/11/41/image_14042025_11_42_06_29802.jpg
MAIN: 2025-04-14 11:42:07,226 - INFO - duration: 0.7702298770018388
MAIN: 2025-04-14 11:42:07,227 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/42'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:42:36,525 - INFO - taking picture
MAIN: 2025-04-14 11:42:36,526 - INFO - we take 625 photos in this while loop
MAIN: 2025-04-14 11:42:36,526 - INFO - /home/pi/Desktop/images/14042025/11/42/image_14042025_11_42_36_29276.jpg
MAIN: 2025-04-14 11:42:36,526 - INFO - duration: 0.7936118079996959
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:43:05,979 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:43:07,424 - INFO - taking picture
MAIN: 2025-04-14 11:43:07,424 - INFO - we take 626 photos in this while loop
MAIN: 2025-04-14 11:43:07,424 - INFO - /home/pi/Desktop/images/14042025/11/42/image_14042025_11_43_07_30935.jpg
MAIN: 2025-04-14 11:43:07,425 - INFO - duration: 0.7568057520002185
MAIN: 2025-04-14 11:43:07,425 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/43'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:43:36,606 - INFO - taking picture
MAIN: 2025-04-14 11:43:36,607 - INFO - we take 627 photos in this while loop
MAIN: 2025-04-14 11:43:36,607 - INFO - /home/pi/Desktop/images/14042025/11/43/image_14042025_11_43_36_29181.jpg
MAIN: 2025-04-14 11:43:36,607 - INFO - duration: 0.7574839789995167
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:44:06,374 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0

 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)MAIN: 2025-04-14 11:44:07,507 - INFO - taking picture
MAIN: 2025-04-14 11:44:07,508 - INFO - we take 628 photos in this while loop
MAIN: 2025-04-14 11:44:07,508 - INFO - /home/pi/Desktop/images/14042025/11/43/image_14042025_11_44_07_30905.jpg
MAIN: 2025-04-14 11:44:07,508 - INFO - duration: 0.7537318400027289
MAIN: 2025-04-14 11:44:07,509 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/44'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:44:36,897 - INFO - taking picture
MAIN: 2025-04-14 11:44:36,897 - INFO - we take 629 photos in this while loop
MAIN: 2025-04-14 11:44:36,898 - INFO - /home/pi/Desktop/images/14042025/11/44/image_14042025_11_44_36_29385.jpg
MAIN: 2025-04-14 11:44:36,898 - INFO - duration: 0.7579743909991521
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:45:06,213 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:45:06,932 - INFO - taking picture
MAIN: 2025-04-14 11:45:06,933 - INFO - we take 630 photos in this while loop
MAIN: 2025-04-14 11:45:06,933 - INFO - /home/pi/Desktop/images/14042025/11/44/image_14042025_11_45_06_29995.jpg
MAIN: 2025-04-14 11:45:06,933 - INFO - duration: 0.7975142950017471
MAIN: 2025-04-14 11:45:06,934 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/45'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:45:37,713 - INFO - taking picture
MAIN: 2025-04-14 11:45:37,714 - INFO - we take 631 photos in this while loop
MAIN: 2025-04-14 11:45:37,714 - INFO - /home/pi/Desktop/images/14042025/11/45/image_14042025_11_45_37_30800.jpg
MAIN: 2025-04-14 11:45:37,714 - INFO - duration: 0.7779547559985076
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:46:05,998 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:46:07,679 - INFO - taking picture
MAIN: 2025-04-14 11:46:07,679 - INFO - we take 632 photos in this while loop
MAIN: 2025-04-14 11:46:07,680 - INFO - /home/pi/Desktop/images/14042025/11/45/image_14042025_11_46_07_29956.jpg
MAIN: 2025-04-14 11:46:07,680 - INFO - duration: 0.7867930899992643
MAIN: 2025-04-14 11:46:07,680 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/46'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:46:37,210 - INFO - taking picture
MAIN: 2025-04-14 11:46:37,211 - INFO - we take 633 photos in this while loop
MAIN: 2025-04-14 11:46:37,211 - INFO - /home/pi/Desktop/images/14042025/11/46/image_14042025_11_46_36_29557.jpg
MAIN: 2025-04-14 11:46:37,211 - INFO - duration: 0.7605263100012962
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:47:06,004 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:47:06,816 - INFO - taking picture
MAIN: 2025-04-14 11:47:06,817 - INFO - we take 634 photos in this while loop
MAIN: 2025-04-14 11:47:06,817 - INFO - /home/pi/Desktop/images/14042025/11/46/image_14042025_11_47_06_29563.jpg
MAIN: 2025-04-14 11:47:06,817 - INFO - duration: 0.8031296539993491
MAIN: 2025-04-14 11:47:06,817 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/47'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:47:37,532 - INFO - taking picture
MAIN: 2025-04-14 11:47:37,533 - INFO - we take 635 photos in this while loop
MAIN: 2025-04-14 11:47:37,533 - INFO - /home/pi/Desktop/images/14042025/11/47/image_14042025_11_47_37_30770.jpg
MAIN: 2025-04-14 11:47:37,533 - INFO - duration: 0.7491305219991773
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:48:06,421 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:48:07,198 - INFO - taking picture
MAIN: 2025-04-14 11:48:07,199 - INFO - we take 636 photos in this while loop
MAIN: 2025-04-14 11:48:07,199 - INFO - /home/pi/Desktop/images/14042025/11/47/image_14042025_11_48_06_29683.jpg
MAIN: 2025-04-14 11:48:07,199 - INFO - duration: 0.7317712969997956
MAIN: 2025-04-14 11:48:07,200 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/48'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:48:36,636 - INFO - taking picture
MAIN: 2025-04-14 11:48:36,637 - INFO - we take 637 photos in this while loop
MAIN: 2025-04-14 11:48:36,637 - INFO - /home/pi/Desktop/images/14042025/11/48/image_14042025_11_48_36_29266.jpg
MAIN: 2025-04-14 11:48:36,637 - INFO - duration: 0.9037224359999527
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:49:06,329 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:49:07,450 - INFO - taking picture
MAIN: 2025-04-14 11:49:07,451 - INFO - we take 638 photos in this while loop
MAIN: 2025-04-14 11:49:07,451 - INFO - /home/pi/Desktop/images/14042025/11/48/image_14042025_11_49_07_30993.jpg
MAIN: 2025-04-14 11:49:07,451 - INFO - duration: 0.7244726990029449
MAIN: 2025-04-14 11:49:07,452 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/49'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:49:36,749 - INFO - taking picture
MAIN: 2025-04-14 11:49:36,749 - INFO - we take 639 photos in this while loop
MAIN: 2025-04-14 11:49:36,749 - INFO - /home/pi/Desktop/images/14042025/11/49/image_14042025_11_49_36_29260.jpg
MAIN: 2025-04-14 11:49:36,750 - INFO - duration: 0.7620133330019598
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:50:06,788 - INFO - taking picture
MAIN: 2025-04-14 11:50:06,789 - INFO - we take 640 photos in this while loop
MAIN: 2025-04-14 11:50:06,790 - INFO - /home/pi/Desktop/images/14042025/11/49/image_14042025_11_50_06_30039.jpg
MAIN: 2025-04-14 11:50:06,790 - INFO - duration: 0.7633829139995214
MAIN: 2025-04-14 11:50:06,791 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/50'
MAIN: 2025-04-14 11:50:06,886 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=13 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:50:37,210 - INFO - taking picture
MAIN: 2025-04-14 11:50:37,211 - INFO - we take 641 photos in this while loop
MAIN: 2025-04-14 11:50:37,211 - INFO - /home/pi/Desktop/images/14042025/11/50/image_14042025_11_50_36_30428.jpg
MAIN: 2025-04-14 11:50:37,211 - INFO - duration: 0.7557432759967924
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:51:05,773 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=13 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:51:06,645 - INFO - taking picture
MAIN: 2025-04-14 11:51:06,645 - INFO - we take 642 photos in this while loop
MAIN: 2025-04-14 11:51:06,646 - INFO - /home/pi/Desktop/images/14042025/11/50/image_14042025_11_51_06_29487.jpg
MAIN: 2025-04-14 11:51:06,646 - INFO - duration: 0.7028835729979619
MAIN: 2025-04-14 11:51:06,646 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/51'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=13 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:51:37,184 - INFO - taking picture
MAIN: 2025-04-14 11:51:37,184 - INFO - we take 643 photos in this while loop
MAIN: 2025-04-14 11:51:37,184 - INFO - /home/pi/Desktop/images/14042025/11/51/image_14042025_11_51_36_30488.jpg
MAIN: 2025-04-14 11:51:37,185 - INFO - duration: 0.7533987940005318
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:52:06,191 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=13 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:52:06,877 - INFO - taking picture
MAIN: 2025-04-14 11:52:06,878 - INFO - we take 644 photos in this while loop
MAIN: 2025-04-14 11:52:06,878 - INFO - /home/pi/Desktop/images/14042025/11/51/image_14042025_11_52_06_29680.jpg
MAIN: 2025-04-14 11:52:06,878 - INFO - duration: 0.7660258280011476
MAIN: 2025-04-14 11:52:06,878 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/52'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=13 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:52:37,507 - INFO - taking picture
MAIN: 2025-04-14 11:52:37,508 - INFO - we take 645 photos in this while loop
MAIN: 2025-04-14 11:52:37,508 - INFO - /home/pi/Desktop/images/14042025/11/52/image_14042025_11_52_37_30650.jpg
MAIN: 2025-04-14 11:52:37,508 - INFO - duration: 0.745718530000886
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:53:06,016 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:53:06,937 - INFO - taking picture
MAIN: 2025-04-14 11:53:06,938 - INFO - we take 646 photos in this while loop
MAIN: 2025-04-14 11:53:06,938 - INFO - /home/pi/Desktop/images/14042025/11/52/image_14042025_11_53_06_29481.jpg
MAIN: 2025-04-14 11:53:06,938 - INFO - duration: 0.6934766400008812
MAIN: 2025-04-14 11:53:06,938 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/53'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:53:37,263 - INFO - taking picture
MAIN: 2025-04-14 11:53:37,264 - INFO - we take 647 photos in this while loop
MAIN: 2025-04-14 11:53:37,264 - INFO - /home/pi/Desktop/images/14042025/11/53/image_14042025_11_53_36_30310.jpg
MAIN: 2025-04-14 11:53:37,264 - INFO - duration: 0.7088712779986963
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:54:06,441 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 11:54:06,625 - INFO - taking picture
MAIN: 2025-04-14 11:54:06,626 - INFO - we take 648 photos in this while loop
MAIN: 2025-04-14 11:54:06,626 - INFO - /home/pi/Desktop/images/14042025/11/53/image_14042025_11_54_06_29329.jpg
MAIN: 2025-04-14 11:54:06,626 - INFO - duration: 0.7408977439990849
MAIN: 2025-04-14 11:54:06,626 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/54'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=13 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:54:36,885 - INFO - taking picture
MAIN: 2025-04-14 11:54:36,885 - INFO - we take 649 photos in this while loop
MAIN: 2025-04-14 11:54:36,885 - INFO - /home/pi/Desktop/images/14042025/11/54/image_14042025_11_54_36_30261.jpg
MAIN: 2025-04-14 11:54:36,886 - INFO - duration: 0.7387495859984483
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:55:06,276 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=18 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:55:06,922 - INFO - taking picture
MAIN: 2025-04-14 11:55:06,923 - INFO - we take 650 photos in this while loop
MAIN: 2025-04-14 11:55:06,923 - INFO - /home/pi/Desktop/images/14042025/11/54/image_14042025_11_55_06_29994.jpg
MAIN: 2025-04-14 11:55:06,924 - INFO - duration: 0.7824246530035452
MAIN: 2025-04-14 11:55:06,924 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/55'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=63 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:55:37,623 - INFO - taking picture
MAIN: 2025-04-14 11:55:37,624 - INFO - we take 651 photos in this while loop
MAIN: 2025-04-14 11:55:37,624 - INFO - /home/pi/Desktop/images/14042025/11/55/image_14042025_11_55_37_30706.jpg
MAIN: 2025-04-14 11:55:37,624 - INFO - duration: 0.7765310110007704
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:56:06,136 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:56:06,920 - INFO - taking picture
MAIN: 2025-04-14 11:56:06,921 - INFO - we take 652 photos in this while loop
MAIN: 2025-04-14 11:56:06,921 - INFO - /home/pi/Desktop/images/14042025/11/55/image_14042025_11_56_06_29387.jpg
MAIN: 2025-04-14 11:56:06,921 - INFO - duration: 0.6865112310006225
MAIN: 2025-04-14 11:56:06,922 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/56'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:56:37,330 - INFO - taking picture
MAIN: 2025-04-14 11:56:37,331 - INFO - we take 653 photos in this while loop
MAIN: 2025-04-14 11:56:37,331 - INFO - /home/pi/Desktop/images/14042025/11/56/image_14042025_11_56_36_30332.jpg
MAIN: 2025-04-14 11:56:37,331 - INFO - duration: 0.7644051940005738
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 11:57:06,046 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:57:06,670 - INFO - taking picture
MAIN: 2025-04-14 11:57:06,671 - INFO - we take 654 photos in this while loop
MAIN: 2025-04-14 11:57:06,671 - INFO - /home/pi/Desktop/images/14042025/11/56/image_14042025_11_57_06_29356.jpg
MAIN: 2025-04-14 11:57:06,671 - INFO - duration: 0.7475016009993851
MAIN: 2025-04-14 11:57:06,672 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/57'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:57:37,133 - INFO - taking picture
MAIN: 2025-04-14 11:57:37,133 - INFO - we take 655 photos in this while loop
MAIN: 2025-04-14 11:57:37,134 - INFO - /home/pi/Desktop/images/14042025/11/57/image_14042025_11_57_36_30439.jpg
MAIN: 2025-04-14 11:57:37,134 - INFO - duration: 0.7702422180009307
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:58:06,473 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 11:58:06,833 - INFO - taking picture
MAIN: 2025-04-14 11:58:06,834 - INFO - we take 656 photos in this while loop
MAIN: 2025-04-14 11:58:06,834 - INFO - /home/pi/Desktop/images/14042025/11/57/image_14042025_11_58_06_29713.jpg
MAIN: 2025-04-14 11:58:06,834 - INFO - duration: 0.7575762899978145
MAIN: 2025-04-14 11:58:06,835 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/58'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=28 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:58:37,211 - INFO - taking picture
MAIN: 2025-04-14 11:58:37,211 - INFO - we take 657 photos in this while loop
MAIN: 2025-04-14 11:58:37,211 - INFO - /home/pi/Desktop/images/14042025/11/58/image_14042025_11_58_36_30447.jpg
MAIN: 2025-04-14 11:58:37,212 - INFO - duration: 0.6875807249998616
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=68 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:59:06,571 - INFO - taking picture
MAIN: 2025-04-14 11:59:06,571 - INFO - we take 658 photos in this while loop
MAIN: 2025-04-14 11:59:06,572 - INFO - /home/pi/Desktop/images/14042025/11/58/image_14042025_11_59_06_29321.jpg
MAIN: 2025-04-14 11:59:06,572 - INFO - duration: 0.7258329780015629
MAIN: 2025-04-14 11:59:06,572 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/11/59'
MAIN: 2025-04-14 11:59:06,633 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=68 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 11:59:36,912 - INFO - taking picture
MAIN: 2025-04-14 11:59:36,913 - INFO - we take 659 photos in this while loop
MAIN: 2025-04-14 11:59:36,913 - INFO - /home/pi/Desktop/images/14042025/11/59/image_14042025_11_59_36_30318.jpg
MAIN: 2025-04-14 11:59:36,914 - INFO - duration: 0.7490957869995327
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=16 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:00:06,628 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 12:00:06,790 - INFO - taking picture
MAIN: 2025-04-14 12:00:06,791 - INFO - we take 660 photos in this while loop
MAIN: 2025-04-14 12:00:06,792 - INFO - /home/pi/Desktop/images/14042025/11/59/image_14042025_12_00_06_29882.jpg
MAIN: 2025-04-14 12:00:06,793 - INFO - duration: 0.7457902930000273
MAIN: 2025-04-14 12:00:06,795 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/00'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=16 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:00:37,174 - INFO - taking picture
MAIN: 2025-04-14 12:00:37,174 - INFO - we take 661 photos in this while loop
MAIN: 2025-04-14 12:00:37,175 - INFO - /home/pi/Desktop/images/14042025/12/00/image_14042025_12_00_36_30393.jpg
MAIN: 2025-04-14 12:00:37,175 - INFO - duration: 0.7337709370003722
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:01:05,888 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:01:06,673 - INFO - taking picture
MAIN: 2025-04-14 12:01:06,673 - INFO - we take 662 photos in this while loop
MAIN: 2025-04-14 12:01:06,674 - INFO - /home/pi/Desktop/images/14042025/12/00/image_14042025_12_01_06_29520.jpg
MAIN: 2025-04-14 12:01:06,674 - INFO - duration: 0.712649233002594
MAIN: 2025-04-14 12:01:06,674 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/01'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:01:37,104 - INFO - taking picture
MAIN: 2025-04-14 12:01:37,105 - INFO - we take 663 photos in this while loop
MAIN: 2025-04-14 12:01:37,105 - INFO - /home/pi/Desktop/images/14042025/12/01/image_14042025_12_01_36_30390.jpg
MAIN: 2025-04-14 12:01:37,105 - INFO - duration: 0.7534565909991215
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:02:05,923 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:02:06,649 - INFO - taking picture
MAIN: 2025-04-14 12:02:06,649 - INFO - we take 664 photos in this while loop
MAIN: 2025-04-14 12:02:06,649 - INFO - /home/pi/Desktop/images/14042025/12/01/image_14042025_12_02_06_29567.jpg
MAIN: 2025-04-14 12:02:06,650 - INFO - duration: 0.7301634819996252
MAIN: 2025-04-14 12:02:06,650 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/02'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:02:37,157 - INFO - taking picture
MAIN: 2025-04-14 12:02:37,157 - INFO - we take 665 photos in this while loop
MAIN: 2025-04-14 12:02:37,157 - INFO - /home/pi/Desktop/images/14042025/12/02/image_14042025_12_02_36_30487.jpg
MAIN: 2025-04-14 12:02:37,158 - INFO - duration: 0.7510573340005067
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:03:05,833 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=13 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:03:06,621 - INFO - taking picture
MAIN: 2025-04-14 12:03:06,621 - INFO - we take 666 photos in this while loop
MAIN: 2025-04-14 12:03:06,621 - INFO - /home/pi/Desktop/images/14042025/12/02/image_14042025_12_03_06_29457.jpg
MAIN: 2025-04-14 12:03:06,622 - INFO - duration: 0.7574147710001853
MAIN: 2025-04-14 12:03:06,622 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/03'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=63 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:03:37,341 - INFO - taking picture
MAIN: 2025-04-14 12:03:37,341 - INFO - we take 667 photos in this while loop
MAIN: 2025-04-14 12:03:37,341 - INFO - /home/pi/Desktop/images/14042025/12/03/image_14042025_12_03_36_30702.jpg
MAIN: 2025-04-14 12:03:37,342 - INFO - duration: 0.7750898199992662
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=63 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:04:06,947 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 12:04:07,266 - INFO - taking picture
MAIN: 2025-04-14 12:04:07,266 - INFO - we take 668 photos in this while loop
MAIN: 2025-04-14 12:04:07,267 - INFO - /home/pi/Desktop/images/14042025/12/03/image_14042025_12_04_06_29907.jpg
MAIN: 2025-04-14 12:04:07,267 - INFO - duration: 0.793284973999107
MAIN: 2025-04-14 12:04:07,267 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/04'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=63 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:04:36,743 - INFO - taking picture
MAIN: 2025-04-14 12:04:36,744 - INFO - we take 669 photos in this while loop
MAIN: 2025-04-14 12:04:36,744 - INFO - /home/pi/Desktop/images/14042025/12/04/image_14042025_12_04_36_29514.jpg
MAIN: 2025-04-14 12:04:36,744 - INFO - duration: 0.7560761330023524
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=63 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:05:06,522 - INFO - taking picture
MAIN: 2025-04-14 12:05:06,523 - INFO - we take 670 photos in this while loop
MAIN: 2025-04-14 12:05:06,523 - INFO - /home/pi/Desktop/images/14042025/12/04/image_14042025_12_05_06_29738.jpg
MAIN: 2025-04-14 12:05:06,524 - INFO - duration: 0.7974689069997112
MAIN: 2025-04-14 12:05:06,525 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/05'
MAIN: 2025-04-14 12:05:06,787 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:05:37,172 - INFO - taking picture
MAIN: 2025-04-14 12:05:37,172 - INFO - we take 671 photos in this while loop
MAIN: 2025-04-14 12:05:37,173 - INFO - /home/pi/Desktop/images/14042025/12/05/image_14042025_12_05_36_30672.jpg
MAIN: 2025-04-14 12:05:37,173 - INFO - duration: 0.7743111189993215
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:06:06,098 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:06:06,867 - INFO - taking picture
MAIN: 2025-04-14 12:06:06,867 - INFO - we take 672 photos in this while loop
MAIN: 2025-04-14 12:06:06,867 - INFO - /home/pi/Desktop/images/14042025/12/05/image_14042025_12_06_06_29717.jpg
MAIN: 2025-04-14 12:06:06,868 - INFO - duration: 0.7515731239982415
MAIN: 2025-04-14 12:06:06,868 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/06'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:06:37,349 - INFO - taking picture
MAIN: 2025-04-14 12:06:37,350 - INFO - we take 673 photos in this while loop
MAIN: 2025-04-14 12:06:37,350 - INFO - /home/pi/Desktop/images/14042025/12/06/image_14042025_12_06_36_30496.jpg
MAIN: 2025-04-14 12:06:37,350 - INFO - duration: 0.737967375000153
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:07:05,616 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=13 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:07:06,806 - INFO - taking picture
MAIN: 2025-04-14 12:07:06,806 - INFO - we take 674 photos in this while loop
MAIN: 2025-04-14 12:07:06,807 - INFO - /home/pi/Desktop/images/14042025/12/06/image_14042025_12_07_06_29451.jpg
MAIN: 2025-04-14 12:07:06,807 - INFO - duration: 0.7432496609981172
MAIN: 2025-04-14 12:07:06,807 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/07'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=13 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:07:37,434 - INFO - taking picture
MAIN: 2025-04-14 12:07:37,435 - INFO - we take 675 photos in this while loop
MAIN: 2025-04-14 12:07:37,435 - INFO - /home/pi/Desktop/images/14042025/12/07/image_14042025_12_07_37_30594.jpg
MAIN: 2025-04-14 12:07:37,435 - INFO - duration: 0.7772336289999657
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:08:06,249 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=13 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:08:07,043 - INFO - taking picture
MAIN: 2025-04-14 12:08:07,044 - INFO - we take 676 photos in this while loop
MAIN: 2025-04-14 12:08:07,044 - INFO - /home/pi/Desktop/images/14042025/12/07/image_14042025_12_08_06_29657.jpg
MAIN: 2025-04-14 12:08:07,044 - INFO - duration: 0.7285014049994061
MAIN: 2025-04-14 12:08:07,045 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/08'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=13 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:08:37,475 - INFO - taking picture
MAIN: 2025-04-14 12:08:37,476 - INFO - we take 677 photos in this while loop
MAIN: 2025-04-14 12:08:37,476 - INFO - /home/pi/Desktop/images/14042025/12/08/image_14042025_12_08_37_30401.jpg
MAIN: 2025-04-14 12:08:37,476 - INFO - duration: 0.7586993300028553
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:09:06,487 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=13 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:09:07,072 - INFO - taking picture
MAIN: 2025-04-14 12:09:07,073 - INFO - we take 678 photos in this while loop
MAIN: 2025-04-14 12:09:07,073 - INFO - /home/pi/Desktop/images/14042025/12/08/image_14042025_12_09_06_29586.jpg
MAIN: 2025-04-14 12:09:07,073 - INFO - duration: 0.7683780770021258
MAIN: 2025-04-14 12:09:07,073 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/09'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=13 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:09:37,559 - INFO - taking picture
MAIN: 2025-04-14 12:09:37,559 - INFO - we take 679 photos in this while loop
MAIN: 2025-04-14 12:09:37,560 - INFO - /home/pi/Desktop/images/14042025/12/09/image_14042025_12_09_37_30478.jpg
MAIN: 2025-04-14 12:09:37,560 - INFO - duration: 0.7770857819996309
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:10:06,412 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=13 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:10:07,476 - INFO - taking picture
MAIN: 2025-04-14 12:10:07,477 - INFO - we take 680 photos in this while loop
MAIN: 2025-04-14 12:10:07,477 - INFO - /home/pi/Desktop/images/14042025/12/09/image_14042025_12_10_07_29929.jpg
MAIN: 2025-04-14 12:10:07,477 - INFO - duration: 0.7652496750015416
MAIN: 2025-04-14 12:10:07,478 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/10'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=13 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:10:36,548 - INFO - taking picture
MAIN: 2025-04-14 12:10:36,548 - INFO - we take 681 photos in this while loop
MAIN: 2025-04-14 12:10:36,548 - INFO - /home/pi/Desktop/images/14042025/12/10/image_14042025_12_10_36_29085.jpg
MAIN: 2025-04-14 12:10:36,549 - INFO - duration: 0.7509262230014428
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:11:05,849 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=13 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:11:07,310 - INFO - taking picture
MAIN: 2025-04-14 12:11:07,310 - INFO - we take 682 photos in this while loop
MAIN: 2025-04-14 12:11:07,310 - INFO - /home/pi/Desktop/images/14042025/12/10/image_14042025_12_11_06_30777.jpg
MAIN: 2025-04-14 12:11:07,310 - INFO - duration: 0.7354828230018029
MAIN: 2025-04-14 12:11:07,311 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/11'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=13 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:11:36,566 - INFO - taking picture
MAIN: 2025-04-14 12:11:36,567 - INFO - we take 683 photos in this while loop
MAIN: 2025-04-14 12:11:36,567 - INFO - /home/pi/Desktop/images/14042025/12/11/image_14042025_12_11_36_29244.jpg
MAIN: 2025-04-14 12:11:36,567 - INFO - duration: 0.7471186049988319
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:12:05,987 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:12:07,203 - INFO - taking picture
MAIN: 2025-04-14 12:12:07,204 - INFO - we take 684 photos in this while loop
MAIN: 2025-04-14 12:12:07,204 - INFO - /home/pi/Desktop/images/14042025/12/11/image_14042025_12_12_06_30659.jpg
MAIN: 2025-04-14 12:12:07,204 - INFO - duration: 0.7245129620023363
MAIN: 2025-04-14 12:12:07,205 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/12'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:12:36,382 - INFO - taking picture
MAIN: 2025-04-14 12:12:36,382 - INFO - we take 685 photos in this while loop
MAIN: 2025-04-14 12:12:36,382 - INFO - /home/pi/Desktop/images/14042025/12/12/image_14042025_12_12_35_29139.jpg
MAIN: 2025-04-14 12:12:36,383 - INFO - duration: 0.7633730809975532
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:13:06,118 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:13:06,940 - INFO - taking picture
MAIN: 2025-04-14 12:13:06,940 - INFO - we take 686 photos in this while loop
MAIN: 2025-04-14 12:13:06,940 - INFO - /home/pi/Desktop/images/14042025/12/12/image_14042025_12_13_06_30619.jpg
MAIN: 2025-04-14 12:13:06,941 - INFO - duration: 0.7021601299966278
MAIN: 2025-04-14 12:13:06,941 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/13'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=32 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:13:37,323 - INFO - taking picture
MAIN: 2025-04-14 12:13:37,323 - INFO - we take 687 photos in this while loop
MAIN: 2025-04-14 12:13:37,323 - INFO - /home/pi/Desktop/images/14042025/12/13/image_14042025_12_13_36_30368.jpg
MAIN: 2025-04-14 12:13:37,324 - INFO - duration: 0.7162965899988194
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=32 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:14:06,664 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 12:14:06,799 - INFO - taking picture
MAIN: 2025-04-14 12:14:06,800 - INFO - we take 688 photos in this while loop
MAIN: 2025-04-14 12:14:06,800 - INFO - /home/pi/Desktop/images/14042025/12/13/image_14042025_12_14_06_29450.jpg
MAIN: 2025-04-14 12:14:06,800 - INFO - duration: 0.7426214940023783
MAIN: 2025-04-14 12:14:06,801 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/14'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=32 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:14:37,104 - INFO - taking picture
MAIN: 2025-04-14 12:14:37,104 - INFO - we take 689 photos in this while loop
MAIN: 2025-04-14 12:14:37,104 - INFO - /home/pi/Desktop/images/14042025/12/14/image_14042025_12_14_36_30282.jpg
MAIN: 2025-04-14 12:14:37,105 - INFO - duration: 0.7649262919985631
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:15:05,883 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=32 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:15:06,732 - INFO - taking picture
MAIN: 2025-04-14 12:15:06,733 - INFO - we take 690 photos in this while loop
MAIN: 2025-04-14 12:15:06,733 - INFO - /home/pi/Desktop/images/14042025/12/14/image_14042025_12_15_06_29660.jpg
MAIN: 2025-04-14 12:15:06,733 - INFO - duration: 0.7330635649996111
MAIN: 2025-04-14 12:15:06,734 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/15'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=32 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:15:36,971 - INFO - taking picture
MAIN: 2025-04-14 12:15:36,972 - INFO - we take 691 photos in this while loop
MAIN: 2025-04-14 12:15:36,972 - INFO - /home/pi/Desktop/images/14042025/12/15/image_14042025_12_15_36_30224.jpg
MAIN: 2025-04-14 12:15:36,972 - INFO - duration: 0.7472941410014755
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:16:05,796 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=32 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:16:07,625 - INFO - taking picture
MAIN: 2025-04-14 12:16:07,625 - INFO - we take 692 photos in this while loop
MAIN: 2025-04-14 12:16:07,626 - INFO - /home/pi/Desktop/images/14042025/12/15/image_14042025_12_16_07_30676.jpg
MAIN: 2025-04-14 12:16:07,626 - INFO - duration: 0.7245649599972239
MAIN: 2025-04-14 12:16:07,626 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/16'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=32 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:16:36,413 - INFO - taking picture
MAIN: 2025-04-14 12:16:36,414 - INFO - we take 693 photos in this while loop
MAIN: 2025-04-14 12:16:36,414 - INFO - /home/pi/Desktop/images/14042025/12/16/image_14042025_12_16_36_28800.jpg
MAIN: 2025-04-14 12:16:36,414 - INFO - duration: 0.7125689620006597
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:17:05,625 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:17:06,875 - INFO - taking picture
MAIN: 2025-04-14 12:17:06,876 - INFO - we take 694 photos in this while loop
MAIN: 2025-04-14 12:17:06,876 - INFO - /home/pi/Desktop/images/14042025/12/16/image_14042025_12_17_06_30475.jpg
MAIN: 2025-04-14 12:17:06,876 - INFO - duration: 0.6996004630018433
MAIN: 2025-04-14 12:17:06,877 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/17'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:17:37,197 - INFO - taking picture
MAIN: 2025-04-14 12:17:37,198 - INFO - we take 695 photos in this while loop
MAIN: 2025-04-14 12:17:37,198 - INFO - /home/pi/Desktop/images/14042025/12/17/image_14042025_12_17_36_30265.jpg
MAIN: 2025-04-14 12:17:37,198 - INFO - duration: 0.7558746000031533
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:18:06,424 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 12:18:06,804 - INFO - taking picture
MAIN: 2025-04-14 12:18:06,805 - INFO - we take 696 photos in this while loop
MAIN: 2025-04-14 12:18:06,805 - INFO - /home/pi/Desktop/images/14042025/12/17/image_14042025_12_18_06_29605.jpg
MAIN: 2025-04-14 12:18:06,805 - INFO - duration: 0.7576139729972056
MAIN: 2025-04-14 12:18:06,806 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/18'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:18:37,257 - INFO - taking picture
MAIN: 2025-04-14 12:18:37,258 - INFO - we take 697 photos in this while loop
MAIN: 2025-04-14 12:18:37,258 - INFO - /home/pi/Desktop/images/14042025/12/18/image_14042025_12_18_36_30462.jpg
MAIN: 2025-04-14 12:18:37,258 - INFO - duration: 0.7480928730001324
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:19:05,646 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:19:06,520 - INFO - taking picture
MAIN: 2025-04-14 12:19:06,520 - INFO - we take 698 photos in this while loop
MAIN: 2025-04-14 12:19:06,520 - INFO - /home/pi/Desktop/images/14042025/12/18/image_14042025_12_19_06_29340.jpg
MAIN: 2025-04-14 12:19:06,521 - INFO - duration: 0.6698428370000329
MAIN: 2025-04-14 12:19:06,521 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/19'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:19:36,778 - INFO - taking picture
MAIN: 2025-04-14 12:19:36,778 - INFO - we take 699 photos in this while loop
MAIN: 2025-04-14 12:19:36,779 - INFO - /home/pi/Desktop/images/14042025/12/19/image_14042025_12_19_36_30192.jpg
MAIN: 2025-04-14 12:19:36,779 - INFO - duration: 0.7359466649977549
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:20:06,134 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:20:07,431 - INFO - taking picture
MAIN: 2025-04-14 12:20:07,432 - INFO - we take 700 photos in this while loop
MAIN: 2025-04-14 12:20:07,432 - INFO - /home/pi/Desktop/images/14042025/12/19/image_14042025_12_20_07_30681.jpg
MAIN: 2025-04-14 12:20:07,433 - INFO - duration: 0.7082300359979854
MAIN: 2025-04-14 12:20:07,434 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/20'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:20:37,570 - INFO - taking picture
MAIN: 2025-04-14 12:20:37,571 - INFO - we take 701 photos in this while loop
MAIN: 2025-04-14 12:20:37,571 - INFO - /home/pi/Desktop/images/14042025/12/20/image_14042025_12_20_37_30118.jpg
MAIN: 2025-04-14 12:20:37,571 - INFO - duration: 0.727551553001831
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:21:05,678 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:21:06,683 - INFO - taking picture
MAIN: 2025-04-14 12:21:06,684 - INFO - we take 702 photos in this while loop
MAIN: 2025-04-14 12:21:06,684 - INFO - /home/pi/Desktop/images/14042025/12/20/image_14042025_12_21_06_29160.jpg
MAIN: 2025-04-14 12:21:06,684 - INFO - duration: 0.680083615003241
MAIN: 2025-04-14 12:21:06,685 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/21'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:21:36,871 - INFO - taking picture
MAIN: 2025-04-14 12:21:36,871 - INFO - we take 703 photos in this while loop
MAIN: 2025-04-14 12:21:36,871 - INFO - /home/pi/Desktop/images/14042025/12/21/image_14042025_12_21_36_30154.jpg
MAIN: 2025-04-14 12:21:36,872 - INFO - duration: 0.712519615997735
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:22:06,002 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:22:07,317 - INFO - taking picture
MAIN: 2025-04-14 12:22:07,317 - INFO - we take 704 photos in this while loop
MAIN: 2025-04-14 12:22:07,318 - INFO - /home/pi/Desktop/images/14042025/12/21/image_14042025_12_22_06_30443.jpg
MAIN: 2025-04-14 12:22:07,318 - INFO - duration: 0.7156149279981037
MAIN: 2025-04-14 12:22:07,318 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/22'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:22:37,570 - INFO - taking picture
MAIN: 2025-04-14 12:22:37,571 - INFO - we take 705 photos in this while loop
MAIN: 2025-04-14 12:22:37,571 - INFO - /home/pi/Desktop/images/14042025/12/22/image_14042025_12_22_37_30252.jpg
MAIN: 2025-04-14 12:22:37,571 - INFO - duration: 0.7163474789995234
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:23:05,987 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:23:06,778 - INFO - taking picture
MAIN: 2025-04-14 12:23:06,778 - INFO - we take 706 photos in this while loop
MAIN: 2025-04-14 12:23:06,779 - INFO - /home/pi/Desktop/images/14042025/12/22/image_14042025_12_23_06_29219.jpg
MAIN: 2025-04-14 12:23:06,779 - INFO - duration: 0.7043749200020102
MAIN: 2025-04-14 12:23:06,779 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/23'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=29 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:23:37,173 - INFO - taking picture
MAIN: 2025-04-14 12:23:37,174 - INFO - we take 707 photos in this while loop
MAIN: 2025-04-14 12:23:37,174 - INFO - /home/pi/Desktop/images/14042025/12/23/image_14042025_12_23_36_30373.jpg
MAIN: 2025-04-14 12:23:37,174 - INFO - duration: 0.7261289910020423
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=36 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:24:06,801 - INFO - taking picture
MAIN: 2025-04-14 12:24:06,801 - INFO - we take 708 photos in this while loop
MAIN: 2025-04-14 12:24:06,802 - INFO - /home/pi/Desktop/images/14042025/12/23/image_14042025_12_24_06_29618.jpg
MAIN: 2025-04-14 12:24:06,802 - INFO - duration: 0.7351747219981917
MAIN: 2025-04-14 12:24:06,802 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/24'
MAIN: 2025-04-14 12:24:07,142 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:24:37,009 - INFO - taking picture
MAIN: 2025-04-14 12:24:37,009 - INFO - we take 709 photos in this while loop
MAIN: 2025-04-14 12:24:37,009 - INFO - /home/pi/Desktop/images/14042025/12/24/image_14042025_12_24_36_30207.jpg
MAIN: 2025-04-14 12:24:37,010 - INFO - duration: 0.7351337830004923
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:25:05,856 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:25:07,523 - INFO - taking picture
MAIN: 2025-04-14 12:25:07,524 - INFO - we take 710 photos in this while loop
MAIN: 2025-04-14 12:25:07,524 - INFO - /home/pi/Desktop/images/14042025/12/24/image_14042025_12_25_07_30517.jpg
MAIN: 2025-04-14 12:25:07,524 - INFO - duration: 0.7319308630030719
MAIN: 2025-04-14 12:25:07,525 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/25'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:25:36,487 - INFO - taking picture
MAIN: 2025-04-14 12:25:36,488 - INFO - we take 711 photos in this while loop
MAIN: 2025-04-14 12:25:36,488 - INFO - /home/pi/Desktop/images/14042025/12/25/image_14042025_12_25_36_28970.jpg
MAIN: 2025-04-14 12:25:36,488 - INFO - duration: 0.7254149229993345
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:26:05,982 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:26:06,888 - INFO - taking picture
MAIN: 2025-04-14 12:26:06,889 - INFO - we take 712 photos in this while loop
MAIN: 2025-04-14 12:26:06,889 - INFO - /home/pi/Desktop/images/14042025/12/25/image_14042025_12_26_06_30440.jpg
MAIN: 2025-04-14 12:26:06,889 - INFO - duration: 0.6857533440015686
MAIN: 2025-04-14 12:26:06,890 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/26'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:26:37,086 - INFO - taking picture
MAIN: 2025-04-14 12:26:37,087 - INFO - we take 713 photos in this while loop
MAIN: 2025-04-14 12:26:37,087 - INFO - /home/pi/Desktop/images/14042025/12/26/image_14042025_12_26_36_30165.jpg
MAIN: 2025-04-14 12:26:37,087 - INFO - duration: 0.717677520999132
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:27:05,666 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:27:06,365 - INFO - taking picture
MAIN: 2025-04-14 12:27:06,366 - INFO - we take 714 photos in this while loop
MAIN: 2025-04-14 12:27:06,366 - INFO - /home/pi/Desktop/images/14042025/12/26/image_14042025_12_27_05_29257.jpg
MAIN: 2025-04-14 12:27:06,366 - INFO - duration: 0.7394805500007351
MAIN: 2025-04-14 12:27:06,367 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/27'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:27:36,653 - INFO - taking picture
MAIN: 2025-04-14 12:27:36,654 - INFO - we take 715 photos in this while loop
MAIN: 2025-04-14 12:27:36,654 - INFO - /home/pi/Desktop/images/14042025/12/27/image_14042025_12_27_36_30296.jpg
MAIN: 2025-04-14 12:27:36,654 - INFO - duration: 0.730564139001217
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:28:06,299 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:28:07,154 - INFO - taking picture
MAIN: 2025-04-14 12:28:07,155 - INFO - we take 716 photos in this while loop
MAIN: 2025-04-14 12:28:07,155 - INFO - /home/pi/Desktop/images/14042025/12/27/image_14042025_12_28_06_30532.jpg
MAIN: 2025-04-14 12:28:07,155 - INFO - duration: 0.6988353759988968
MAIN: 2025-04-14 12:28:07,155 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/28'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:28:37,503 - INFO - taking picture
MAIN: 2025-04-14 12:28:37,503 - INFO - we take 717 photos in this while loop
MAIN: 2025-04-14 12:28:37,504 - INFO - /home/pi/Desktop/images/14042025/12/28/image_14042025_12_28_37_30300.jpg
MAIN: 2025-04-14 12:28:37,504 - INFO - duration: 0.7468605260000913
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:29:06,417 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 12:29:06,763 - INFO - taking picture
MAIN: 2025-04-14 12:29:06,763 - INFO - we take 718 photos in this while loop
MAIN: 2025-04-14 12:29:06,763 - INFO - /home/pi/Desktop/images/14042025/12/28/image_14042025_12_29_06_29239.jpg
MAIN: 2025-04-14 12:29:06,764 - INFO - duration: 0.7672038800010341
MAIN: 2025-04-14 12:29:06,764 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/29'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:29:36,829 - INFO - taking picture
MAIN: 2025-04-14 12:29:36,829 - INFO - we take 719 photos in this while loop
MAIN: 2025-04-14 12:29:36,830 - INFO - /home/pi/Desktop/images/14042025/12/29/image_14042025_12_29_36_30097.jpg
MAIN: 2025-04-14 12:29:36,830 - INFO - duration: 0.7363348069993663
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:30:07,054 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 12:30:07,400 - INFO - taking picture
MAIN: 2025-04-14 12:30:07,401 - INFO - we take 720 photos in this while loop
MAIN: 2025-04-14 12:30:07,401 - INFO - /home/pi/Desktop/images/14042025/12/29/image_14042025_12_30_06_30566.jpg
MAIN: 2025-04-14 12:30:07,402 - INFO - duration: 0.7418569680012297
MAIN: 2025-04-14 12:30:07,402 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/30'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:30:37,641 - INFO - taking picture
MAIN: 2025-04-14 12:30:37,641 - INFO - we take 721 photos in this while loop
MAIN: 2025-04-14 12:30:37,641 - INFO - /home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_37_30243.jpg
MAIN: 2025-04-14 12:30:37,642 - INFO - duration: 0.7381011090001266
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:31:05,545 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:31:06,528 - INFO - taking picture
MAIN: 2025-04-14 12:31:06,529 - INFO - we take 722 photos in this while loop
MAIN: 2025-04-14 12:31:06,529 - INFO - /home/pi/Desktop/images/14042025/12/30/image_14042025_12_31_06_28954.jpg
MAIN: 2025-04-14 12:31:06,529 - INFO - duration: 0.6715560999982699
MAIN: 2025-04-14 12:31:06,530 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/31'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=13 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:31:36,521 - INFO - taking picture
MAIN: 2025-04-14 12:31:36,522 - INFO - we take 723 photos in this while loop
MAIN: 2025-04-14 12:31:36,522 - INFO - /home/pi/Desktop/images/14042025/12/31/image_14042025_12_31_36_29960.jpg
MAIN: 2025-04-14 12:31:36,522 - INFO - duration: 0.7038348099995346
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:32:05,583 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=13 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:32:07,757 - INFO - taking picture
MAIN: 2025-04-14 12:32:07,758 - INFO - we take 724 photos in this while loop
MAIN: 2025-04-14 12:32:07,758 - INFO - /home/pi/Desktop/images/14042025/12/31/image_14042025_12_32_07_30388.jpg
MAIN: 2025-04-14 12:32:07,758 - INFO - duration: 1.5507872300004237
MAIN: 2025-04-14 12:32:07,758 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/32'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=13 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:32:36,726 - INFO - taking picture
MAIN: 2025-04-14 12:32:36,727 - INFO - we take 725 photos in this while loop
MAIN: 2025-04-14 12:32:36,727 - INFO - /home/pi/Desktop/images/14042025/12/32/image_14042025_12_32_36_29780.jpg
MAIN: 2025-04-14 12:32:36,727 - INFO - duration: 0.7392415079993953
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:33:05,758 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=13 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:33:07,086 - INFO - taking picture
MAIN: 2025-04-14 12:33:07,086 - INFO - we take 726 photos in this while loop
MAIN: 2025-04-14 12:33:07,087 - INFO - /home/pi/Desktop/images/14042025/12/32/image_14042025_12_33_06_30381.jpg
MAIN: 2025-04-14 12:33:07,087 - INFO - duration: 0.7181420519991661
MAIN: 2025-04-14 12:33:07,087 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/33'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=13 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:33:37,161 - INFO - taking picture
MAIN: 2025-04-14 12:33:37,162 - INFO - we take 727 photos in this while loop
MAIN: 2025-04-14 12:33:37,162 - INFO - /home/pi/Desktop/images/14042025/12/33/image_14042025_12_33_36_30062.jpg
MAIN: 2025-04-14 12:33:37,162 - INFO - duration: 0.7311676390017965
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=18 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:34:06,483 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 12:34:06,835 - INFO - taking picture
MAIN: 2025-04-14 12:34:06,836 - INFO - we take 728 photos in this while loop
MAIN: 2025-04-14 12:34:06,836 - INFO - /home/pi/Desktop/images/14042025/12/33/image_14042025_12_34_06_29652.jpg
MAIN: 2025-04-14 12:34:06,836 - INFO - duration: 0.7530845280016365
MAIN: 2025-04-14 12:34:06,837 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/34'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=40 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:34:37,160 - INFO - taking picture
MAIN: 2025-04-14 12:34:37,161 - INFO - we take 729 photos in this while loop
MAIN: 2025-04-14 12:34:37,161 - INFO - /home/pi/Desktop/images/14042025/12/34/image_14042025_12_34_36_30343.jpg
MAIN: 2025-04-14 12:34:37,161 - INFO - duration: 0.7348908489984751
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=48 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:35:06,279 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 12:35:06,705 - INFO - taking picture
MAIN: 2025-04-14 12:35:06,706 - INFO - we take 730 photos in this while loop
MAIN: 2025-04-14 12:35:06,707 - INFO - /home/pi/Desktop/images/14042025/12/34/image_14042025_12_35_06_29526.jpg
MAIN: 2025-04-14 12:35:06,707 - INFO - duration: 0.75455711199902
MAIN: 2025-04-14 12:35:06,708 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/35'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:35:37,059 - INFO - taking picture
MAIN: 2025-04-14 12:35:37,060 - INFO - we take 731 photos in this while loop
MAIN: 2025-04-14 12:35:37,060 - INFO - /home/pi/Desktop/images/14042025/12/35/image_14042025_12_35_36_30356.jpg
MAIN: 2025-04-14 12:35:37,060 - INFO - duration: 0.7506915529993421
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:36:06,401 - INFO - taking picture
MAIN: 2025-04-14 12:36:06,401 - INFO - we take 732 photos in this while loop
MAIN: 2025-04-14 12:36:06,401 - INFO - /home/pi/Desktop/images/14042025/12/35/image_14042025_12_36_06_29366.jpg
MAIN: 2025-04-14 12:36:06,402 - INFO - duration: 0.7254088589979801
MAIN: 2025-04-14 12:36:06,402 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/36'
MAIN: 2025-04-14 12:36:06,459 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=64 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:36:36,614 - INFO - taking picture
MAIN: 2025-04-14 12:36:36,615 - INFO - we take 733 photos in this while loop
MAIN: 2025-04-14 12:36:36,615 - INFO - /home/pi/Desktop/images/14042025/12/36/image_14042025_12_36_36_30210.jpg
MAIN: 2025-04-14 12:36:36,615 - INFO - duration: 0.7289244450003025
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:37:05,452 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:37:07,110 - INFO - taking picture
MAIN: 2025-04-14 12:37:07,111 - INFO - we take 734 photos in this while loop
MAIN: 2025-04-14 12:37:07,111 - INFO - /home/pi/Desktop/images/14042025/12/36/image_14042025_12_37_06_30519.jpg
MAIN: 2025-04-14 12:37:07,111 - INFO - duration: 0.7059027389987023
MAIN: 2025-04-14 12:37:07,112 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/37'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:37:37,279 - INFO - taking picture
MAIN: 2025-04-14 12:37:37,280 - INFO - we take 735 photos in this while loop
MAIN: 2025-04-14 12:37:37,280 - INFO - /home/pi/Desktop/images/14042025/12/37/image_14042025_12_37_36_30128.jpg
MAIN: 2025-04-14 12:37:37,280 - INFO - duration: 0.7466028000017104
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:38:05,964 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:38:06,574 - INFO - taking picture
MAIN: 2025-04-14 12:38:06,575 - INFO - we take 736 photos in this while loop
MAIN: 2025-04-14 12:38:06,575 - INFO - /home/pi/Desktop/images/14042025/12/37/image_14042025_12_38_06_29312.jpg
MAIN: 2025-04-14 12:38:06,575 - INFO - duration: 0.7289955190026376
MAIN: 2025-04-14 12:38:06,576 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/38'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:38:36,587 - INFO - taking picture
MAIN: 2025-04-14 12:38:36,588 - INFO - we take 737 photos in this while loop
MAIN: 2025-04-14 12:38:36,588 - INFO - /home/pi/Desktop/images/14042025/12/38/image_14042025_12_38_36_30034.jpg
MAIN: 2025-04-14 12:38:36,588 - INFO - duration: 0.7072328719987127
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:39:06,129 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:39:06,977 - INFO - taking picture
MAIN: 2025-04-14 12:39:06,977 - INFO - we take 738 photos in this while loop
MAIN: 2025-04-14 12:39:06,977 - INFO - /home/pi/Desktop/images/14042025/12/38/image_14042025_12_39_06_30425.jpg
MAIN: 2025-04-14 12:39:06,978 - INFO - duration: 0.6706400160001067
MAIN: 2025-04-14 12:39:06,978 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/39'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:39:37,084 - INFO - taking picture
MAIN: 2025-04-14 12:39:37,085 - INFO - we take 739 photos in this while loop
MAIN: 2025-04-14 12:39:37,085 - INFO - /home/pi/Desktop/images/14042025/12/39/image_14042025_12_39_36_30040.jpg
MAIN: 2025-04-14 12:39:37,085 - INFO - duration: 0.737575964001735
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:40:06,526 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:40:07,540 - INFO - taking picture
MAIN: 2025-04-14 12:40:07,541 - INFO - we take 740 photos in this while loop
MAIN: 2025-04-14 12:40:07,541 - INFO - /home/pi/Desktop/images/14042025/12/39/image_14042025_12_40_07_30460.jpg
MAIN: 2025-04-14 12:40:07,542 - INFO - duration: 0.733113054997375
MAIN: 2025-04-14 12:40:07,542 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/40'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:40:36,444 - INFO - taking picture
MAIN: 2025-04-14 12:40:36,445 - INFO - we take 741 photos in this while loop
MAIN: 2025-04-14 12:40:36,445 - INFO - /home/pi/Desktop/images/14042025/12/40/image_14042025_12_40_36_28908.jpg
MAIN: 2025-04-14 12:40:36,445 - INFO - duration: 0.7284016560006421
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:41:06,311 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:41:06,816 - INFO - taking picture
MAIN: 2025-04-14 12:41:06,817 - INFO - we take 742 photos in this while loop
MAIN: 2025-04-14 12:41:06,817 - INFO - /home/pi/Desktop/images/14042025/12/40/image_14042025_12_41_06_30349.jpg
MAIN: 2025-04-14 12:41:06,817 - INFO - duration: 0.750589946997934
MAIN: 2025-04-14 12:41:06,817 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/41'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:41:36,869 - INFO - taking picture
MAIN: 2025-04-14 12:41:36,870 - INFO - we take 743 photos in this while loop
MAIN: 2025-04-14 12:41:36,870 - INFO - /home/pi/Desktop/images/14042025/12/41/image_14042025_12_41_36_30073.jpg
MAIN: 2025-04-14 12:41:36,870 - INFO - duration: 0.7302446390021942
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:42:05,968 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:42:07,453 - INFO - taking picture
MAIN: 2025-04-14 12:42:07,454 - INFO - we take 744 photos in this while loop
MAIN: 2025-04-14 12:42:07,454 - INFO - /home/pi/Desktop/images/14042025/12/41/image_14042025_12_42_07_30579.jpg
MAIN: 2025-04-14 12:42:07,454 - INFO - duration: 0.7349567299970658
MAIN: 2025-04-14 12:42:07,455 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/42'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:42:36,449 - INFO - taking picture
MAIN: 2025-04-14 12:42:36,450 - INFO - we take 745 photos in this while loop
MAIN: 2025-04-14 12:42:36,450 - INFO - /home/pi/Desktop/images/14042025/12/42/image_14042025_12_42_36_28987.jpg
MAIN: 2025-04-14 12:42:36,450 - INFO - duration: 0.7434129339999345
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:43:05,631 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:43:06,917 - INFO - taking picture
MAIN: 2025-04-14 12:43:06,918 - INFO - we take 746 photos in this while loop
MAIN: 2025-04-14 12:43:06,918 - INFO - /home/pi/Desktop/images/14042025/12/42/image_14042025_12_43_06_30498.jpg
MAIN: 2025-04-14 12:43:06,918 - INFO - duration: 0.7133404900014284
MAIN: 2025-04-14 12:43:06,918 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/43'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:43:37,194 - INFO - taking picture
MAIN: 2025-04-14 12:43:37,195 - INFO - we take 747 photos in this while loop
MAIN: 2025-04-14 12:43:37,195 - INFO - /home/pi/Desktop/images/14042025/12/43/image_14042025_12_43_36_30260.jpg
MAIN: 2025-04-14 12:43:37,195 - INFO - duration: 0.7295610170003783
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:44:06,707 - INFO - taking picture
MAIN: 2025-04-14 12:44:06,707 - INFO - we take 748 photos in this while loop
MAIN: 2025-04-14 12:44:06,707 - INFO - /home/pi/Desktop/images/14042025/12/43/image_14042025_12_44_06_29522.jpg
MAIN: 2025-04-14 12:44:06,707 - INFO - duration: 0.7192182610015152
MAIN: 2025-04-14 12:44:06,708 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/44'
MAIN: 2025-04-14 12:44:06,748 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:44:36,788 - INFO - taking picture
MAIN: 2025-04-14 12:44:36,788 - INFO - we take 749 photos in this while loop
MAIN: 2025-04-14 12:44:36,788 - INFO - /home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_36_30067.jpg
MAIN: 2025-04-14 12:44:36,789 - INFO - duration: 0.7326876939987415
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:45:05,956 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:45:07,555 - INFO - taking picture
MAIN: 2025-04-14 12:45:07,556 - INFO - we take 750 photos in this while loop
MAIN: 2025-04-14 12:45:07,556 - INFO - /home/pi/Desktop/images/14042025/12/44/image_14042025_12_45_07_30755.jpg
MAIN: 2025-04-14 12:45:07,556 - INFO - duration: 0.7453478039969923
MAIN: 2025-04-14 12:45:07,557 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/45'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:45:36,639 - INFO - taking picture
MAIN: 2025-04-14 12:45:36,639 - INFO - we take 751 photos in this while loop
MAIN: 2025-04-14 12:45:36,640 - INFO - /home/pi/Desktop/images/14042025/12/45/image_14042025_12_45_36_29084.jpg
MAIN: 2025-04-14 12:45:36,640 - INFO - duration: 0.7443640060009784
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:46:06,061 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:46:07,536 - INFO - taking picture
MAIN: 2025-04-14 12:46:07,537 - INFO - we take 752 photos in this while loop
MAIN: 2025-04-14 12:46:07,537 - INFO - /home/pi/Desktop/images/14042025/12/45/image_14042025_12_46_07_30898.jpg
MAIN: 2025-04-14 12:46:07,537 - INFO - duration: 0.7432333340002515
MAIN: 2025-04-14 12:46:07,538 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/46'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:46:36,458 - INFO - taking picture
MAIN: 2025-04-14 12:46:36,459 - INFO - we take 753 photos in this while loop
MAIN: 2025-04-14 12:46:36,459 - INFO - /home/pi/Desktop/images/14042025/12/46/image_14042025_12_46_36_28934.jpg
MAIN: 2025-04-14 12:46:36,459 - INFO - duration: 0.7298819809984707
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:47:05,448 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:47:06,662 - INFO - taking picture
MAIN: 2025-04-14 12:47:06,662 - INFO - we take 754 photos in this while loop
MAIN: 2025-04-14 12:47:06,662 - INFO - /home/pi/Desktop/images/14042025/12/46/image_14042025_12_47_06_30227.jpg
MAIN: 2025-04-14 12:47:06,663 - INFO - duration: 0.7055817729997216
MAIN: 2025-04-14 12:47:06,663 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/47'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:47:36,823 - INFO - taking picture
MAIN: 2025-04-14 12:47:36,824 - INFO - we take 755 photos in this while loop
MAIN: 2025-04-14 12:47:36,824 - INFO - /home/pi/Desktop/images/14042025/12/47/image_14042025_12_47_36_30144.jpg
MAIN: 2025-04-14 12:47:36,824 - INFO - duration: 0.7230986020003911
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:48:06,309 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:48:07,075 - INFO - taking picture
MAIN: 2025-04-14 12:48:07,076 - INFO - we take 756 photos in this while loop
MAIN: 2025-04-14 12:48:07,076 - INFO - /home/pi/Desktop/images/14042025/12/47/image_14042025_12_48_06_30305.jpg
MAIN: 2025-04-14 12:48:07,076 - INFO - duration: 0.6692784929982736
MAIN: 2025-04-14 12:48:07,076 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/48'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:48:37,301 - INFO - taking picture
MAIN: 2025-04-14 12:48:37,301 - INFO - we take 757 photos in this while loop
MAIN: 2025-04-14 12:48:37,301 - INFO - /home/pi/Desktop/images/14042025/12/48/image_14042025_12_48_36_30162.jpg
MAIN: 2025-04-14 12:48:37,302 - INFO - duration: 0.7329038700008823
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:49:06,411 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 12:49:06,738 - INFO - taking picture
MAIN: 2025-04-14 12:49:06,738 - INFO - we take 758 photos in this while loop
MAIN: 2025-04-14 12:49:06,738 - INFO - /home/pi/Desktop/images/14042025/12/48/image_14042025_12_49_06_29440.jpg
MAIN: 2025-04-14 12:49:06,739 - INFO - duration: 0.7294635079997533
MAIN: 2025-04-14 12:49:06,739 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/49'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:49:36,907 - INFO - taking picture
MAIN: 2025-04-14 12:49:36,908 - INFO - we take 759 photos in this while loop
MAIN: 2025-04-14 12:49:36,908 - INFO - /home/pi/Desktop/images/14042025/12/49/image_14042025_12_49_36_30170.jpg
MAIN: 2025-04-14 12:49:36,908 - INFO - duration: 0.7285087179989205
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:50:07,083 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 12:50:07,476 - INFO - taking picture
MAIN: 2025-04-14 12:50:07,477 - INFO - we take 760 photos in this while loop
MAIN: 2025-04-14 12:50:07,477 - INFO - /home/pi/Desktop/images/14042025/12/49/image_14042025_12_50_07_30569.jpg
MAIN: 2025-04-14 12:50:07,478 - INFO - duration: 0.7289727309980663
MAIN: 2025-04-14 12:50:07,478 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/50'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:50:36,405 - INFO - taking picture
MAIN: 2025-04-14 12:50:36,406 - INFO - we take 761 photos in this while loop
MAIN: 2025-04-14 12:50:36,406 - INFO - /home/pi/Desktop/images/14042025/12/50/image_14042025_12_50_36_28920.jpg
MAIN: 2025-04-14 12:50:36,406 - INFO - duration: 0.7362998190001235
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:51:05,669 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:51:06,648 - INFO - taking picture
MAIN: 2025-04-14 12:51:06,649 - INFO - we take 762 photos in this while loop
MAIN: 2025-04-14 12:51:06,649 - INFO - /home/pi/Desktop/images/14042025/12/50/image_14042025_12_51_06_30296.jpg
MAIN: 2025-04-14 12:51:06,649 - INFO - duration: 0.6836211129993899
MAIN: 2025-04-14 12:51:06,650 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/51'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:51:36,828 - INFO - taking picture
MAIN: 2025-04-14 12:51:36,828 - INFO - we take 763 photos in this while loop
MAIN: 2025-04-14 12:51:36,829 - INFO - /home/pi/Desktop/images/14042025/12/51/image_14042025_12_51_36_30130.jpg
MAIN: 2025-04-14 12:51:36,829 - INFO - duration: 0.7326013849997253
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:52:05,954 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:52:07,556 - INFO - taking picture
MAIN: 2025-04-14 12:52:07,556 - INFO - we take 764 photos in this while loop
MAIN: 2025-04-14 12:52:07,557 - INFO - /home/pi/Desktop/images/14042025/12/51/image_14042025_12_52_07_30758.jpg
MAIN: 2025-04-14 12:52:07,557 - INFO - duration: 0.702420183999493
MAIN: 2025-04-14 12:52:07,557 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/52'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:52:36,437 - INFO - taking picture
MAIN: 2025-04-14 12:52:36,437 - INFO - we take 765 photos in this while loop
MAIN: 2025-04-14 12:52:36,438 - INFO - /home/pi/Desktop/images/14042025/12/52/image_14042025_12_52_36_28857.jpg
MAIN: 2025-04-14 12:52:36,438 - INFO - duration: 0.7264580539995222
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:53:05,603 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:53:06,725 - INFO - taking picture
MAIN: 2025-04-14 12:53:06,726 - INFO - we take 766 photos in this while loop
MAIN: 2025-04-14 12:53:06,726 - INFO - /home/pi/Desktop/images/14042025/12/52/image_14042025_12_53_06_30340.jpg
MAIN: 2025-04-14 12:53:06,726 - INFO - duration: 0.6747265880003397
MAIN: 2025-04-14 12:53:06,727 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/53'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:53:36,838 - INFO - taking picture
MAIN: 2025-04-14 12:53:36,839 - INFO - we take 767 photos in this while loop
MAIN: 2025-04-14 12:53:36,839 - INFO - /home/pi/Desktop/images/14042025/12/53/image_14042025_12_53_36_30062.jpg
MAIN: 2025-04-14 12:53:36,839 - INFO - duration: 0.7250718070026778
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:54:06,590 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:54:07,378 - INFO - taking picture
MAIN: 2025-04-14 12:54:07,379 - INFO - we take 768 photos in this while loop
MAIN: 2025-04-14 12:54:07,379 - INFO - /home/pi/Desktop/images/14042025/12/53/image_14042025_12_54_06_30593.jpg
MAIN: 2025-04-14 12:54:07,379 - INFO - duration: 0.6717521629980183
MAIN: 2025-04-14 12:54:07,380 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/54'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:54:37,523 - INFO - taking picture
MAIN: 2025-04-14 12:54:37,524 - INFO - we take 769 photos in this while loop
MAIN: 2025-04-14 12:54:37,524 - INFO - /home/pi/Desktop/images/14042025/12/54/image_14042025_12_54_37_30095.jpg
MAIN: 2025-04-14 12:54:37,524 - INFO - duration: 0.7210178509994876
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:55:06,862 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 12:55:06,972 - INFO - taking picture
MAIN: 2025-04-14 12:55:06,973 - INFO - we take 770 photos in this while loop
MAIN: 2025-04-14 12:55:06,974 - INFO - /home/pi/Desktop/images/14042025/12/54/image_14042025_12_55_06_29422.jpg
MAIN: 2025-04-14 12:55:06,974 - INFO - duration: 0.7486065039993264
MAIN: 2025-04-14 12:55:06,974 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/55'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:55:37,205 - INFO - taking picture
MAIN: 2025-04-14 12:55:37,205 - INFO - we take 771 photos in this while loop
MAIN: 2025-04-14 12:55:37,206 - INFO - /home/pi/Desktop/images/14042025/12/55/image_14042025_12_55_36_30243.jpg
MAIN: 2025-04-14 12:55:37,206 - INFO - duration: 0.7372972840021248
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:56:06,399 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:56:07,561 - INFO - taking picture
MAIN: 2025-04-14 12:56:07,562 - INFO - we take 772 photos in this while loop
MAIN: 2025-04-14 12:56:07,562 - INFO - /home/pi/Desktop/images/14042025/12/55/image_14042025_12_56_07_30398.jpg
MAIN: 2025-04-14 12:56:07,562 - INFO - duration: 0.6952325889978965
MAIN: 2025-04-14 12:56:07,563 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/56'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:56:36,347 - INFO - taking picture
MAIN: 2025-04-14 12:56:36,347 - INFO - we take 773 photos in this while loop
MAIN: 2025-04-14 12:56:36,347 - INFO - /home/pi/Desktop/images/14042025/12/56/image_14042025_12_56_35_28778.jpg
MAIN: 2025-04-14 12:56:36,348 - INFO - duration: 0.7023530090009444
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:57:05,256 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:57:06,607 - INFO - taking picture
MAIN: 2025-04-14 12:57:06,608 - INFO - we take 774 photos in this while loop
MAIN: 2025-04-14 12:57:06,608 - INFO - /home/pi/Desktop/images/14042025/12/56/image_14042025_12_57_06_30256.jpg
MAIN: 2025-04-14 12:57:06,608 - INFO - duration: 0.7067662920017028
MAIN: 2025-04-14 12:57:06,608 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/57'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:57:36,701 - INFO - taking picture
MAIN: 2025-04-14 12:57:36,701 - INFO - we take 775 photos in this while loop
MAIN: 2025-04-14 12:57:36,702 - INFO - /home/pi/Desktop/images/14042025/12/57/image_14042025_12_57_36_30062.jpg
MAIN: 2025-04-14 12:57:36,702 - INFO - duration: 0.7383091639967461
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:58:06,113 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:58:07,286 - INFO - taking picture
MAIN: 2025-04-14 12:58:07,287 - INFO - we take 776 photos in this while loop
MAIN: 2025-04-14 12:58:07,287 - INFO - /home/pi/Desktop/images/14042025/12/57/image_14042025_12_58_06_30599.jpg
MAIN: 2025-04-14 12:58:07,287 - INFO - duration: 0.7245998910002527
MAIN: 2025-04-14 12:58:07,288 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/58'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:58:37,341 - INFO - taking picture
MAIN: 2025-04-14 12:58:37,342 - INFO - we take 777 photos in this while loop
MAIN: 2025-04-14 12:58:37,342 - INFO - /home/pi/Desktop/images/14042025/12/58/image_14042025_12_58_36_30057.jpg
MAIN: 2025-04-14 12:58:37,342 - INFO - duration: 0.721936141999322
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 12:59:05,783 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:59:07,519 - INFO - taking picture
MAIN: 2025-04-14 12:59:07,520 - INFO - we take 778 photos in this while loop
MAIN: 2025-04-14 12:59:07,520 - INFO - /home/pi/Desktop/images/14042025/12/58/image_14042025_12_59_07_30179.jpg
MAIN: 2025-04-14 12:59:07,520 - INFO - duration: 0.7207397370002582
MAIN: 2025-04-14 12:59:07,521 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/12/59'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 12:59:36,341 - INFO - taking picture
MAIN: 2025-04-14 12:59:36,342 - INFO - we take 779 photos in this while loop
MAIN: 2025-04-14 12:59:36,342 - INFO - /home/pi/Desktop/images/14042025/12/59/image_14042025_12_59_35_28832.jpg
MAIN: 2025-04-14 12:59:36,342 - INFO - duration: 0.7106155680012307
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:00:07,333 - INFO - taking picture
MAIN: 2025-04-14 13:00:07,334 - INFO - we take 780 photos in this while loop
MAIN: 2025-04-14 13:00:07,334 - INFO - /home/pi/Desktop/images/14042025/12/59/image_14042025_13_00_06_31000.jpg
MAIN: 2025-04-14 13:00:07,334 - INFO - duration: 0.7028248899987375
MAIN: 2025-04-14 13:00:07,335 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/00'
MAIN: 2025-04-14 13:00:07,487 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:00:37,322 - INFO - taking picture
MAIN: 2025-04-14 13:00:37,322 - INFO - we take 781 photos in this while loop
MAIN: 2025-04-14 13:00:37,322 - INFO - /home/pi/Desktop/images/14042025/13/00/image_14042025_13_00_36_29985.jpg
MAIN: 2025-04-14 13:00:37,323 - INFO - duration: 0.7054827040010423
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 13:01:06,134 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:01:06,653 - INFO - taking picture
MAIN: 2025-04-14 13:01:06,654 - INFO - we take 782 photos in this while loop
MAIN: 2025-04-14 13:01:06,654 - INFO - /home/pi/Desktop/images/14042025/13/00/image_14042025_13_01_06_29315.jpg
MAIN: 2025-04-14 13:01:06,654 - INFO - duration: 0.7213303120006458
MAIN: 2025-04-14 13:01:06,655 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/01'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:01:36,695 - INFO - taking picture
MAIN: 2025-04-14 13:01:36,695 - INFO - we take 783 photos in this while loop
MAIN: 2025-04-14 13:01:36,695 - INFO - /home/pi/Desktop/images/14042025/13/01/image_14042025_13_01_36_30037.jpg
MAIN: 2025-04-14 13:01:36,695 - INFO - duration: 0.7253954180014262
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:02:07,320 - INFO - taking picture
MAIN: 2025-04-14 13:02:07,321 - INFO - we take 784 photos in this while loop
MAIN: 2025-04-14 13:02:07,321 - INFO - /home/pi/Desktop/images/14042025/13/01/image_14042025_13_02_06_30555.jpg
MAIN: 2025-04-14 13:02:07,322 - INFO - duration: 0.7963785590000043
MAIN: 2025-04-14 13:02:07,322 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/02'
MAIN: 2025-04-14 13:02:07,747 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:02:37,280 - INFO - taking picture
MAIN: 2025-04-14 13:02:37,281 - INFO - we take 785 photos in this while loop
MAIN: 2025-04-14 13:02:37,281 - INFO - /home/pi/Desktop/images/14042025/13/02/image_14042025_13_02_36_30034.jpg
MAIN: 2025-04-14 13:02:37,281 - INFO - duration: 0.7206950399995549
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 13:03:05,546 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:03:06,305 - INFO - taking picture
MAIN: 2025-04-14 13:03:06,306 - INFO - we take 786 photos in this while loop
MAIN: 2025-04-14 13:03:06,306 - INFO - /home/pi/Desktop/images/14042025/13/02/image_14042025_13_03_05_29063.jpg
MAIN: 2025-04-14 13:03:06,306 - INFO - duration: 0.6821211380010936
MAIN: 2025-04-14 13:03:06,307 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/03'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:03:36,477 - INFO - taking picture
MAIN: 2025-04-14 13:03:36,477 - INFO - we take 787 photos in this while loop
MAIN: 2025-04-14 13:03:36,477 - INFO - /home/pi/Desktop/images/14042025/13/03/image_14042025_13_03_36_30117.jpg
MAIN: 2025-04-14 13:03:36,478 - INFO - duration: 0.7355902320014138
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 13:04:05,822 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:04:06,784 - INFO - taking picture
MAIN: 2025-04-14 13:04:06,785 - INFO - we take 788 photos in this while loop
MAIN: 2025-04-14 13:04:06,785 - INFO - /home/pi/Desktop/images/14042025/13/03/image_14042025_13_04_06_30371.jpg
MAIN: 2025-04-14 13:04:06,785 - INFO - duration: 0.6719609920000948
MAIN: 2025-04-14 13:04:06,786 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/04'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:04:36,961 - INFO - taking picture
MAIN: 2025-04-14 13:04:36,961 - INFO - we take 789 photos in this while loop
MAIN: 2025-04-14 13:04:36,962 - INFO - /home/pi/Desktop/images/14042025/13/04/image_14042025_13_04_36_30112.jpg
MAIN: 2025-04-14 13:04:36,962 - INFO - duration: 0.7355134309982532
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:05:06,581 - INFO - taking picture
MAIN: 2025-04-14 13:05:06,581 - INFO - we take 790 photos in this while loop
MAIN: 2025-04-14 13:05:06,582 - INFO - /home/pi/Desktop/images/14042025/13/04/image_14042025_13_05_06_29629.jpg
MAIN: 2025-04-14 13:05:06,582 - INFO - duration: 0.7262295809996431
MAIN: 2025-04-14 13:05:06,582 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/05'
MAIN: 2025-04-14 13:05:06,892 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:05:36,771 - INFO - taking picture
MAIN: 2025-04-14 13:05:36,771 - INFO - we take 791 photos in this while loop
MAIN: 2025-04-14 13:05:36,771 - INFO - /home/pi/Desktop/images/14042025/13/05/image_14042025_13_05_36_30180.jpg
MAIN: 2025-04-14 13:05:36,772 - INFO - duration: 0.7354705990001094
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 13:06:05,987 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:06:07,070 - INFO - taking picture
MAIN: 2025-04-14 13:06:07,071 - INFO - we take 792 photos in this while loop
MAIN: 2025-04-14 13:06:07,071 - INFO - /home/pi/Desktop/images/14042025/13/05/image_14042025_13_06_06_30368.jpg
MAIN: 2025-04-14 13:06:07,071 - INFO - duration: 0.6666466339993349
MAIN: 2025-04-14 13:06:07,071 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/06'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:06:37,224 - INFO - taking picture
MAIN: 2025-04-14 13:06:37,225 - INFO - we take 793 photos in this while loop
MAIN: 2025-04-14 13:06:37,225 - INFO - /home/pi/Desktop/images/14042025/13/06/image_14042025_13_06_36_30093.jpg
MAIN: 2025-04-14 13:06:37,225 - INFO - duration: 0.727161722999881
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:07:06,185 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 13:07:06,487 - INFO - taking picture
MAIN: 2025-04-14 13:07:06,488 - INFO - we take 794 photos in this while loop
MAIN: 2025-04-14 13:07:06,488 - INFO - /home/pi/Desktop/images/14042025/13/06/image_14042025_13_07_06_29248.jpg
MAIN: 2025-04-14 13:07:06,488 - INFO - duration: 0.7411234789979062
MAIN: 2025-04-14 13:07:06,488 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/07'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:07:36,640 - INFO - taking picture
MAIN: 2025-04-14 13:07:36,641 - INFO - we take 795 photos in this while loop
MAIN: 2025-04-14 13:07:36,641 - INFO - /home/pi/Desktop/images/14042025/13/07/image_14042025_13_07_36_30167.jpg
MAIN: 2025-04-14 13:07:36,641 - INFO - duration: 0.7269603120003012
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 13:08:06,514 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:08:07,331 - INFO - taking picture
MAIN: 2025-04-14 13:08:07,331 - INFO - we take 796 photos in this while loop
MAIN: 2025-04-14 13:08:07,332 - INFO - /home/pi/Desktop/images/14042025/13/07/image_14042025_13_08_06_30733.jpg
MAIN: 2025-04-14 13:08:07,332 - INFO - duration: 0.6847423799990793
MAIN: 2025-04-14 13:08:07,332 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/08'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:08:37,592 - INFO - taking picture
MAIN: 2025-04-14 13:08:37,592 - INFO - we take 797 photos in this while loop
MAIN: 2025-04-14 13:08:37,593 - INFO - /home/pi/Desktop/images/14042025/13/08/image_14042025_13_08_37_30230.jpg
MAIN: 2025-04-14 13:08:37,593 - INFO - duration: 0.7155771769976127
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 13:09:05,716 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:09:06,525 - INFO - taking picture
MAIN: 2025-04-14 13:09:06,526 - INFO - we take 798 photos in this while loop
MAIN: 2025-04-14 13:09:06,526 - INFO - /home/pi/Desktop/images/14042025/13/08/image_14042025_13_09_06_28979.jpg
MAIN: 2025-04-14 13:09:06,526 - INFO - duration: 0.6695921659993473
MAIN: 2025-04-14 13:09:06,527 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/09'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:09:36,531 - INFO - taking picture
MAIN: 2025-04-14 13:09:36,532 - INFO - we take 799 photos in this while loop
MAIN: 2025-04-14 13:09:36,532 - INFO - /home/pi/Desktop/images/14042025/13/09/image_14042025_13_09_36_29949.jpg
MAIN: 2025-04-14 13:09:36,532 - INFO - duration: 0.7253814649993728
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:10:07,019 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 13:10:07,346 - INFO - taking picture
MAIN: 2025-04-14 13:10:07,347 - INFO - we take 800 photos in this while loop
MAIN: 2025-04-14 13:10:07,347 - INFO - /home/pi/Desktop/images/14042025/13/09/image_14042025_13_10_06_30789.jpg
MAIN: 2025-04-14 13:10:07,347 - INFO - duration: 0.7506615169986617
MAIN: 2025-04-14 13:10:07,348 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/10'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:10:37,566 - INFO - taking picture
MAIN: 2025-04-14 13:10:37,567 - INFO - we take 801 photos in this while loop
MAIN: 2025-04-14 13:10:37,567 - INFO - /home/pi/Desktop/images/14042025/13/10/image_14042025_13_10_37_30235.jpg
MAIN: 2025-04-14 13:10:37,567 - INFO - duration: 0.7357497659977525
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 13:11:05,679 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:11:06,576 - INFO - taking picture
MAIN: 2025-04-14 13:11:06,577 - INFO - we take 802 photos in this while loop
MAIN: 2025-04-14 13:11:06,577 - INFO - /home/pi/Desktop/images/14042025/13/10/image_14042025_13_11_06_29070.jpg
MAIN: 2025-04-14 13:11:06,577 - INFO - duration: 0.6750505340023665
MAIN: 2025-04-14 13:11:06,577 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/11'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:11:36,804 - INFO - taking picture
MAIN: 2025-04-14 13:11:36,804 - INFO - we take 803 photos in this while loop
MAIN: 2025-04-14 13:11:36,804 - INFO - /home/pi/Desktop/images/14042025/13/11/image_14042025_13_11_36_30181.jpg
MAIN: 2025-04-14 13:11:36,805 - INFO - duration: 0.7208905530023912
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 13:12:06,445 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:12:07,254 - INFO - taking picture
MAIN: 2025-04-14 13:12:07,255 - INFO - we take 804 photos in this while loop
MAIN: 2025-04-14 13:12:07,255 - INFO - /home/pi/Desktop/images/14042025/13/11/image_14042025_13_12_06_30482.jpg
MAIN: 2025-04-14 13:12:07,255 - INFO - duration: 0.6885857209999813
MAIN: 2025-04-14 13:12:07,255 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/12'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:12:37,746 - INFO - taking picture
MAIN: 2025-04-14 13:12:37,746 - INFO - we take 805 photos in this while loop
MAIN: 2025-04-14 13:12:37,746 - INFO - /home/pi/Desktop/images/14042025/13/12/image_14042025_13_12_37_30192.jpg
MAIN: 2025-04-14 13:12:37,746 - INFO - duration: 0.9875245159964834
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 13:13:06,000 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:13:06,883 - INFO - taking picture
MAIN: 2025-04-14 13:13:06,884 - INFO - we take 806 photos in this while loop
MAIN: 2025-04-14 13:13:06,884 - INFO - /home/pi/Desktop/images/14042025/13/12/image_14042025_13_13_06_29449.jpg
MAIN: 2025-04-14 13:13:06,884 - INFO - duration: 0.6756153710011858
MAIN: 2025-04-14 13:13:06,885 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/13'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:13:37,046 - INFO - taking picture
MAIN: 2025-04-14 13:13:37,047 - INFO - we take 807 photos in this while loop
MAIN: 2025-04-14 13:13:37,047 - INFO - /home/pi/Desktop/images/14042025/13/13/image_14042025_13_13_36_30111.jpg
MAIN: 2025-04-14 13:13:37,047 - INFO - duration: 0.7264973210003518
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 13:14:05,617 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:14:07,399 - INFO - taking picture
MAIN: 2025-04-14 13:14:07,399 - INFO - we take 808 photos in this while loop
MAIN: 2025-04-14 13:14:07,400 - INFO - /home/pi/Desktop/images/14042025/13/13/image_14042025_13_14_07_30349.jpg
MAIN: 2025-04-14 13:14:07,400 - INFO - duration: 0.7299170500009495
MAIN: 2025-04-14 13:14:07,400 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/14'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:14:37,402 - INFO - taking picture
MAIN: 2025-04-14 13:14:37,403 - INFO - we take 809 photos in this while loop
MAIN: 2025-04-14 13:14:37,403 - INFO - /home/pi/Desktop/images/14042025/13/14/image_14042025_13_14_37_30001.jpg
MAIN: 2025-04-14 13:14:37,403 - INFO - duration: 0.7316221429973666
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 13:15:06,307 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:15:06,997 - INFO - taking picture
MAIN: 2025-04-14 13:15:06,998 - INFO - we take 810 photos in this while loop
MAIN: 2025-04-14 13:15:06,998 - INFO - /home/pi/Desktop/images/14042025/13/14/image_14042025_13_15_06_29577.jpg
MAIN: 2025-04-14 13:15:06,998 - INFO - duration: 0.7488734959988506
MAIN: 2025-04-14 13:15:06,999 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/15'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:15:37,053 - INFO - taking picture
MAIN: 2025-04-14 13:15:37,054 - INFO - we take 811 photos in this while loop
MAIN: 2025-04-14 13:15:37,054 - INFO - /home/pi/Desktop/images/14042025/13/15/image_14042025_13_15_36_30082.jpg
MAIN: 2025-04-14 13:15:37,054 - INFO - duration: 0.7228586780001933
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:16:06,150 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 13:16:06,501 - INFO - taking picture
MAIN: 2025-04-14 13:16:06,502 - INFO - we take 812 photos in this while loop
MAIN: 2025-04-14 13:16:06,502 - INFO - /home/pi/Desktop/images/14042025/13/15/image_14042025_13_16_06_29430.jpg
MAIN: 2025-04-14 13:16:06,502 - INFO - duration: 0.7401337819974287
MAIN: 2025-04-14 13:16:06,502 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/16'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:16:36,658 - INFO - taking picture
MAIN: 2025-04-14 13:16:36,659 - INFO - we take 813 photos in this while loop
MAIN: 2025-04-14 13:16:36,659 - INFO - /home/pi/Desktop/images/14042025/13/16/image_14042025_13_16_36_30177.jpg
MAIN: 2025-04-14 13:16:36,659 - INFO - duration: 0.719762927001284
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 13:17:06,145 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:17:06,999 - INFO - taking picture
MAIN: 2025-04-14 13:17:07,000 - INFO - we take 814 photos in this while loop
MAIN: 2025-04-14 13:17:07,000 - INFO - /home/pi/Desktop/images/14042025/13/16/image_14042025_13_17_06_30391.jpg
MAIN: 2025-04-14 13:17:07,000 - INFO - duration: 0.6694095040002139
MAIN: 2025-04-14 13:17:07,000 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/17'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:17:37,005 - INFO - taking picture
MAIN: 2025-04-14 13:17:37,006 - INFO - we take 815 photos in this while loop
MAIN: 2025-04-14 13:17:37,006 - INFO - /home/pi/Desktop/images/14042025/13/17/image_14042025_13_17_36_29961.jpg
MAIN: 2025-04-14 13:17:37,006 - INFO - duration: 0.71431988599943
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 13:18:06,547 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:18:07,336 - INFO - taking picture
MAIN: 2025-04-14 13:18:07,336 - INFO - we take 816 photos in this while loop
MAIN: 2025-04-14 13:18:07,336 - INFO - /home/pi/Desktop/images/14042025/13/17/image_14042025_13_18_06_30377.jpg
MAIN: 2025-04-14 13:18:07,336 - INFO - duration: 0.6675589660007972
MAIN: 2025-04-14 13:18:07,337 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/18'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:18:37,463 - INFO - taking picture
MAIN: 2025-04-14 13:18:37,464 - INFO - we take 817 photos in this while loop
MAIN: 2025-04-14 13:18:37,464 - INFO - /home/pi/Desktop/images/14042025/13/18/image_14042025_13_18_37_30067.jpg
MAIN: 2025-04-14 13:18:37,464 - INFO - duration: 0.7275269090023357
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:19:06,422 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 13:19:06,587 - INFO - taking picture
MAIN: 2025-04-14 13:19:06,588 - INFO - we take 818 photos in this while loop
MAIN: 2025-04-14 13:19:06,588 - INFO - /home/pi/Desktop/images/14042025/13/18/image_14042025_13_19_06_29141.jpg
MAIN: 2025-04-14 13:19:06,588 - INFO - duration: 0.71002944400243
MAIN: 2025-04-14 13:19:06,588 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/19'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:19:36,637 - INFO - taking picture
MAIN: 2025-04-14 13:19:36,637 - INFO - we take 819 photos in this while loop
MAIN: 2025-04-14 13:19:36,637 - INFO - /home/pi/Desktop/images/14042025/13/19/image_14042025_13_19_36_30056.jpg
MAIN: 2025-04-14 13:19:36,638 - INFO - duration: 0.7034542780020274
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 13:20:06,954 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:20:07,530 - INFO - taking picture
MAIN: 2025-04-14 13:20:07,531 - INFO - we take 820 photos in this while loop
MAIN: 2025-04-14 13:20:07,532 - INFO - /home/pi/Desktop/images/14042025/13/19/image_14042025_13_20_07_30837.jpg
MAIN: 2025-04-14 13:20:07,533 - INFO - duration: 0.760728831999586
MAIN: 2025-04-14 13:20:07,534 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/20'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:20:36,458 - INFO - taking picture
MAIN: 2025-04-14 13:20:36,459 - INFO - we take 821 photos in this while loop
MAIN: 2025-04-14 13:20:36,459 - INFO - /home/pi/Desktop/images/14042025/13/20/image_14042025_13_20_36_28952.jpg
MAIN: 2025-04-14 13:20:36,459 - INFO - duration: 0.7346945939971192
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 13:21:05,562 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:21:06,881 - INFO - taking picture
MAIN: 2025-04-14 13:21:06,881 - INFO - we take 822 photos in this while loop
MAIN: 2025-04-14 13:21:06,881 - INFO - /home/pi/Desktop/images/14042025/13/20/image_14042025_13_21_06_30458.jpg
MAIN: 2025-04-14 13:21:06,882 - INFO - duration: 0.6986776960002317
MAIN: 2025-04-14 13:21:06,882 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/21'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:21:37,120 - INFO - taking picture
MAIN: 2025-04-14 13:21:37,120 - INFO - we take 823 photos in this while loop
MAIN: 2025-04-14 13:21:37,120 - INFO - /home/pi/Desktop/images/14042025/13/21/image_14042025_13_21_36_30203.jpg
MAIN: 2025-04-14 13:21:37,121 - INFO - duration: 0.7339278120016388
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:22:06,380 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 13:22:06,616 - INFO - taking picture
MAIN: 2025-04-14 13:22:06,617 - INFO - we take 824 photos in this while loop
MAIN: 2025-04-14 13:22:06,617 - INFO - /home/pi/Desktop/images/14042025/13/21/image_14042025_13_22_06_29489.jpg
MAIN: 2025-04-14 13:22:06,617 - INFO - duration: 0.7410348419980437
MAIN: 2025-04-14 13:22:06,617 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/22'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:22:36,718 - INFO - taking picture
MAIN: 2025-04-14 13:22:36,719 - INFO - we take 825 photos in this while loop
MAIN: 2025-04-14 13:22:36,719 - INFO - /home/pi/Desktop/images/14042025/13/22/image_14042025_13_22_36_30104.jpg
MAIN: 2025-04-14 13:22:36,719 - INFO - duration: 0.7383861380003509
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 13:23:06,393 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:23:07,071 - INFO - taking picture
MAIN: 2025-04-14 13:23:07,072 - INFO - we take 826 photos in this while loop
MAIN: 2025-04-14 13:23:07,072 - INFO - /home/pi/Desktop/images/14042025/13/22/image_14042025_13_23_06_30349.jpg
MAIN: 2025-04-14 13:23:07,072 - INFO - duration: 0.7422476979991188
MAIN: 2025-04-14 13:23:07,073 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/23'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:23:37,238 - INFO - taking picture
MAIN: 2025-04-14 13:23:37,239 - INFO - we take 827 photos in this while loop
MAIN: 2025-04-14 13:23:37,239 - INFO - /home/pi/Desktop/images/14042025/13/23/image_14042025_13_23_36_30184.jpg
MAIN: 2025-04-14 13:23:37,239 - INFO - duration: 0.7249463309999555
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:24:06,415 - INFO - taking picture
MAIN: 2025-04-14 13:24:06,415 - INFO - we take 828 photos in this while loop
MAIN: 2025-04-14 13:24:06,416 - INFO - /home/pi/Desktop/images/14042025/13/23/image_14042025_13_24_06_29199.jpg
MAIN: 2025-04-14 13:24:06,416 - INFO - duration: 0.701946785000473
MAIN: 2025-04-14 13:24:06,416 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/24'
MAIN: 2025-04-14 13:24:06,851 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:24:36,389 - INFO - taking picture
MAIN: 2025-04-14 13:24:36,390 - INFO - we take 829 photos in this while loop
MAIN: 2025-04-14 13:24:36,390 - INFO - /home/pi/Desktop/images/14042025/13/24/image_14042025_13_24_36_29948.jpg
MAIN: 2025-04-14 13:24:36,390 - INFO - duration: 0.7277411160030169
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 13:25:06,279 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:25:07,001 - INFO - taking picture
MAIN: 2025-04-14 13:25:07,001 - INFO - we take 830 photos in this while loop
MAIN: 2025-04-14 13:25:07,002 - INFO - /home/pi/Desktop/images/14042025/13/24/image_14042025_13_25_06_30616.jpg
MAIN: 2025-04-14 13:25:07,002 - INFO - duration: 0.722800172999996
MAIN: 2025-04-14 13:25:07,002 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/25'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:25:37,174 - INFO - taking picture
MAIN: 2025-04-14 13:25:37,174 - INFO - we take 831 photos in this while loop
MAIN: 2025-04-14 13:25:37,174 - INFO - /home/pi/Desktop/images/14042025/13/25/image_14042025_13_25_36_30174.jpg
MAIN: 2025-04-14 13:25:37,175 - INFO - duration: 0.7208268870017491
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 13:26:06,066 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:26:06,736 - INFO - taking picture
MAIN: 2025-04-14 13:26:06,736 - INFO - we take 832 photos in this while loop
MAIN: 2025-04-14 13:26:06,736 - INFO - /home/pi/Desktop/images/14042025/13/25/image_14042025_13_26_06_29534.jpg
MAIN: 2025-04-14 13:26:06,737 - INFO - duration: 0.7487815839995164
MAIN: 2025-04-14 13:26:06,737 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/26'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:26:37,056 - INFO - taking picture
MAIN: 2025-04-14 13:26:37,056 - INFO - we take 833 photos in this while loop
MAIN: 2025-04-14 13:26:37,057 - INFO - /home/pi/Desktop/images/14042025/13/26/image_14042025_13_26_36_30333.jpg
MAIN: 2025-04-14 13:26:37,057 - INFO - duration: 0.7357566279970342
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 13:27:05,930 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:27:07,462 - INFO - taking picture
MAIN: 2025-04-14 13:27:07,463 - INFO - we take 834 photos in this while loop
MAIN: 2025-04-14 13:27:07,463 - INFO - /home/pi/Desktop/images/14042025/13/26/image_14042025_13_27_07_30411.jpg
MAIN: 2025-04-14 13:27:07,463 - INFO - duration: 0.7309239149981295
MAIN: 2025-04-14 13:27:07,464 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/27'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:27:37,554 - INFO - taking picture
MAIN: 2025-04-14 13:27:37,555 - INFO - we take 835 photos in this while loop
MAIN: 2025-04-14 13:27:37,555 - INFO - /home/pi/Desktop/images/14042025/13/27/image_14042025_13_27_37_30091.jpg
MAIN: 2025-04-14 13:27:37,555 - INFO - duration: 0.7313585480005713
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 13:28:06,478 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:28:07,097 - INFO - taking picture
MAIN: 2025-04-14 13:28:07,098 - INFO - we take 836 photos in this while loop
MAIN: 2025-04-14 13:28:07,098 - INFO - /home/pi/Desktop/images/14042025/13/27/image_14042025_13_28_06_29527.jpg
MAIN: 2025-04-14 13:28:07,098 - INFO - duration: 0.7470203230004699
MAIN: 2025-04-14 13:28:07,099 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/28'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:28:37,241 - INFO - taking picture
MAIN: 2025-04-14 13:28:37,242 - INFO - we take 837 photos in this while loop
MAIN: 2025-04-14 13:28:37,242 - INFO - /home/pi/Desktop/images/14042025/13/28/image_14042025_13_28_36_30142.jpg
MAIN: 2025-04-14 13:28:37,242 - INFO - duration: 0.7487040710002475
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 13:29:06,250 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:29:07,553 - INFO - taking picture
MAIN: 2025-04-14 13:29:07,554 - INFO - we take 838 photos in this while loop
MAIN: 2025-04-14 13:29:07,554 - INFO - /home/pi/Desktop/images/14042025/13/28/image_14042025_13_29_07_30354.jpg
MAIN: 2025-04-14 13:29:07,554 - INFO - duration: 0.7058963929994206
MAIN: 2025-04-14 13:29:07,555 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/29'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:29:36,635 - INFO - taking picture
MAIN: 2025-04-14 13:29:36,635 - INFO - we take 839 photos in this while loop
MAIN: 2025-04-14 13:29:36,635 - INFO - /home/pi/Desktop/images/14042025/13/29/image_14042025_13_29_36_29042.jpg
MAIN: 2025-04-14 13:29:36,636 - INFO - duration: 0.7446831790002761
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:30:06,679 - INFO - taking picture
MAIN: 2025-04-14 13:30:06,680 - INFO - we take 840 photos in this while loop
MAIN: 2025-04-14 13:30:06,681 - INFO - /home/pi/Desktop/images/14042025/13/29/image_14042025_13_30_06_30060.jpg
MAIN: 2025-04-14 13:30:06,682 - INFO - duration: 0.73024660900046
MAIN: 2025-04-14 13:30:06,683 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/30'
MAIN: 2025-04-14 13:30:06,879 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:30:37,016 - INFO - taking picture
MAIN: 2025-04-14 13:30:37,016 - INFO - we take 841 photos in this while loop
MAIN: 2025-04-14 13:30:37,017 - INFO - /home/pi/Desktop/images/14042025/13/30/image_14042025_13_30_36_30333.jpg
MAIN: 2025-04-14 13:30:37,017 - INFO - duration: 0.731507597000018
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 13:31:05,590 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:31:07,366 - INFO - taking picture
MAIN: 2025-04-14 13:31:07,367 - INFO - we take 842 photos in this while loop
MAIN: 2025-04-14 13:31:07,367 - INFO - /home/pi/Desktop/images/14042025/13/30/image_14042025_13_31_06_30341.jpg
MAIN: 2025-04-14 13:31:07,367 - INFO - duration: 0.7409533280006144
MAIN: 2025-04-14 13:31:07,368 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/31'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:31:37,472 - INFO - taking picture
MAIN: 2025-04-14 13:31:37,472 - INFO - we take 843 photos in this while loop
MAIN: 2025-04-14 13:31:37,473 - INFO - /home/pi/Desktop/images/14042025/13/31/image_14042025_13_31_37_30146.jpg
MAIN: 2025-04-14 13:31:37,473 - INFO - duration: 0.6997289859973534
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 13:32:06,313 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:32:06,883 - INFO - taking picture
MAIN: 2025-04-14 13:32:06,884 - INFO - we take 844 photos in this while loop
MAIN: 2025-04-14 13:32:06,884 - INFO - /home/pi/Desktop/images/14042025/13/31/image_14042025_13_32_06_29364.jpg
MAIN: 2025-04-14 13:32:06,884 - INFO - duration: 0.746411504002026
MAIN: 2025-04-14 13:32:06,884 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/32'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:32:37,054 - INFO - taking picture
MAIN: 2025-04-14 13:32:37,054 - INFO - we take 845 photos in this while loop
MAIN: 2025-04-14 13:32:37,055 - INFO - /home/pi/Desktop/images/14042025/13/32/image_14042025_13_32_36_30196.jpg
MAIN: 2025-04-14 13:32:37,055 - INFO - duration: 0.7208285230008187
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 13:33:06,052 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:33:07,518 - INFO - taking picture
MAIN: 2025-04-14 13:33:07,519 - INFO - we take 846 photos in this while loop
MAIN: 2025-04-14 13:33:07,519 - INFO - /home/pi/Desktop/images/14042025/13/32/image_14042025_13_33_07_30461.jpg
MAIN: 2025-04-14 13:33:07,519 - INFO - duration: 0.7235746700025629
MAIN: 2025-04-14 13:33:07,519 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/33'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:33:36,356 - INFO - taking picture
MAIN: 2025-04-14 13:33:36,357 - INFO - we take 847 photos in this while loop
MAIN: 2025-04-14 13:33:36,357 - INFO - /home/pi/Desktop/images/14042025/13/33/image_14042025_13_33_35_28856.jpg
MAIN: 2025-04-14 13:33:36,357 - INFO - duration: 0.7055725250029354
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:34:06,890 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 13:34:07,089 - INFO - taking picture
MAIN: 2025-04-14 13:34:07,090 - INFO - we take 848 photos in this while loop
MAIN: 2025-04-14 13:34:07,090 - INFO - /home/pi/Desktop/images/14042025/13/33/image_14042025_13_34_06_30702.jpg
MAIN: 2025-04-14 13:34:07,090 - INFO - duration: 0.7360908169976028
MAIN: 2025-04-14 13:34:07,091 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/34'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=30 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:34:37,155 - INFO - taking picture
MAIN: 2025-04-14 13:34:37,156 - INFO - we take 849 photos in this while loop
MAIN: 2025-04-14 13:34:37,156 - INFO - /home/pi/Desktop/images/14042025/13/34/image_14042025_13_34_36_30097.jpg
MAIN: 2025-04-14 13:34:37,156 - INFO - duration: 0.7045173139995313
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:35:06,114 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 13:35:06,559 - INFO - taking picture
MAIN: 2025-04-14 13:35:06,559 - INFO - we take 850 photos in this while loop
MAIN: 2025-04-14 13:35:06,560 - INFO - /home/pi/Desktop/images/14042025/13/34/image_14042025_13_35_06_29371.jpg
MAIN: 2025-04-14 13:35:06,560 - INFO - duration: 0.7366710239984968
MAIN: 2025-04-14 13:35:06,560 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/35'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:35:36,626 - INFO - taking picture
MAIN: 2025-04-14 13:35:36,626 - INFO - we take 851 photos in this while loop
MAIN: 2025-04-14 13:35:36,627 - INFO - /home/pi/Desktop/images/14042025/13/35/image_14042025_13_35_36_30078.jpg
MAIN: 2025-04-14 13:35:36,627 - INFO - duration: 0.7246908610031824
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 13:36:05,620 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:36:06,954 - INFO - taking picture
MAIN: 2025-04-14 13:36:06,954 - INFO - we take 852 photos in this while loop
MAIN: 2025-04-14 13:36:06,954 - INFO - /home/pi/Desktop/images/14042025/13/35/image_14042025_13_36_06_30350.jpg
MAIN: 2025-04-14 13:36:06,955 - INFO - duration: 0.7016834039968671
MAIN: 2025-04-14 13:36:06,955 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/36'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:36:37,046 - INFO - taking picture
MAIN: 2025-04-14 13:36:37,047 - INFO - we take 853 photos in this while loop
MAIN: 2025-04-14 13:36:37,047 - INFO - /home/pi/Desktop/images/14042025/13/36/image_14042025_13_36_36_30067.jpg
MAIN: 2025-04-14 13:36:37,047 - INFO - duration: 0.7269954349976615
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 13:37:05,723 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:37:07,403 - INFO - taking picture
MAIN: 2025-04-14 13:37:07,403 - INFO - we take 854 photos in this while loop
MAIN: 2025-04-14 13:37:07,404 - INFO - /home/pi/Desktop/images/14042025/13/36/image_14042025_13_37_07_30379.jpg
MAIN: 2025-04-14 13:37:07,404 - INFO - duration: 0.7037504819963942
MAIN: 2025-04-14 13:37:07,404 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/37'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:37:37,451 - INFO - taking picture
MAIN: 2025-04-14 13:37:37,452 - INFO - we take 855 photos in this while loop
MAIN: 2025-04-14 13:37:37,452 - INFO - /home/pi/Desktop/images/14042025/13/37/image_14042025_13_37_37_30020.jpg
MAIN: 2025-04-14 13:37:37,452 - INFO - duration: 0.7316343480051728
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:38:06,585 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 13:38:06,853 - INFO - taking picture
MAIN: 2025-04-14 13:38:06,854 - INFO - we take 856 photos in this while loop
MAIN: 2025-04-14 13:38:06,854 - INFO - /home/pi/Desktop/images/14042025/13/37/image_14042025_13_38_06_29402.jpg
MAIN: 2025-04-14 13:38:06,854 - INFO - duration: 0.730948880998767
MAIN: 2025-04-14 13:38:06,855 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/38'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:38:36,975 - INFO - taking picture
MAIN: 2025-04-14 13:38:36,975 - INFO - we take 857 photos in this while loop
MAIN: 2025-04-14 13:38:36,975 - INFO - /home/pi/Desktop/images/14042025/13/38/image_14042025_13_38_36_30123.jpg
MAIN: 2025-04-14 13:38:36,976 - INFO - duration: 0.7287306530051865
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 13:39:05,611 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:39:07,305 - INFO - taking picture
MAIN: 2025-04-14 13:39:07,306 - INFO - we take 858 photos in this while loop
MAIN: 2025-04-14 13:39:07,306 - INFO - /home/pi/Desktop/images/14042025/13/38/image_14042025_13_39_06_30356.jpg
MAIN: 2025-04-14 13:39:07,306 - INFO - duration: 0.7023729380016448
MAIN: 2025-04-14 13:39:07,306 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/39'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:39:37,450 - INFO - taking picture
MAIN: 2025-04-14 13:39:37,451 - INFO - we take 859 photos in this while loop
MAIN: 2025-04-14 13:39:37,451 - INFO - /home/pi/Desktop/images/14042025/13/39/image_14042025_13_39_37_30122.jpg
MAIN: 2025-04-14 13:39:37,451 - INFO - duration: 0.7247570609979448
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:40:06,902 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 13:40:07,043 - INFO - taking picture
MAIN: 2025-04-14 13:40:07,044 - INFO - we take 860 photos in this while loop
MAIN: 2025-04-14 13:40:07,044 - INFO - /home/pi/Desktop/images/14042025/13/39/image_14042025_13_40_06_29592.jpg
MAIN: 2025-04-14 13:40:07,045 - INFO - duration: 0.7264024800024345
MAIN: 2025-04-14 13:40:07,045 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/40'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:40:37,175 - INFO - taking picture
MAIN: 2025-04-14 13:40:37,176 - INFO - we take 861 photos in this while loop
MAIN: 2025-04-14 13:40:37,176 - INFO - /home/pi/Desktop/images/14042025/13/40/image_14042025_13_40_36_30121.jpg
MAIN: 2025-04-14 13:40:37,176 - INFO - duration: 0.7365882660014904
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 13:41:05,940 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:41:06,391 - INFO - taking picture
MAIN: 2025-04-14 13:41:06,392 - INFO - we take 862 photos in this while loop
MAIN: 2025-04-14 13:41:06,392 - INFO - /home/pi/Desktop/images/14042025/13/40/image_14042025_13_41_05_29224.jpg
MAIN: 2025-04-14 13:41:06,392 - INFO - duration: 0.7282810769975185
MAIN: 2025-04-14 13:41:06,393 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/41'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:41:36,514 - INFO - taking picture
MAIN: 2025-04-14 13:41:36,515 - INFO - we take 863 photos in this while loop
MAIN: 2025-04-14 13:41:36,515 - INFO - /home/pi/Desktop/images/14042025/13/41/image_14042025_13_41_36_30142.jpg
MAIN: 2025-04-14 13:41:36,515 - INFO - duration: 0.7092124270056956
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 13:42:06,341 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:42:07,057 - INFO - taking picture
MAIN: 2025-04-14 13:42:07,058 - INFO - we take 864 photos in this while loop
MAIN: 2025-04-14 13:42:07,058 - INFO - /home/pi/Desktop/images/14042025/13/41/image_14042025_13_42_06_30521.jpg
MAIN: 2025-04-14 13:42:07,058 - INFO - duration: 0.7302886850011419
MAIN: 2025-04-14 13:42:07,058 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/42'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:42:37,261 - INFO - taking picture
MAIN: 2025-04-14 13:42:37,262 - INFO - we take 865 photos in this while loop
MAIN: 2025-04-14 13:42:37,262 - INFO - /home/pi/Desktop/images/14042025/13/42/image_14042025_13_42_36_30206.jpg
MAIN: 2025-04-14 13:42:37,262 - INFO - duration: 0.727575976998196
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:43:06,196 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 13:43:06,512 - INFO - taking picture
MAIN: 2025-04-14 13:43:06,513 - INFO - we take 866 photos in this while loop
MAIN: 2025-04-14 13:43:06,513 - INFO - /home/pi/Desktop/images/14042025/13/42/image_14042025_13_43_06_29227.jpg
MAIN: 2025-04-14 13:43:06,513 - INFO - duration: 0.7509325999999419
MAIN: 2025-04-14 13:43:06,514 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/43'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:43:36,597 - INFO - taking picture
MAIN: 2025-04-14 13:43:36,597 - INFO - we take 867 photos in this while loop
MAIN: 2025-04-14 13:43:36,597 - INFO - /home/pi/Desktop/images/14042025/13/43/image_14042025_13_43_36_30109.jpg
MAIN: 2025-04-14 13:43:36,597 - INFO - duration: 0.7253826970045338
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 13:44:05,805 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:44:07,048 - INFO - taking picture
MAIN: 2025-04-14 13:44:07,049 - INFO - we take 868 photos in this while loop
MAIN: 2025-04-14 13:44:07,049 - INFO - /home/pi/Desktop/images/14042025/13/43/image_14042025_13_44_06_30471.jpg
MAIN: 2025-04-14 13:44:07,049 - INFO - duration: 0.7059411809968879
MAIN: 2025-04-14 13:44:07,050 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/44'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:44:37,196 - INFO - taking picture
MAIN: 2025-04-14 13:44:37,197 - INFO - we take 869 photos in this while loop
MAIN: 2025-04-14 13:44:37,197 - INFO - /home/pi/Desktop/images/14042025/13/44/image_14042025_13_44_36_30134.jpg
MAIN: 2025-04-14 13:44:37,197 - INFO - duration: 0.719192592005129
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 13:45:06,287 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:45:06,766 - INFO - taking picture
MAIN: 2025-04-14 13:45:06,767 - INFO - we take 870 photos in this while loop
MAIN: 2025-04-14 13:45:06,768 - INFO - /home/pi/Desktop/images/14042025/13/44/image_14042025_13_45_06_29554.jpg
MAIN: 2025-04-14 13:45:06,769 - INFO - duration: 0.735739317999105
MAIN: 2025-04-14 13:45:06,769 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/45'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:45:36,808 - INFO - taking picture
MAIN: 2025-04-14 13:45:36,809 - INFO - we take 871 photos in this while loop
MAIN: 2025-04-14 13:45:36,809 - INFO - /home/pi/Desktop/images/14042025/13/45/image_14042025_13_45_36_30053.jpg
MAIN: 2025-04-14 13:45:36,809 - INFO - duration: 0.722765304002678
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 13:46:06,086 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:46:07,125 - INFO - taking picture
MAIN: 2025-04-14 13:46:07,125 - INFO - we take 872 photos in this while loop
MAIN: 2025-04-14 13:46:07,125 - INFO - /home/pi/Desktop/images/14042025/13/45/image_14042025_13_46_06_30366.jpg
MAIN: 2025-04-14 13:46:07,125 - INFO - duration: 0.6725309120010934
MAIN: 2025-04-14 13:46:07,126 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/46'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:46:37,350 - INFO - taking picture
MAIN: 2025-04-14 13:46:37,350 - INFO - we take 873 photos in this while loop
MAIN: 2025-04-14 13:46:37,351 - INFO - /home/pi/Desktop/images/14042025/13/46/image_14042025_13_46_36_30166.jpg
MAIN: 2025-04-14 13:46:37,351 - INFO - duration: 0.7316805169975851
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 13:47:05,894 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:47:06,504 - INFO - taking picture
MAIN: 2025-04-14 13:47:06,505 - INFO - we take 874 photos in this while loop
MAIN: 2025-04-14 13:47:06,505 - INFO - /home/pi/Desktop/images/14042025/13/46/image_14042025_13_47_06_29146.jpg
MAIN: 2025-04-14 13:47:06,505 - INFO - duration: 0.7400844799994957
MAIN: 2025-04-14 13:47:06,506 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/47'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:47:36,697 - INFO - taking picture
MAIN: 2025-04-14 13:47:36,697 - INFO - we take 875 photos in this while loop
MAIN: 2025-04-14 13:47:36,697 - INFO - /home/pi/Desktop/images/14042025/13/47/image_14042025_13_47_36_30206.jpg
MAIN: 2025-04-14 13:47:36,698 - INFO - duration: 0.7253769230010221
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 13:48:06,461 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:48:07,240 - INFO - taking picture
MAIN: 2025-04-14 13:48:07,240 - INFO - we take 876 photos in this while loop
MAIN: 2025-04-14 13:48:07,241 - INFO - /home/pi/Desktop/images/14042025/13/47/image_14042025_13_48_06_30570.jpg
MAIN: 2025-04-14 13:48:07,241 - INFO - duration: 0.6978020690003177
MAIN: 2025-04-14 13:48:07,241 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/48'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:48:37,357 - INFO - taking picture
MAIN: 2025-04-14 13:48:37,358 - INFO - we take 877 photos in this while loop
MAIN: 2025-04-14 13:48:37,358 - INFO - /home/pi/Desktop/images/14042025/13/48/image_14042025_13_48_36_30081.jpg
MAIN: 2025-04-14 13:48:37,358 - INFO - duration: 0.7334681240026839
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:49:06,167 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 13:49:06,399 - INFO - taking picture
MAIN: 2025-04-14 13:49:06,400 - INFO - we take 878 photos in this while loop
MAIN: 2025-04-14 13:49:06,400 - INFO - /home/pi/Desktop/images/14042025/13/48/image_14042025_13_49_05_29031.jpg
MAIN: 2025-04-14 13:49:06,400 - INFO - duration: 0.7436102130013751
MAIN: 2025-04-14 13:49:06,400 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/49'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:49:36,514 - INFO - taking picture
MAIN: 2025-04-14 13:49:36,515 - INFO - we take 879 photos in this while loop
MAIN: 2025-04-14 13:49:36,515 - INFO - /home/pi/Desktop/images/14042025/13/49/image_14042025_13_49_36_30128.jpg
MAIN: 2025-04-14 13:49:36,515 - INFO - duration: 0.7305589569950826
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 13:50:06,525 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:50:07,242 - INFO - taking picture
MAIN: 2025-04-14 13:50:07,243 - INFO - we take 880 photos in this while loop
MAIN: 2025-04-14 13:50:07,243 - INFO - /home/pi/Desktop/images/14042025/13/49/image_14042025_13_50_06_30740.jpg
MAIN: 2025-04-14 13:50:07,243 - INFO - duration: 0.718584059002751
MAIN: 2025-04-14 13:50:07,244 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/50'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:50:37,357 - INFO - taking picture
MAIN: 2025-04-14 13:50:37,357 - INFO - we take 881 photos in this while loop
MAIN: 2025-04-14 13:50:37,358 - INFO - /home/pi/Desktop/images/14042025/13/50/image_14042025_13_50_36_30103.jpg
MAIN: 2025-04-14 13:50:37,358 - INFO - duration: 0.7292034380006953
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 13:51:05,571 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:51:06,470 - INFO - taking picture
MAIN: 2025-04-14 13:51:06,471 - INFO - we take 882 photos in this while loop
MAIN: 2025-04-14 13:51:06,471 - INFO - /home/pi/Desktop/images/14042025/13/50/image_14042025_13_51_06_29135.jpg
MAIN: 2025-04-14 13:51:06,471 - INFO - duration: 0.7075811380054802
MAIN: 2025-04-14 13:51:06,472 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/51'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:51:36,641 - INFO - taking picture
MAIN: 2025-04-14 13:51:36,642 - INFO - we take 883 photos in this while loop
MAIN: 2025-04-14 13:51:36,642 - INFO - /home/pi/Desktop/images/14042025/13/51/image_14042025_13_51_36_30144.jpg
MAIN: 2025-04-14 13:51:36,642 - INFO - duration: 0.733612866999465
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 13:52:06,071 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:52:07,081 - INFO - taking picture
MAIN: 2025-04-14 13:52:07,082 - INFO - we take 884 photos in this while loop
MAIN: 2025-04-14 13:52:07,082 - INFO - /home/pi/Desktop/images/14042025/13/51/image_14042025_13_52_06_30497.jpg
MAIN: 2025-04-14 13:52:07,082 - INFO - duration: 0.6764536289992975
MAIN: 2025-04-14 13:52:07,083 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/52'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:52:37,236 - INFO - taking picture
MAIN: 2025-04-14 13:52:37,237 - INFO - we take 885 photos in this while loop
MAIN: 2025-04-14 13:52:37,237 - INFO - /home/pi/Desktop/images/14042025/13/52/image_14042025_13_52_36_30106.jpg
MAIN: 2025-04-14 13:52:37,237 - INFO - duration: 0.725074948000838
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:53:06,079 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 13:53:06,441 - INFO - taking picture
MAIN: 2025-04-14 13:53:06,442 - INFO - we take 886 photos in this while loop
MAIN: 2025-04-14 13:53:06,442 - INFO - /home/pi/Desktop/images/14042025/13/52/image_14042025_13_53_06_29186.jpg
MAIN: 2025-04-14 13:53:06,442 - INFO - duration: 0.7440137049998157
MAIN: 2025-04-14 13:53:06,443 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/53'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:53:36,588 - INFO - taking picture
MAIN: 2025-04-14 13:53:36,589 - INFO - we take 887 photos in this while loop
MAIN: 2025-04-14 13:53:36,589 - INFO - /home/pi/Desktop/images/14042025/13/53/image_14042025_13_53_36_30155.jpg
MAIN: 2025-04-14 13:53:36,589 - INFO - duration: 0.7348560460013687
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 13:54:06,660 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:54:07,169 - INFO - taking picture
MAIN: 2025-04-14 13:54:07,170 - INFO - we take 888 photos in this while loop
MAIN: 2025-04-14 13:54:07,170 - INFO - /home/pi/Desktop/images/14042025/13/53/image_14042025_13_54_06_30572.jpg
MAIN: 2025-04-14 13:54:07,170 - INFO - duration: 0.7432254770028521
MAIN: 2025-04-14 13:54:07,171 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/54'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:54:37,396 - INFO - taking picture
MAIN: 2025-04-14 13:54:37,397 - INFO - we take 889 photos in this while loop
MAIN: 2025-04-14 13:54:37,397 - INFO - /home/pi/Desktop/images/14042025/13/54/image_14042025_13_54_37_30235.jpg
MAIN: 2025-04-14 13:54:37,397 - INFO - duration: 0.7346168280055281
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:55:06,470 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 13:55:06,817 - INFO - taking picture
MAIN: 2025-04-14 13:55:06,817 - INFO - we take 890 photos in this while loop
MAIN: 2025-04-14 13:55:06,818 - INFO - /home/pi/Desktop/images/14042025/13/54/image_14042025_13_55_06_29416.jpg
MAIN: 2025-04-14 13:55:06,818 - INFO - duration: 0.739166204999492
MAIN: 2025-04-14 13:55:06,818 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/55'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:55:37,098 - INFO - taking picture
MAIN: 2025-04-14 13:55:37,099 - INFO - we take 891 photos in this while loop
MAIN: 2025-04-14 13:55:37,099 - INFO - /home/pi/Desktop/images/14042025/13/55/image_14042025_13_55_36_30279.jpg
MAIN: 2025-04-14 13:55:37,099 - INFO - duration: 0.7413248000011663
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 13:56:06,040 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:56:06,461 - INFO - taking picture
MAIN: 2025-04-14 13:56:06,462 - INFO - we take 892 photos in this while loop
MAIN: 2025-04-14 13:56:06,462 - INFO - /home/pi/Desktop/images/14042025/13/55/image_14042025_13_56_06_29360.jpg
MAIN: 2025-04-14 13:56:06,462 - INFO - duration: 0.7440309989979141
MAIN: 2025-04-14 13:56:06,463 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/56'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:56:36,636 - INFO - taking picture
MAIN: 2025-04-14 13:56:36,637 - INFO - we take 893 photos in this while loop
MAIN: 2025-04-14 13:56:36,637 - INFO - /home/pi/Desktop/images/14042025/13/56/image_14042025_13_56_36_30186.jpg
MAIN: 2025-04-14 13:56:36,637 - INFO - duration: 0.732160681996902
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 13:57:05,774 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:57:06,836 - INFO - taking picture
MAIN: 2025-04-14 13:57:06,837 - INFO - we take 894 photos in this while loop
MAIN: 2025-04-14 13:57:06,837 - INFO - /home/pi/Desktop/images/14042025/13/56/image_14042025_13_57_06_30255.jpg
MAIN: 2025-04-14 13:57:06,837 - INFO - duration: 0.6769615480006905
MAIN: 2025-04-14 13:57:06,837 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/57'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:57:37,062 - INFO - taking picture
MAIN: 2025-04-14 13:57:37,062 - INFO - we take 895 photos in this while loop
MAIN: 2025-04-14 13:57:37,063 - INFO - /home/pi/Desktop/images/14042025/13/57/image_14042025_13_57_36_30178.jpg
MAIN: 2025-04-14 13:57:37,063 - INFO - duration: 0.7239464090016554
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 13:58:05,979 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:58:06,539 - INFO - taking picture
MAIN: 2025-04-14 13:58:06,540 - INFO - we take 896 photos in this while loop
MAIN: 2025-04-14 13:58:06,540 - INFO - /home/pi/Desktop/images/14042025/13/57/image_14042025_13_58_06_29453.jpg
MAIN: 2025-04-14 13:58:06,540 - INFO - duration: 0.7479800630026148
MAIN: 2025-04-14 13:58:06,541 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/58'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:58:36,770 - INFO - taking picture
MAIN: 2025-04-14 13:58:36,771 - INFO - we take 897 photos in this while loop
MAIN: 2025-04-14 13:58:36,771 - INFO - /home/pi/Desktop/images/14042025/13/58/image_14042025_13_58_36_30245.jpg
MAIN: 2025-04-14 13:58:36,771 - INFO - duration: 0.7332528710030601
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 13:59:06,100 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:59:07,266 - INFO - taking picture
MAIN: 2025-04-14 13:59:07,267 - INFO - we take 898 photos in this while loop
MAIN: 2025-04-14 13:59:07,267 - INFO - /home/pi/Desktop/images/14042025/13/58/image_14042025_13_59_06_30554.jpg
MAIN: 2025-04-14 13:59:07,267 - INFO - duration: 0.6746256100013852
MAIN: 2025-04-14 13:59:07,267 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/13/59'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 13:59:37,475 - INFO - taking picture
MAIN: 2025-04-14 13:59:37,476 - INFO - we take 899 photos in this while loop
MAIN: 2025-04-14 13:59:37,476 - INFO - /home/pi/Desktop/images/14042025/13/59/image_14042025_13_59_37_30149.jpg
MAIN: 2025-04-14 13:59:37,476 - INFO - duration: 0.7347387050031102
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:00:06,844 - INFO - taking picture
MAIN: 2025-04-14 14:00:06,845 - INFO - we take 900 photos in this while loop
MAIN: 2025-04-14 14:00:06,846 - INFO - /home/pi/Desktop/images/14042025/13/59/image_14042025_14_00_06_29378.jpg
MAIN: 2025-04-14 14:00:06,847 - INFO - duration: 0.7267481300004874
MAIN: 2025-04-14 14:00:06,847 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/00'
MAIN: 2025-04-14 14:00:07,490 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:00:37,033 - INFO - taking picture
MAIN: 2025-04-14 14:00:37,034 - INFO - we take 901 photos in this while loop
MAIN: 2025-04-14 14:00:37,034 - INFO - /home/pi/Desktop/images/14042025/14/00/image_14042025_14_00_36_30186.jpg
MAIN: 2025-04-14 14:00:37,034 - INFO - duration: 0.72847307799384
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:01:05,562 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:01:07,499 - INFO - taking picture
MAIN: 2025-04-14 14:01:07,500 - INFO - we take 902 photos in this while loop
MAIN: 2025-04-14 14:01:07,500 - INFO - /home/pi/Desktop/images/14042025/14/00/image_14042025_14_01_07_30469.jpg
MAIN: 2025-04-14 14:01:07,500 - INFO - duration: 0.7245757329947082
MAIN: 2025-04-14 14:01:07,501 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/01'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:01:37,452 - INFO - taking picture
MAIN: 2025-04-14 14:01:37,453 - INFO - we take 903 photos in this while loop
MAIN: 2025-04-14 14:01:37,453 - INFO - /home/pi/Desktop/images/14042025/14/01/image_14042025_14_01_37_29961.jpg
MAIN: 2025-04-14 14:01:37,454 - INFO - duration: 0.7158963550027693
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:02:06,054 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:02:06,751 - INFO - taking picture
MAIN: 2025-04-14 14:02:06,751 - INFO - we take 904 photos in this while loop
MAIN: 2025-04-14 14:02:06,752 - INFO - /home/pi/Desktop/images/14042025/14/01/image_14042025_14_02_06_29287.jpg
MAIN: 2025-04-14 14:02:06,752 - INFO - duration: 0.7264030779988389
MAIN: 2025-04-14 14:02:06,752 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/02'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:02:36,802 - INFO - taking picture
MAIN: 2025-04-14 14:02:36,802 - INFO - we take 905 photos in this while loop
MAIN: 2025-04-14 14:02:36,802 - INFO - /home/pi/Desktop/images/14042025/14/02/image_14042025_14_02_36_30052.jpg
MAIN: 2025-04-14 14:02:36,803 - INFO - duration: 0.7243986500034225
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:03:05,725 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:03:07,030 - INFO - taking picture
MAIN: 2025-04-14 14:03:07,031 - INFO - we take 906 photos in this while loop
MAIN: 2025-04-14 14:03:07,031 - INFO - /home/pi/Desktop/images/14042025/14/02/image_14042025_14_03_06_30243.jpg
MAIN: 2025-04-14 14:03:07,031 - INFO - duration: 0.7100232290031272
MAIN: 2025-04-14 14:03:07,032 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/03'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:03:37,087 - INFO - taking picture
MAIN: 2025-04-14 14:03:37,087 - INFO - we take 907 photos in this while loop
MAIN: 2025-04-14 14:03:37,088 - INFO - /home/pi/Desktop/images/14042025/14/03/image_14042025_14_03_36_30044.jpg
MAIN: 2025-04-14 14:03:37,088 - INFO - duration: 0.722277815999405
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:04:06,361 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:04:07,340 - INFO - taking picture
MAIN: 2025-04-14 14:04:07,341 - INFO - we take 908 photos in this while loop
MAIN: 2025-04-14 14:04:07,341 - INFO - /home/pi/Desktop/images/14042025/14/03/image_14042025_14_04_06_30310.jpg
MAIN: 2025-04-14 14:04:07,341 - INFO - duration: 0.6650576910033124
MAIN: 2025-04-14 14:04:07,342 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/04'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:04:37,500 - INFO - taking picture
MAIN: 2025-04-14 14:04:37,501 - INFO - we take 909 photos in this while loop
MAIN: 2025-04-14 14:04:37,501 - INFO - /home/pi/Desktop/images/14042025/14/04/image_14042025_14_04_37_30098.jpg
MAIN: 2025-04-14 14:04:37,501 - INFO - duration: 0.7263244329951704
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:05:06,757 - INFO - taking picture
MAIN: 2025-04-14 14:05:06,758 - INFO - we take 910 photos in this while loop
MAIN: 2025-04-14 14:05:06,758 - INFO - /home/pi/Desktop/images/14042025/14/04/image_14042025_14_05_06_29282.jpg
MAIN: 2025-04-14 14:05:06,759 - INFO - duration: 0.7013242670000182
MAIN: 2025-04-14 14:05:06,759 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/05'
MAIN: 2025-04-14 14:05:06,828 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:05:36,755 - INFO - taking picture
MAIN: 2025-04-14 14:05:36,756 - INFO - we take 911 photos in this while loop
MAIN: 2025-04-14 14:05:36,756 - INFO - /home/pi/Desktop/images/14042025/14/05/image_14042025_14_05_36_29964.jpg
MAIN: 2025-04-14 14:05:36,756 - INFO - duration: 0.7344580299977679
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:06:06,697 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:06:07,397 - INFO - taking picture
MAIN: 2025-04-14 14:06:07,398 - INFO - we take 912 photos in this while loop
MAIN: 2025-04-14 14:06:07,398 - INFO - /home/pi/Desktop/images/14042025/14/05/image_14042025_14_06_07_30646.jpg
MAIN: 2025-04-14 14:06:07,398 - INFO - duration: 0.7299546430003829
MAIN: 2025-04-14 14:06:07,399 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/06'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:06:36,331 - INFO - taking picture
MAIN: 2025-04-14 14:06:36,332 - INFO - we take 913 photos in this while loop
MAIN: 2025-04-14 14:06:36,332 - INFO - /home/pi/Desktop/images/14042025/14/06/image_14042025_14_06_35_28946.jpg
MAIN: 2025-04-14 14:06:36,332 - INFO - duration: 0.717641982002533
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:07:05,469 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:07:06,685 - INFO - taking picture
MAIN: 2025-04-14 14:07:06,686 - INFO - we take 914 photos in this while loop
MAIN: 2025-04-14 14:07:06,686 - INFO - /home/pi/Desktop/images/14042025/14/06/image_14042025_14_07_06_30359.jpg
MAIN: 2025-04-14 14:07:06,686 - INFO - duration: 0.7117718750014319
MAIN: 2025-04-14 14:07:06,686 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/07'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:07:36,805 - INFO - taking picture
MAIN: 2025-04-14 14:07:36,806 - INFO - we take 915 photos in this while loop
MAIN: 2025-04-14 14:07:36,806 - INFO - /home/pi/Desktop/images/14042025/14/07/image_14042025_14_07_36_30105.jpg
MAIN: 2025-04-14 14:07:36,806 - INFO - duration: 0.7266618280045805
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:08:05,899 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:08:07,313 - INFO - taking picture
MAIN: 2025-04-14 14:08:07,314 - INFO - we take 916 photos in this while loop
MAIN: 2025-04-14 14:08:07,314 - INFO - /home/pi/Desktop/images/14042025/14/07/image_14042025_14_08_06_30513.jpg
MAIN: 2025-04-14 14:08:07,314 - INFO - duration: 0.721088858001167
MAIN: 2025-04-14 14:08:07,315 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/08'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:08:37,420 - INFO - taking picture
MAIN: 2025-04-14 14:08:37,421 - INFO - we take 917 photos in this while loop
MAIN: 2025-04-14 14:08:37,421 - INFO - /home/pi/Desktop/images/14042025/14/08/image_14042025_14_08_37_30099.jpg
MAIN: 2025-04-14 14:08:37,421 - INFO - duration: 0.7285462569998344
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:09:06,105 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:09:06,682 - INFO - taking picture
MAIN: 2025-04-14 14:09:06,683 - INFO - we take 918 photos in this while loop
MAIN: 2025-04-14 14:09:06,683 - INFO - /home/pi/Desktop/images/14042025/14/08/image_14042025_14_09_06_29260.jpg
MAIN: 2025-04-14 14:09:06,683 - INFO - duration: 0.7301007360001677
MAIN: 2025-04-14 14:09:06,684 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/09'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:09:36,867 - INFO - taking picture
MAIN: 2025-04-14 14:09:36,868 - INFO - we take 919 photos in this while loop
MAIN: 2025-04-14 14:09:36,868 - INFO - /home/pi/Desktop/images/14042025/14/09/image_14042025_14_09_36_30207.jpg
MAIN: 2025-04-14 14:09:36,868 - INFO - duration: 0.7074119259996223
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:10:06,376 - INFO - taking picture
MAIN: 2025-04-14 14:10:06,377 - INFO - we take 920 photos in this while loop
MAIN: 2025-04-14 14:10:06,378 - INFO - /home/pi/Desktop/images/14042025/14/09/image_14042025_14_10_05_29488.jpg
MAIN: 2025-04-14 14:10:06,378 - INFO - duration: 0.7290934959964943
MAIN: 2025-04-14 14:10:06,379 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/10'
MAIN: 2025-04-14 14:10:06,969 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:10:36,423 - INFO - taking picture
MAIN: 2025-04-14 14:10:36,424 - INFO - we take 921 photos in this while loop
MAIN: 2025-04-14 14:10:36,424 - INFO - /home/pi/Desktop/images/14042025/14/10/image_14042025_14_10_36_30066.jpg
MAIN: 2025-04-14 14:10:36,424 - INFO - duration: 0.7084149990041624
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:11:06,096 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:11:06,677 - INFO - taking picture
MAIN: 2025-04-14 14:11:06,677 - INFO - we take 922 photos in this while loop
MAIN: 2025-04-14 14:11:06,678 - INFO - /home/pi/Desktop/images/14042025/14/10/image_14042025_14_11_06_30222.jpg
MAIN: 2025-04-14 14:11:06,678 - INFO - duration: 0.7395801129969186
MAIN: 2025-04-14 14:11:06,678 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/11'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:11:36,807 - INFO - taking picture
MAIN: 2025-04-14 14:11:36,808 - INFO - we take 923 photos in this while loop
MAIN: 2025-04-14 14:11:36,808 - INFO - /home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_36_30138.jpg
MAIN: 2025-04-14 14:11:36,808 - INFO - duration: 0.7311841280024964
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:12:05,504 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:12:07,433 - INFO - taking picture
MAIN: 2025-04-14 14:12:07,434 - INFO - we take 924 photos in this while loop
MAIN: 2025-04-14 14:12:07,434 - INFO - /home/pi/Desktop/images/14042025/14/11/image_14042025_14_12_07_30625.jpg
MAIN: 2025-04-14 14:12:07,434 - INFO - duration: 0.7320263340006932
MAIN: 2025-04-14 14:12:07,434 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/12'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:12:37,530 - INFO - taking picture
MAIN: 2025-04-14 14:12:37,531 - INFO - we take 925 photos in this while loop
MAIN: 2025-04-14 14:12:37,531 - INFO - /home/pi/Desktop/images/14042025/14/12/image_14042025_14_12_37_30092.jpg
MAIN: 2025-04-14 14:12:37,531 - INFO - duration: 0.7371507349962485
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:13:05,538 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:13:06,634 - INFO - taking picture
MAIN: 2025-04-14 14:13:06,635 - INFO - we take 926 photos in this while loop
MAIN: 2025-04-14 14:13:06,635 - INFO - /home/pi/Desktop/images/14042025/14/12/image_14042025_14_13_06_29166.jpg
MAIN: 2025-04-14 14:13:06,635 - INFO - duration: 0.6740491210002801
MAIN: 2025-04-14 14:13:06,635 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/13'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:13:36,778 - INFO - taking picture
MAIN: 2025-04-14 14:13:36,778 - INFO - we take 927 photos in this while loop
MAIN: 2025-04-14 14:13:36,779 - INFO - /home/pi/Desktop/images/14042025/14/13/image_14042025_14_13_36_30085.jpg
MAIN: 2025-04-14 14:13:36,779 - INFO - duration: 0.7322768170051859
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:14:06,340 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:14:07,249 - INFO - taking picture
MAIN: 2025-04-14 14:14:07,249 - INFO - we take 928 photos in this while loop
MAIN: 2025-04-14 14:14:07,249 - INFO - /home/pi/Desktop/images/14042025/14/13/image_14042025_14_14_06_30536.jpg
MAIN: 2025-04-14 14:14:07,250 - INFO - duration: 0.6669250520062633
MAIN: 2025-04-14 14:14:07,250 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/14'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:14:37,340 - INFO - taking picture
MAIN: 2025-04-14 14:14:37,341 - INFO - we take 929 photos in this while loop
MAIN: 2025-04-14 14:14:37,341 - INFO - /home/pi/Desktop/images/14042025/14/14/image_14042025_14_14_36_30038.jpg
MAIN: 2025-04-14 14:14:37,341 - INFO - duration: 0.7200344590019085
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:15:06,267 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:15:06,720 - INFO - taking picture
MAIN: 2025-04-14 14:15:06,721 - INFO - we take 930 photos in this while loop
MAIN: 2025-04-14 14:15:06,721 - INFO - /home/pi/Desktop/images/14042025/14/14/image_14042025_14_15_06_29373.jpg
MAIN: 2025-04-14 14:15:06,721 - INFO - duration: 0.7266578799972194
MAIN: 2025-04-14 14:15:06,722 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/15'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:15:36,702 - INFO - taking picture
MAIN: 2025-04-14 14:15:36,703 - INFO - we take 931 photos in this while loop
MAIN: 2025-04-14 14:15:36,703 - INFO - /home/pi/Desktop/images/14042025/14/15/image_14042025_14_15_36_29999.jpg
MAIN: 2025-04-14 14:15:36,703 - INFO - duration: 0.7091281009998056
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:16:06,370 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:16:07,098 - INFO - taking picture
MAIN: 2025-04-14 14:16:07,099 - INFO - we take 932 photos in this while loop
MAIN: 2025-04-14 14:16:07,099 - INFO - /home/pi/Desktop/images/14042025/14/15/image_14042025_14_16_06_30379.jpg
MAIN: 2025-04-14 14:16:07,099 - INFO - duration: 0.7249549179978203
MAIN: 2025-04-14 14:16:07,099 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/16'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:16:37,245 - INFO - taking picture
MAIN: 2025-04-14 14:16:37,245 - INFO - we take 933 photos in this while loop
MAIN: 2025-04-14 14:16:37,246 - INFO - /home/pi/Desktop/images/14042025/14/16/image_14042025_14_16_36_30141.jpg
MAIN: 2025-04-14 14:16:37,246 - INFO - duration: 0.7304661539965309
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:17:06,292 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:17:07,521 - INFO - taking picture
MAIN: 2025-04-14 14:17:07,521 - INFO - we take 934 photos in this while loop
MAIN: 2025-04-14 14:17:07,522 - INFO - /home/pi/Desktop/images/14042025/14/16/image_14042025_14_17_07_30305.jpg
MAIN: 2025-04-14 14:17:07,522 - INFO - duration: 0.7004373570016469
MAIN: 2025-04-14 14:17:07,522 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/17'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:17:36,342 - INFO - taking picture
MAIN: 2025-04-14 14:17:36,343 - INFO - we take 935 photos in this while loop
MAIN: 2025-04-14 14:17:36,343 - INFO - /home/pi/Desktop/images/14042025/14/17/image_14042025_14_17_35_28814.jpg
MAIN: 2025-04-14 14:17:36,343 - INFO - duration: 0.7069917729968438
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:18:05,666 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:18:06,672 - INFO - taking picture
MAIN: 2025-04-14 14:18:06,673 - INFO - we take 936 photos in this while loop
MAIN: 2025-04-14 14:18:06,673 - INFO - /home/pi/Desktop/images/14042025/14/17/image_14042025_14_18_06_30363.jpg
MAIN: 2025-04-14 14:18:06,673 - INFO - duration: 0.6736248520028312
MAIN: 2025-04-14 14:18:06,674 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/18'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:18:36,942 - INFO - taking picture
MAIN: 2025-04-14 14:18:36,943 - INFO - we take 937 photos in this while loop
MAIN: 2025-04-14 14:18:36,943 - INFO - /home/pi/Desktop/images/14042025/14/18/image_14042025_14_18_36_30212.jpg
MAIN: 2025-04-14 14:18:36,943 - INFO - duration: 0.7306231670008856
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:19:06,170 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:19:07,226 - INFO - taking picture
MAIN: 2025-04-14 14:19:07,226 - INFO - we take 938 photos in this while loop
MAIN: 2025-04-14 14:19:07,226 - INFO - /home/pi/Desktop/images/14042025/14/18/image_14042025_14_19_06_30339.jpg
MAIN: 2025-04-14 14:19:07,227 - INFO - duration: 0.6750351369992131
MAIN: 2025-04-14 14:19:07,227 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/19'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:19:37,335 - INFO - taking picture
MAIN: 2025-04-14 14:19:37,335 - INFO - we take 939 photos in this while loop
MAIN: 2025-04-14 14:19:37,335 - INFO - /home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_36_30058.jpg
MAIN: 2025-04-14 14:19:37,336 - INFO - duration: 0.7250082379978267
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:20:06,715 - INFO - taking picture
MAIN: 2025-04-14 14:20:06,716 - INFO - we take 940 photos in this while loop
MAIN: 2025-04-14 14:20:06,716 - INFO - /home/pi/Desktop/images/14042025/14/19/image_14042025_14_20_06_29384.jpg
MAIN: 2025-04-14 14:20:06,717 - INFO - duration: 0.7215535340001225
MAIN: 2025-04-14 14:20:06,718 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/20'
MAIN: 2025-04-14 14:20:07,131 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:20:36,644 - INFO - taking picture
MAIN: 2025-04-14 14:20:36,645 - INFO - we take 941 photos in this while loop
MAIN: 2025-04-14 14:20:36,645 - INFO - /home/pi/Desktop/images/14042025/14/20/image_14042025_14_20_36_29925.jpg
MAIN: 2025-04-14 14:20:36,645 - INFO - duration: 0.7242125339980703
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:21:06,206 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:21:06,999 - INFO - taking picture
MAIN: 2025-04-14 14:21:06,999 - INFO - we take 942 photos in this while loop
MAIN: 2025-04-14 14:21:06,999 - INFO - /home/pi/Desktop/images/14042025/14/20/image_14042025_14_21_06_30412.jpg
MAIN: 2025-04-14 14:21:07,000 - INFO - duration: 0.6661615409975639
MAIN: 2025-04-14 14:21:07,000 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/21'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:21:37,060 - INFO - taking picture
MAIN: 2025-04-14 14:21:37,061 - INFO - we take 943 photos in this while loop
MAIN: 2025-04-14 14:21:37,061 - INFO - /home/pi/Desktop/images/14042025/14/21/image_14042025_14_21_36_30011.jpg
MAIN: 2025-04-14 14:21:37,061 - INFO - duration: 0.715945787000237
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:22:06,403 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0

 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)MAIN: 2025-04-14 14:22:07,405 - INFO - taking picture
MAIN: 2025-04-14 14:22:07,405 - INFO - we take 944 photos in this while loop
MAIN: 2025-04-14 14:22:07,405 - INFO - /home/pi/Desktop/images/14042025/14/21/image_14042025_14_22_07_30387.jpg
MAIN: 2025-04-14 14:22:07,406 - INFO - duration: 0.672869026006083
MAIN: 2025-04-14 14:22:07,406 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/22'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:22:36,348 - INFO - taking picture
MAIN: 2025-04-14 14:22:36,349 - INFO - we take 945 photos in this while loop
MAIN: 2025-04-14 14:22:36,349 - INFO - /home/pi/Desktop/images/14042025/14/22/image_14042025_14_22_35_28928.jpg
MAIN: 2025-04-14 14:22:36,349 - INFO - duration: 0.6878137159947073
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:23:05,272 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:23:06,708 - INFO - taking picture
MAIN: 2025-04-14 14:23:06,708 - INFO - we take 946 photos in this while loop
MAIN: 2025-04-14 14:23:06,709 - INFO - /home/pi/Desktop/images/14042025/14/22/image_14042025_14_23_06_30380.jpg
MAIN: 2025-04-14 14:23:06,709 - INFO - duration: 0.6668493689940078
MAIN: 2025-04-14 14:23:06,709 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/23'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:23:36,848 - INFO - taking picture
MAIN: 2025-04-14 14:23:36,848 - INFO - we take 947 photos in this while loop
MAIN: 2025-04-14 14:23:36,848 - INFO - /home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_36_30095.jpg
MAIN: 2025-04-14 14:23:36,849 - INFO - duration: 0.7113472560013179
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:24:06,252 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 14:24:06,434 - INFO - taking picture
MAIN: 2025-04-14 14:24:06,435 - INFO - we take 948 photos in this while loop
MAIN: 2025-04-14 14:24:06,435 - INFO - /home/pi/Desktop/images/14042025/14/23/image_14042025_14_24_06_29619.jpg
MAIN: 2025-04-14 14:24:06,435 - INFO - duration: 0.6785189970032661
MAIN: 2025-04-14 14:24:06,436 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/24'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:24:36,604 - INFO - taking picture
MAIN: 2025-04-14 14:24:36,605 - INFO - we take 949 photos in this while loop
MAIN: 2025-04-14 14:24:36,605 - INFO - /home/pi/Desktop/images/14042025/14/24/image_14042025_14_24_36_30147.jpg
MAIN: 2025-04-14 14:24:36,605 - INFO - duration: 0.7013109309991705
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:25:06,349 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:25:07,157 - INFO - taking picture
MAIN: 2025-04-14 14:25:07,158 - INFO - we take 950 photos in this while loop
MAIN: 2025-04-14 14:25:07,159 - INFO - /home/pi/Desktop/images/14042025/14/24/image_14042025_14_25_06_30527.jpg
MAIN: 2025-04-14 14:25:07,160 - INFO - duration: 0.7275287020020187
MAIN: 2025-04-14 14:25:07,161 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/25'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:25:37,200 - INFO - taking picture
MAIN: 2025-04-14 14:25:37,201 - INFO - we take 951 photos in this while loop
MAIN: 2025-04-14 14:25:37,201 - INFO - /home/pi/Desktop/images/14042025/14/25/image_14042025_14_25_36_30044.jpg
MAIN: 2025-04-14 14:25:37,201 - INFO - duration: 0.7247982760018203
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:26:06,169 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:26:07,381 - INFO - taking picture
MAIN: 2025-04-14 14:26:07,382 - INFO - we take 952 photos in this while loop
MAIN: 2025-04-14 14:26:07,382 - INFO - /home/pi/Desktop/images/14042025/14/25/image_14042025_14_26_06_30206.jpg
MAIN: 2025-04-14 14:26:07,382 - INFO - duration: 0.6992829929949949
MAIN: 2025-04-14 14:26:07,382 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/26'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:26:37,430 - INFO - taking picture
MAIN: 2025-04-14 14:26:37,431 - INFO - we take 953 photos in this while loop
MAIN: 2025-04-14 14:26:37,431 - INFO - /home/pi/Desktop/images/14042025/14/26/image_14042025_14_26_37_30033.jpg
MAIN: 2025-04-14 14:26:37,431 - INFO - duration: 0.7155509660005919
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:27:06,322 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:27:06,739 - INFO - taking picture
MAIN: 2025-04-14 14:27:06,740 - INFO - we take 954 photos in this while loop
MAIN: 2025-04-14 14:27:06,740 - INFO - /home/pi/Desktop/images/14042025/14/26/image_14042025_14_27_06_29292.jpg
MAIN: 2025-04-14 14:27:06,740 - INFO - duration: 0.7312689910031622
MAIN: 2025-04-14 14:27:06,740 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/27'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:27:36,902 - INFO - taking picture
MAIN: 2025-04-14 14:27:36,903 - INFO - we take 955 photos in this while loop
MAIN: 2025-04-14 14:27:36,903 - INFO - /home/pi/Desktop/images/14042025/14/27/image_14042025_14_27_36_30169.jpg
MAIN: 2025-04-14 14:27:36,904 - INFO - duration: 0.7256034610036295
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:28:05,922 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:28:07,571 - INFO - taking picture
MAIN: 2025-04-14 14:28:07,571 - INFO - we take 956 photos in this while loop
MAIN: 2025-04-14 14:28:07,571 - INFO - /home/pi/Desktop/images/14042025/14/27/image_14042025_14_28_07_30674.jpg
MAIN: 2025-04-14 14:28:07,571 - INFO - duration: 0.7193942330050049
MAIN: 2025-04-14 14:28:07,572 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/28'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:28:36,444 - INFO - taking picture
MAIN: 2025-04-14 14:28:36,444 - INFO - we take 957 photos in this while loop
MAIN: 2025-04-14 14:28:36,444 - INFO - /home/pi/Desktop/images/14042025/14/28/image_14042025_14_28_36_28862.jpg
MAIN: 2025-04-14 14:28:36,445 - INFO - duration: 0.7298745480002253
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:29:05,830 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:29:06,721 - INFO - taking picture
MAIN: 2025-04-14 14:29:06,722 - INFO - we take 958 photos in this while loop
MAIN: 2025-04-14 14:29:06,722 - INFO - /home/pi/Desktop/images/14042025/14/28/image_14042025_14_29_06_30316.jpg
MAIN: 2025-04-14 14:29:06,722 - INFO - duration: 0.6906782169971848
MAIN: 2025-04-14 14:29:06,722 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/29'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:29:36,832 - INFO - taking picture
MAIN: 2025-04-14 14:29:36,832 - INFO - we take 959 photos in this while loop
MAIN: 2025-04-14 14:29:36,832 - INFO - /home/pi/Desktop/images/14042025/14/29/image_14042025_14_29_36_30114.jpg
MAIN: 2025-04-14 14:29:36,832 - INFO - duration: 0.6866986280001584
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:30:06,404 - INFO - taking picture
MAIN: 2025-04-14 14:30:06,405 - INFO - we take 960 photos in this while loop
MAIN: 2025-04-14 14:30:06,405 - INFO - /home/pi/Desktop/images/14042025/14/29/image_14042025_14_30_05_29509.jpg
MAIN: 2025-04-14 14:30:06,406 - INFO - duration: 0.7507609009990119
MAIN: 2025-04-14 14:30:06,407 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/30'
MAIN: 2025-04-14 14:30:06,759 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:30:36,482 - INFO - taking picture
MAIN: 2025-04-14 14:30:36,483 - INFO - we take 961 photos in this while loop
MAIN: 2025-04-14 14:30:36,483 - INFO - /home/pi/Desktop/images/14042025/14/30/image_14042025_14_30_36_30125.jpg
MAIN: 2025-04-14 14:30:36,483 - INFO - duration: 0.7024592029993073
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:31:06,144 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:31:06,780 - INFO - taking picture
MAIN: 2025-04-14 14:31:06,781 - INFO - we take 962 photos in this while loop
MAIN: 2025-04-14 14:31:06,781 - INFO - /home/pi/Desktop/images/14042025/14/30/image_14042025_14_31_06_30326.jpg
MAIN: 2025-04-14 14:31:06,781 - INFO - duration: 0.6734642350056674
MAIN: 2025-04-14 14:31:06,781 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/31'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:31:36,927 - INFO - taking picture
MAIN: 2025-04-14 14:31:36,927 - INFO - we take 963 photos in this while loop
MAIN: 2025-04-14 14:31:36,927 - INFO - /home/pi/Desktop/images/14042025/14/31/image_14042025_14_31_36_30117.jpg
MAIN: 2025-04-14 14:31:36,928 - INFO - duration: 0.7021511740022106
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:32:06,314 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:32:07,175 - INFO - taking picture
MAIN: 2025-04-14 14:32:07,176 - INFO - we take 964 photos in this while loop
MAIN: 2025-04-14 14:32:07,176 - INFO - /home/pi/Desktop/images/14042025/14/31/image_14042025_14_32_06_30277.jpg
MAIN: 2025-04-14 14:32:07,176 - INFO - duration: 0.6736245409992989
MAIN: 2025-04-14 14:32:07,177 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/32'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:32:37,353 - INFO - taking picture
MAIN: 2025-04-14 14:32:37,354 - INFO - we take 965 photos in this while loop
MAIN: 2025-04-14 14:32:37,354 - INFO - /home/pi/Desktop/images/14042025/14/32/image_14042025_14_32_36_30143.jpg
MAIN: 2025-04-14 14:32:37,354 - INFO - duration: 0.7076487750018714
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:33:05,124 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:33:07,542 - INFO - taking picture
MAIN: 2025-04-14 14:33:07,543 - INFO - we take 966 photos in this while loop
MAIN: 2025-04-14 14:33:07,543 - INFO - /home/pi/Desktop/images/14042025/14/32/image_14042025_14_33_07_30194.jpg
MAIN: 2025-04-14 14:33:07,544 - INFO - duration: 0.7029691339994315
MAIN: 2025-04-14 14:33:07,544 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/33'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:33:37,573 - INFO - taking picture
MAIN: 2025-04-14 14:33:37,573 - INFO - we take 967 photos in this while loop
MAIN: 2025-04-14 14:33:37,574 - INFO - /home/pi/Desktop/images/14042025/14/33/image_14042025_14_33_37_30009.jpg
MAIN: 2025-04-14 14:33:37,574 - INFO - duration: 0.723787060000177
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:34:06,254 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:34:06,742 - INFO - taking picture
MAIN: 2025-04-14 14:34:06,742 - INFO - we take 968 photos in this while loop
MAIN: 2025-04-14 14:34:06,743 - INFO - /home/pi/Desktop/images/14042025/14/33/image_14042025_14_34_06_29154.jpg
MAIN: 2025-04-14 14:34:06,743 - INFO - duration: 0.738104618001671
MAIN: 2025-04-14 14:34:06,743 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/34'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:34:36,980 - INFO - taking picture
MAIN: 2025-04-14 14:34:36,981 - INFO - we take 969 photos in this while loop
MAIN: 2025-04-14 14:34:36,981 - INFO - /home/pi/Desktop/images/14042025/14/34/image_14042025_14_34_36_30247.jpg
MAIN: 2025-04-14 14:34:36,981 - INFO - duration: 0.7293921099990257
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:35:06,341 - INFO - taking picture
MAIN: 2025-04-14 14:35:06,342 - INFO - we take 970 photos in this while loop
MAIN: 2025-04-14 14:35:06,342 - INFO - /home/pi/Desktop/images/14042025/14/34/image_14042025_14_35_05_29383.jpg
MAIN: 2025-04-14 14:35:06,343 - INFO - duration: 0.707786680002755
MAIN: 2025-04-14 14:35:06,344 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/35'
MAIN: 2025-04-14 14:35:06,367 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:35:36,412 - INFO - taking picture
MAIN: 2025-04-14 14:35:36,412 - INFO - we take 971 photos in this while loop
MAIN: 2025-04-14 14:35:36,412 - INFO - /home/pi/Desktop/images/14042025/14/35/image_14042025_14_35_36_30054.jpg
MAIN: 2025-04-14 14:35:36,413 - INFO - duration: 0.7225431440019747
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:36:06,216 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:36:06,943 - INFO - taking picture
MAIN: 2025-04-14 14:36:06,943 - INFO - we take 972 photos in this while loop
MAIN: 2025-04-14 14:36:06,944 - INFO - /home/pi/Desktop/images/14042025/14/35/image_14042025_14_36_06_30530.jpg
MAIN: 2025-04-14 14:36:06,944 - INFO - duration: 0.7230282980017364
MAIN: 2025-04-14 14:36:06,944 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/36'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:36:37,011 - INFO - taking picture
MAIN: 2025-04-14 14:36:37,011 - INFO - we take 973 photos in this while loop
MAIN: 2025-04-14 14:36:37,011 - INFO - /home/pi/Desktop/images/14042025/14/36/image_14042025_14_36_36_30055.jpg
MAIN: 2025-04-14 14:36:37,012 - INFO - duration: 0.735518614994362
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:37:05,812 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:37:07,297 - INFO - taking picture
MAIN: 2025-04-14 14:37:07,298 - INFO - we take 974 photos in this while loop
MAIN: 2025-04-14 14:37:07,298 - INFO - /home/pi/Desktop/images/14042025/14/36/image_14042025_14_37_06_30305.jpg
MAIN: 2025-04-14 14:37:07,298 - INFO - duration: 0.7165375099939411
MAIN: 2025-04-14 14:37:07,299 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/37'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:37:37,411 - INFO - taking picture
MAIN: 2025-04-14 14:37:37,412 - INFO - we take 975 photos in this while loop
MAIN: 2025-04-14 14:37:37,412 - INFO - /home/pi/Desktop/images/14042025/14/37/image_14042025_14_37_37_30115.jpg
MAIN: 2025-04-14 14:37:37,412 - INFO - duration: 0.7142703709978377
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:38:06,363 - INFO - taking picture
MAIN: 2025-04-14 14:38:06,363 - INFO - we take 976 photos in this while loop
MAIN: 2025-04-14 14:38:06,364 - INFO - /home/pi/Desktop/images/14042025/14/37/image_14042025_14_38_05_28968.jpg
MAIN: 2025-04-14 14:38:06,364 - INFO - duration: 0.6979860900028143
MAIN: 2025-04-14 14:38:06,364 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/38'
MAIN: 2025-04-14 14:38:06,450 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:38:36,482 - INFO - taking picture
MAIN: 2025-04-14 14:38:36,483 - INFO - we take 977 photos in this while loop
MAIN: 2025-04-14 14:38:36,483 - INFO - /home/pi/Desktop/images/14042025/14/38/image_14042025_14_38_36_30093.jpg
MAIN: 2025-04-14 14:38:36,483 - INFO - duration: 0.7242027169995708
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:39:05,685 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:39:06,729 - INFO - taking picture
MAIN: 2025-04-14 14:39:06,730 - INFO - we take 978 photos in this while loop
MAIN: 2025-04-14 14:39:06,730 - INFO - /home/pi/Desktop/images/14042025/14/38/image_14042025_14_39_06_30293.jpg
MAIN: 2025-04-14 14:39:06,730 - INFO - duration: 0.6779821710006217
MAIN: 2025-04-14 14:39:06,731 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/39'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:39:36,828 - INFO - taking picture
MAIN: 2025-04-14 14:39:36,828 - INFO - we take 979 photos in this while loop
MAIN: 2025-04-14 14:39:36,829 - INFO - /home/pi/Desktop/images/14042025/14/39/image_14042025_14_39_36_30036.jpg
MAIN: 2025-04-14 14:39:36,829 - INFO - duration: 0.7395684000002802
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:40:06,363 - INFO - taking picture
MAIN: 2025-04-14 14:40:06,363 - INFO - we take 980 photos in this while loop
MAIN: 2025-04-14 14:40:06,364 - INFO - /home/pi/Desktop/images/14042025/14/39/image_14042025_14_40_05_29548.jpg
MAIN: 2025-04-14 14:40:06,364 - INFO - duration: 0.7267064639963792
MAIN: 2025-04-14 14:40:06,365 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/40'
MAIN: 2025-04-14 14:40:06,417 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:40:36,501 - INFO - taking picture
MAIN: 2025-04-14 14:40:36,501 - INFO - we take 981 photos in this while loop
MAIN: 2025-04-14 14:40:36,502 - INFO - /home/pi/Desktop/images/14042025/14/40/image_14042025_14_40_36_30128.jpg
MAIN: 2025-04-14 14:40:36,502 - INFO - duration: 0.736190739000449
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:41:05,653 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:41:06,774 - INFO - taking picture
MAIN: 2025-04-14 14:41:06,774 - INFO - we take 982 photos in this while loop
MAIN: 2025-04-14 14:41:06,774 - INFO - /home/pi/Desktop/images/14042025/14/40/image_14042025_14_41_06_30334.jpg
MAIN: 2025-04-14 14:41:06,775 - INFO - duration: 0.6741614350030432
MAIN: 2025-04-14 14:41:06,775 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/41'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:41:37,015 - INFO - taking picture
MAIN: 2025-04-14 14:41:37,016 - INFO - we take 983 photos in this while loop
MAIN: 2025-04-14 14:41:37,016 - INFO - /home/pi/Desktop/images/14042025/14/41/image_14042025_14_41_36_30195.jpg
MAIN: 2025-04-14 14:41:37,016 - INFO - duration: 0.7200022390024969
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:42:06,232 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:42:07,471 - INFO - taking picture
MAIN: 2025-04-14 14:42:07,472 - INFO - we take 984 photos in this while loop
MAIN: 2025-04-14 14:42:07,472 - INFO - /home/pi/Desktop/images/14042025/14/41/image_14042025_14_42_07_30475.jpg
MAIN: 2025-04-14 14:42:07,472 - INFO - duration: 0.7003496239995002
MAIN: 2025-04-14 14:42:07,473 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/42'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:42:37,561 - INFO - taking picture
MAIN: 2025-04-14 14:42:37,562 - INFO - we take 985 photos in this while loop
MAIN: 2025-04-14 14:42:37,562 - INFO - /home/pi/Desktop/images/14042025/14/42/image_14042025_14_42_37_30059.jpg
MAIN: 2025-04-14 14:42:37,562 - INFO - duration: 0.7305028670016327
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:43:06,039 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:43:06,659 - INFO - taking picture
MAIN: 2025-04-14 14:43:06,659 - INFO - we take 986 photos in this while loop
MAIN: 2025-04-14 14:43:06,659 - INFO - /home/pi/Desktop/images/14042025/14/42/image_14042025_14_43_06_29097.jpg
MAIN: 2025-04-14 14:43:06,659 - INFO - duration: 0.7304967730015051
MAIN: 2025-04-14 14:43:06,660 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/43'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:43:36,718 - INFO - taking picture
MAIN: 2025-04-14 14:43:36,718 - INFO - we take 987 photos in this while loop
MAIN: 2025-04-14 14:43:36,718 - INFO - /home/pi/Desktop/images/14042025/14/43/image_14042025_14_43_36_30065.jpg
MAIN: 2025-04-14 14:43:36,719 - INFO - duration: 0.7242298940036562
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:44:06,082 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:44:07,087 - INFO - taking picture
MAIN: 2025-04-14 14:44:07,088 - INFO - we take 988 photos in this while loop
MAIN: 2025-04-14 14:44:07,088 - INFO - /home/pi/Desktop/images/14042025/14/43/image_14042025_14_44_06_30424.jpg
MAIN: 2025-04-14 14:44:07,088 - INFO - duration: 0.6691535120044136
MAIN: 2025-04-14 14:44:07,088 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/44'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:44:37,094 - INFO - taking picture
MAIN: 2025-04-14 14:44:37,094 - INFO - we take 989 photos in this while loop
MAIN: 2025-04-14 14:44:37,095 - INFO - /home/pi/Desktop/images/14042025/14/44/image_14042025_14_44_36_29963.jpg
MAIN: 2025-04-14 14:44:37,095 - INFO - duration: 0.7121092090019374
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:45:06,180 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 14:45:06,402 - INFO - taking picture
MAIN: 2025-04-14 14:45:06,403 - INFO - we take 990 photos in this while loop
MAIN: 2025-04-14 14:45:06,403 - INFO - /home/pi/Desktop/images/14042025/14/44/image_14042025_14_45_05_29285.jpg
MAIN: 2025-04-14 14:45:06,404 - INFO - duration: 0.7358576199985691
MAIN: 2025-04-14 14:45:06,404 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/45'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:45:36,570 - INFO - taking picture
MAIN: 2025-04-14 14:45:36,570 - INFO - we take 991 photos in this while loop
MAIN: 2025-04-14 14:45:36,570 - INFO - /home/pi/Desktop/images/14042025/14/45/image_14042025_14_45_36_30167.jpg
MAIN: 2025-04-14 14:45:36,571 - INFO - duration: 0.7349785339974915
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:46:06,141 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:46:06,910 - INFO - taking picture
MAIN: 2025-04-14 14:46:06,911 - INFO - we take 992 photos in this while loop
MAIN: 2025-04-14 14:46:06,911 - INFO - /home/pi/Desktop/images/14042025/14/45/image_14042025_14_46_06_30396.jpg
MAIN: 2025-04-14 14:46:06,911 - INFO - duration: 0.6788761220013839
MAIN: 2025-04-14 14:46:06,912 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/46'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:46:37,100 - INFO - taking picture
MAIN: 2025-04-14 14:46:37,101 - INFO - we take 993 photos in this while loop
MAIN: 2025-04-14 14:46:37,101 - INFO - /home/pi/Desktop/images/14042025/14/46/image_14042025_14_46_36_30159.jpg
MAIN: 2025-04-14 14:46:37,101 - INFO - duration: 0.709638118998555
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:47:05,787 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:47:07,325 - INFO - taking picture
MAIN: 2025-04-14 14:47:07,326 - INFO - we take 994 photos in this while loop
MAIN: 2025-04-14 14:47:07,326 - INFO - /home/pi/Desktop/images/14042025/14/46/image_14042025_14_47_06_30234.jpg
MAIN: 2025-04-14 14:47:07,326 - INFO - duration: 0.6998060600017197
MAIN: 2025-04-14 14:47:07,326 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/47'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:47:37,431 - INFO - taking picture
MAIN: 2025-04-14 14:47:37,432 - INFO - we take 995 photos in this while loop
MAIN: 2025-04-14 14:47:37,432 - INFO - /home/pi/Desktop/images/14042025/14/47/image_14042025_14_47_37_30083.jpg
MAIN: 2025-04-14 14:47:37,432 - INFO - duration: 0.7225482659996487
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:48:06,346 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:48:06,835 - INFO - taking picture
MAIN: 2025-04-14 14:48:06,836 - INFO - we take 996 photos in this while loop
MAIN: 2025-04-14 14:48:06,836 - INFO - /home/pi/Desktop/images/14042025/14/47/image_14042025_14_48_06_29372.jpg
MAIN: 2025-04-14 14:48:06,836 - INFO - duration: 0.7538709920045221
MAIN: 2025-04-14 14:48:06,836 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/48'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:48:36,818 - INFO - taking picture
MAIN: 2025-04-14 14:48:36,818 - INFO - we take 997 photos in this while loop
MAIN: 2025-04-14 14:48:36,818 - INFO - /home/pi/Desktop/images/14042025/14/48/image_14042025_14_48_36_30036.jpg
MAIN: 2025-04-14 14:48:36,819 - INFO - duration: 0.7002975249997689
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:49:05,968 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:49:07,486 - INFO - taking picture
MAIN: 2025-04-14 14:49:07,486 - INFO - we take 998 photos in this while loop
MAIN: 2025-04-14 14:49:07,486 - INFO - /home/pi/Desktop/images/14042025/14/48/image_14042025_14_49_07_30601.jpg
MAIN: 2025-04-14 14:49:07,487 - INFO - duration: 0.7672687399972347
MAIN: 2025-04-14 14:49:07,487 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/49'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:49:36,432 - INFO - taking picture
MAIN: 2025-04-14 14:49:36,433 - INFO - we take 999 photos in this while loop
MAIN: 2025-04-14 14:49:36,433 - INFO - /home/pi/Desktop/images/14042025/14/49/image_14042025_14_49_36_28982.jpg
MAIN: 2025-04-14 14:49:36,433 - INFO - duration: 0.7317936519975774
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:50:06,178 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:50:07,039 - INFO - taking picture
MAIN: 2025-04-14 14:50:07,040 - INFO - we take 1000 photos in this while loop
MAIN: 2025-04-14 14:50:07,040 - INFO - /home/pi/Desktop/images/14042025/14/49/image_14042025_14_50_06_30613.jpg
MAIN: 2025-04-14 14:50:07,040 - INFO - duration: 0.7254563769965898
MAIN: 2025-04-14 14:50:07,041 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/50'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:50:37,246 - INFO - taking picture
MAIN: 2025-04-14 14:50:37,247 - INFO - we take 1001 photos in this while loop
MAIN: 2025-04-14 14:50:37,247 - INFO - /home/pi/Desktop/images/14042025/14/50/image_14042025_14_50_36_30230.jpg
MAIN: 2025-04-14 14:50:37,247 - INFO - duration: 0.7018602440002724
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:51:05,499 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:51:07,536 - INFO - taking picture
MAIN: 2025-04-14 14:51:07,537 - INFO - we take 1002 photos in this while loop
MAIN: 2025-04-14 14:51:07,537 - INFO - /home/pi/Desktop/images/14042025/14/50/image_14042025_14_51_07_30324.jpg
MAIN: 2025-04-14 14:51:07,537 - INFO - duration: 0.6673339539993322
MAIN: 2025-04-14 14:51:07,537 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/51'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:51:37,610 - INFO - taking picture
MAIN: 2025-04-14 14:51:37,610 - INFO - we take 1003 photos in this while loop
MAIN: 2025-04-14 14:51:37,610 - INFO - /home/pi/Desktop/images/14042025/14/51/image_14042025_14_51_37_30034.jpg
MAIN: 2025-04-14 14:51:37,610 - INFO - duration: 0.7067290740014869
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:52:06,114 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:52:06,827 - INFO - taking picture
MAIN: 2025-04-14 14:52:06,827 - INFO - we take 1004 photos in this while loop
MAIN: 2025-04-14 14:52:06,828 - INFO - /home/pi/Desktop/images/14042025/14/51/image_14042025_14_52_06_29221.jpg
MAIN: 2025-04-14 14:52:06,828 - INFO - duration: 0.7027190859953407
MAIN: 2025-04-14 14:52:06,828 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/52'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:52:36,979 - INFO - taking picture
MAIN: 2025-04-14 14:52:36,979 - INFO - we take 1005 photos in this while loop
MAIN: 2025-04-14 14:52:36,979 - INFO - /home/pi/Desktop/images/14042025/14/52/image_14042025_14_52_36_30175.jpg
MAIN: 2025-04-14 14:52:36,979 - INFO - duration: 0.6786314900018624
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:53:06,166 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:53:07,205 - INFO - taking picture
MAIN: 2025-04-14 14:53:07,206 - INFO - we take 1006 photos in this while loop
MAIN: 2025-04-14 14:53:07,206 - INFO - /home/pi/Desktop/images/14042025/14/52/image_14042025_14_53_06_30238.jpg
MAIN: 2025-04-14 14:53:07,206 - INFO - duration: 0.6666741029985133
MAIN: 2025-04-14 14:53:07,207 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/53'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:53:37,404 - INFO - taking picture
MAIN: 2025-04-14 14:53:37,404 - INFO - we take 1007 photos in this while loop
MAIN: 2025-04-14 14:53:37,405 - INFO - /home/pi/Desktop/images/14042025/14/53/image_14042025_14_53_37_30150.jpg
MAIN: 2025-04-14 14:53:37,405 - INFO - duration: 0.7150574019979103
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:54:06,623 - INFO - taking picture
MAIN: 2025-04-14 14:54:06,624 - INFO - we take 1008 photos in this while loop
MAIN: 2025-04-14 14:54:06,624 - INFO - /home/pi/Desktop/images/14042025/14/53/image_14042025_14_54_06_29271.jpg
MAIN: 2025-04-14 14:54:06,624 - INFO - duration: 0.6627857359999325
MAIN: 2025-04-14 14:54:06,625 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/54'
MAIN: 2025-04-14 14:54:07,117 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:54:36,778 - INFO - taking picture
MAIN: 2025-04-14 14:54:36,778 - INFO - we take 1009 photos in this while loop
MAIN: 2025-04-14 14:54:36,778 - INFO - /home/pi/Desktop/images/14042025/14/54/image_14042025_14_54_36_30094.jpg
MAIN: 2025-04-14 14:54:36,779 - INFO - duration: 0.722458516000188
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:55:05,595 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:55:07,257 - INFO - taking picture
MAIN: 2025-04-14 14:55:07,258 - INFO - we take 1010 photos in this while loop
MAIN: 2025-04-14 14:55:07,259 - INFO - /home/pi/Desktop/images/14042025/14/54/image_14042025_14_55_06_30495.jpg
MAIN: 2025-04-14 14:55:07,259 - INFO - duration: 0.7080170120025286
MAIN: 2025-04-14 14:55:07,260 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/55'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:55:37,352 - INFO - taking picture
MAIN: 2025-04-14 14:55:37,353 - INFO - we take 1011 photos in this while loop
MAIN: 2025-04-14 14:55:37,353 - INFO - /home/pi/Desktop/images/14042025/14/55/image_14042025_14_55_36_30070.jpg
MAIN: 2025-04-14 14:55:37,353 - INFO - duration: 0.7319542129989713
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:56:06,058 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:56:06,627 - INFO - taking picture
MAIN: 2025-04-14 14:56:06,627 - INFO - we take 1012 photos in this while loop
MAIN: 2025-04-14 14:56:06,627 - INFO - /home/pi/Desktop/images/14042025/14/55/image_14042025_14_56_06_29268.jpg
MAIN: 2025-04-14 14:56:06,627 - INFO - duration: 0.7373890660019242
MAIN: 2025-04-14 14:56:06,628 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/56'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:56:36,712 - INFO - taking picture
MAIN: 2025-04-14 14:56:36,712 - INFO - we take 1013 photos in this while loop
MAIN: 2025-04-14 14:56:36,713 - INFO - /home/pi/Desktop/images/14042025/14/56/image_14042025_14_56_36_30109.jpg
MAIN: 2025-04-14 14:56:36,713 - INFO - duration: 0.7136475049992441
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:57:05,750 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:57:06,887 - INFO - taking picture
MAIN: 2025-04-14 14:57:06,888 - INFO - we take 1014 photos in this while loop
MAIN: 2025-04-14 14:57:06,888 - INFO - /home/pi/Desktop/images/14042025/14/56/image_14042025_14_57_06_30207.jpg
MAIN: 2025-04-14 14:57:06,888 - INFO - duration: 0.6816721400027745
MAIN: 2025-04-14 14:57:06,889 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/57'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:57:36,986 - INFO - taking picture
MAIN: 2025-04-14 14:57:36,987 - INFO - we take 1015 photos in this while loop
MAIN: 2025-04-14 14:57:36,987 - INFO - /home/pi/Desktop/images/14042025/14/57/image_14042025_14_57_36_30054.jpg
MAIN: 2025-04-14 14:57:36,987 - INFO - duration: 0.7265387189981993
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 14:58:06,299 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:58:07,306 - INFO - taking picture
MAIN: 2025-04-14 14:58:07,306 - INFO - we take 1016 photos in this while loop
MAIN: 2025-04-14 14:58:07,306 - INFO - /home/pi/Desktop/images/14042025/14/57/image_14042025_14_58_06_30382.jpg
MAIN: 2025-04-14 14:58:07,307 - INFO - duration: 0.6636507420043927
MAIN: 2025-04-14 14:58:07,307 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/58'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:58:37,408 - INFO - taking picture
MAIN: 2025-04-14 14:58:37,408 - INFO - we take 1017 photos in this while loop
MAIN: 2025-04-14 14:58:37,409 - INFO - /home/pi/Desktop/images/14042025/14/58/image_14042025_14_58_36_30061.jpg
MAIN: 2025-04-14 14:58:37,409 - INFO - duration: 0.7041853410046315
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:59:06,276 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 14:59:06,548 - INFO - taking picture
MAIN: 2025-04-14 14:59:06,549 - INFO - we take 1018 photos in this while loop
MAIN: 2025-04-14 14:59:06,549 - INFO - /home/pi/Desktop/images/14042025/14/58/image_14042025_14_59_06_29159.jpg
MAIN: 2025-04-14 14:59:06,549 - INFO - duration: 0.6847763300029328
MAIN: 2025-04-14 14:59:06,550 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/14/59'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 14:59:36,779 - INFO - taking picture
MAIN: 2025-04-14 14:59:36,779 - INFO - we take 1019 photos in this while loop
MAIN: 2025-04-14 14:59:36,780 - INFO - /home/pi/Desktop/images/14042025/14/59/image_14042025_14_59_36_30204.jpg
MAIN: 2025-04-14 14:59:36,780 - INFO - duration: 0.7107638949964894
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:00:06,494 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:00:07,538 - INFO - taking picture
MAIN: 2025-04-14 15:00:07,539 - INFO - we take 1020 photos in this while loop
MAIN: 2025-04-14 15:00:07,539 - INFO - /home/pi/Desktop/images/14042025/14/59/image_14042025_15_00_07_30755.jpg
MAIN: 2025-04-14 15:00:07,540 - INFO - duration: 0.7150651510019088
MAIN: 2025-04-14 15:00:07,540 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/00'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:00:36,382 - INFO - taking picture
MAIN: 2025-04-14 15:00:36,383 - INFO - we take 1021 photos in this while loop
MAIN: 2025-04-14 15:00:36,383 - INFO - /home/pi/Desktop/images/14042025/15/00/image_14042025_15_00_35_28863.jpg
MAIN: 2025-04-14 15:00:36,383 - INFO - duration: 0.6948612429987406
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:01:05,730 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:01:06,525 - INFO - taking picture
MAIN: 2025-04-14 15:01:06,526 - INFO - we take 1022 photos in this while loop
MAIN: 2025-04-14 15:01:06,526 - INFO - /home/pi/Desktop/images/14042025/15/00/image_14042025_15_01_06_30169.jpg
MAIN: 2025-04-14 15:01:06,526 - INFO - duration: 0.6676605100001325
MAIN: 2025-04-14 15:01:06,526 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/01'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:01:36,501 - INFO - taking picture
MAIN: 2025-04-14 15:01:36,502 - INFO - we take 1023 photos in this while loop
MAIN: 2025-04-14 15:01:36,502 - INFO - /home/pi/Desktop/images/14042025/15/01/image_14042025_15_01_36_29941.jpg
MAIN: 2025-04-14 15:01:36,502 - INFO - duration: 0.7027673479969963
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:02:06,216 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:02:06,849 - INFO - taking picture
MAIN: 2025-04-14 15:02:06,849 - INFO - we take 1024 photos in this while loop
MAIN: 2025-04-14 15:02:06,850 - INFO - /home/pi/Desktop/images/14042025/15/01/image_14042025_15_02_06_30327.jpg
MAIN: 2025-04-14 15:02:06,850 - INFO - duration: 0.7225469930053805
MAIN: 2025-04-14 15:02:06,850 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/02'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:02:36,888 - INFO - taking picture
MAIN: 2025-04-14 15:02:36,889 - INFO - we take 1025 photos in this while loop
MAIN: 2025-04-14 15:02:36,889 - INFO - /home/pi/Desktop/images/14042025/15/02/image_14042025_15_02_36_30041.jpg
MAIN: 2025-04-14 15:02:36,889 - INFO - duration: 0.7201336100042681
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:03:05,888 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:03:06,990 - INFO - taking picture
MAIN: 2025-04-14 15:03:06,991 - INFO - we take 1026 photos in this while loop
MAIN: 2025-04-14 15:03:06,991 - INFO - /home/pi/Desktop/images/14042025/15/02/image_14042025_15_03_06_30094.jpg
MAIN: 2025-04-14 15:03:06,991 - INFO - duration: 0.7277630950047751
MAIN: 2025-04-14 15:03:06,991 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/03'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:03:37,271 - INFO - taking picture
MAIN: 2025-04-14 15:03:37,272 - INFO - we take 1027 photos in this while loop
MAIN: 2025-04-14 15:03:37,272 - INFO - /home/pi/Desktop/images/14042025/15/03/image_14042025_15_03_36_30249.jpg
MAIN: 2025-04-14 15:03:37,272 - INFO - duration: 0.7589077440061374
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:04:05,920 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:04:06,634 - INFO - taking picture
MAIN: 2025-04-14 15:04:06,634 - INFO - we take 1028 photos in this while loop
MAIN: 2025-04-14 15:04:06,635 - INFO - /home/pi/Desktop/images/14042025/15/03/image_14042025_15_04_06_29382.jpg
MAIN: 2025-04-14 15:04:06,635 - INFO - duration: 0.7394949809968239
MAIN: 2025-04-14 15:04:06,635 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/04'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:04:36,894 - INFO - taking picture
MAIN: 2025-04-14 15:04:36,895 - INFO - we take 1029 photos in this while loop
MAIN: 2025-04-14 15:04:36,895 - INFO - /home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_36_30312.jpg
MAIN: 2025-04-14 15:04:36,895 - INFO - duration: 0.6869981960044242
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:05:05,905 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:05:07,571 - INFO - taking picture
MAIN: 2025-04-14 15:05:07,571 - INFO - we take 1030 photos in this while loop
MAIN: 2025-04-14 15:05:07,571 - INFO - /home/pi/Desktop/images/14042025/15/04/image_14042025_15_05_07_30644.jpg
MAIN: 2025-04-14 15:05:07,572 - INFO - duration: 0.7193672709981911
MAIN: 2025-04-14 15:05:07,572 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/05'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:05:36,402 - INFO - taking picture
MAIN: 2025-04-14 15:05:36,403 - INFO - we take 1031 photos in this while loop
MAIN: 2025-04-14 15:05:36,403 - INFO - /home/pi/Desktop/images/14042025/15/05/image_14042025_15_05_36_28882.jpg
MAIN: 2025-04-14 15:05:36,403 - INFO - duration: 0.6687145480027539
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:06:05,693 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:06:06,817 - INFO - taking picture
MAIN: 2025-04-14 15:06:06,817 - INFO - we take 1032 photos in this while loop
MAIN: 2025-04-14 15:06:06,818 - INFO - /home/pi/Desktop/images/14042025/15/05/image_14042025_15_06_06_30383.jpg
MAIN: 2025-04-14 15:06:06,818 - INFO - duration: 0.6995525300008012
MAIN: 2025-04-14 15:06:06,818 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/06'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:06:36,877 - INFO - taking picture
MAIN: 2025-04-14 15:06:36,878 - INFO - we take 1033 photos in this while loop
MAIN: 2025-04-14 15:06:36,878 - INFO - /home/pi/Desktop/images/14042025/15/06/image_14042025_15_06_36_30033.jpg
MAIN: 2025-04-14 15:06:36,878 - INFO - duration: 0.7267394689988578
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:07:05,773 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:07:07,062 - INFO - taking picture
MAIN: 2025-04-14 15:07:07,063 - INFO - we take 1034 photos in this while loop
MAIN: 2025-04-14 15:07:07,063 - INFO - /home/pi/Desktop/images/14042025/15/06/image_14042025_15_07_06_30206.jpg
MAIN: 2025-04-14 15:07:07,063 - INFO - duration: 0.7048700879968237
MAIN: 2025-04-14 15:07:07,064 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/07'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:07:37,022 - INFO - taking picture
MAIN: 2025-04-14 15:07:37,022 - INFO - we take 1035 photos in this while loop
MAIN: 2025-04-14 15:07:37,022 - INFO - /home/pi/Desktop/images/14042025/15/07/image_14042025_15_07_36_29968.jpg
MAIN: 2025-04-14 15:07:37,023 - INFO - duration: 0.695913264004048
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:08:06,483 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:08:07,179 - INFO - taking picture
MAIN: 2025-04-14 15:08:07,179 - INFO - we take 1036 photos in this while loop
MAIN: 2025-04-14 15:08:07,180 - INFO - /home/pi/Desktop/images/14042025/15/07/image_14042025_15_08_06_30094.jpg
MAIN: 2025-04-14 15:08:07,180 - INFO - duration: 0.7586579240014544
MAIN: 2025-04-14 15:08:07,180 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/08'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:08:37,196 - INFO - taking picture
MAIN: 2025-04-14 15:08:37,196 - INFO - we take 1037 photos in this while loop
MAIN: 2025-04-14 15:08:37,196 - INFO - /home/pi/Desktop/images/14042025/15/08/image_14042025_15_08_36_30099.jpg
MAIN: 2025-04-14 15:08:37,197 - INFO - duration: 0.6757823230000213
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:09:06,044 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:09:07,384 - INFO - taking picture
MAIN: 2025-04-14 15:09:07,385 - INFO - we take 1038 photos in this while loop
MAIN: 2025-04-14 15:09:07,385 - INFO - /home/pi/Desktop/images/14042025/15/08/image_14042025_15_09_06_30193.jpg
MAIN: 2025-04-14 15:09:07,385 - INFO - duration: 0.6715059689959162
MAIN: 2025-04-14 15:09:07,386 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/09'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:09:37,579 - INFO - taking picture
MAIN: 2025-04-14 15:09:37,579 - INFO - we take 1039 photos in this while loop
MAIN: 2025-04-14 15:09:37,579 - INFO - /home/pi/Desktop/images/14042025/15/09/image_14042025_15_09_37_30158.jpg
MAIN: 2025-04-14 15:09:37,580 - INFO - duration: 0.7069256709946785
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:10:06,322 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:10:06,972 - INFO - taking picture
MAIN: 2025-04-14 15:10:06,972 - INFO - we take 1040 photos in this while loop
MAIN: 2025-04-14 15:10:06,972 - INFO - /home/pi/Desktop/images/14042025/15/09/image_14042025_15_10_06_29338.jpg
MAIN: 2025-04-14 15:10:06,973 - INFO - duration: 0.7614243900025031
MAIN: 2025-04-14 15:10:06,973 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/10'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:10:36,951 - INFO - taking picture
MAIN: 2025-04-14 15:10:36,951 - INFO - we take 1041 photos in this while loop
MAIN: 2025-04-14 15:10:36,951 - INFO - /home/pi/Desktop/images/14042025/15/10/image_14042025_15_10_36_30010.jpg
MAIN: 2025-04-14 15:10:36,952 - INFO - duration: 0.7303254740036209
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:11:05,633 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:11:07,110 - INFO - taking picture
MAIN: 2025-04-14 15:11:07,111 - INFO - we take 1042 photos in this while loop
MAIN: 2025-04-14 15:11:07,111 - INFO - /home/pi/Desktop/images/14042025/15/10/image_14042025_15_11_06_30170.jpg
MAIN: 2025-04-14 15:11:07,111 - INFO - duration: 0.7200304189973394
MAIN: 2025-04-14 15:11:07,112 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/11'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:11:37,112 - INFO - taking picture
MAIN: 2025-04-14 15:11:37,113 - INFO - we take 1043 photos in this while loop
MAIN: 2025-04-14 15:11:37,113 - INFO - /home/pi/Desktop/images/14042025/15/11/image_14042025_15_11_36_29997.jpg
MAIN: 2025-04-14 15:11:37,113 - INFO - duration: 0.7248835470018093
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:12:06,042 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:12:07,490 - INFO - taking picture
MAIN: 2025-04-14 15:12:07,491 - INFO - we take 1044 photos in this while loop
MAIN: 2025-04-14 15:12:07,491 - INFO - /home/pi/Desktop/images/14042025/15/11/image_14042025_15_12_07_30379.jpg
MAIN: 2025-04-14 15:12:07,491 - INFO - duration: 0.7229196420012158
MAIN: 2025-04-14 15:12:07,492 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/12'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:12:37,545 - INFO - taking picture
MAIN: 2025-04-14 15:12:37,546 - INFO - we take 1045 photos in this while loop
MAIN: 2025-04-14 15:12:37,546 - INFO - /home/pi/Desktop/images/14042025/15/12/image_14042025_15_12_37_30052.jpg
MAIN: 2025-04-14 15:12:37,546 - INFO - duration: 0.7252543840004364
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:13:06,017 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:13:06,511 - INFO - taking picture
MAIN: 2025-04-14 15:13:06,512 - INFO - we take 1046 photos in this while loop
MAIN: 2025-04-14 15:13:06,512 - INFO - /home/pi/Desktop/images/14042025/15/12/image_14042025_15_13_06_28945.jpg
MAIN: 2025-04-14 15:13:06,512 - INFO - duration: 0.7460429339989787
MAIN: 2025-04-14 15:13:06,513 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/13'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:13:36,542 - INFO - taking picture
MAIN: 2025-04-14 15:13:36,542 - INFO - we take 1047 photos in this while loop
MAIN: 2025-04-14 15:13:36,543 - INFO - /home/pi/Desktop/images/14042025/15/13/image_14042025_15_13_36_30072.jpg
MAIN: 2025-04-14 15:13:36,543 - INFO - duration: 0.7038708360050805
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:14:06,757 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:14:07,281 - INFO - taking picture
MAIN: 2025-04-14 15:14:07,281 - INFO - we take 1048 photos in this while loop
MAIN: 2025-04-14 15:14:07,282 - INFO - /home/pi/Desktop/images/14042025/15/13/image_14042025_15_14_06_30703.jpg
MAIN: 2025-04-14 15:14:07,282 - INFO - duration: 0.7397231419963646
MAIN: 2025-04-14 15:14:07,282 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/14'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:14:37,247 - INFO - taking picture
MAIN: 2025-04-14 15:14:37,247 - INFO - we take 1049 photos in this while loop
MAIN: 2025-04-14 15:14:37,248 - INFO - /home/pi/Desktop/images/14042025/15/14/image_14042025_15_14_36_29980.jpg
MAIN: 2025-04-14 15:14:37,248 - INFO - duration: 0.724882719994639
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:15:05,700 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:15:06,366 - INFO - taking picture
MAIN: 2025-04-14 15:15:06,367 - INFO - we take 1050 photos in this while loop
MAIN: 2025-04-14 15:15:06,367 - INFO - /home/pi/Desktop/images/14042025/15/14/image_14042025_15_15_05_29124.jpg
MAIN: 2025-04-14 15:15:06,368 - INFO - duration: 0.7202656359950197
MAIN: 2025-04-14 15:15:06,369 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/15'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:15:36,476 - INFO - taking picture
MAIN: 2025-04-14 15:15:36,476 - INFO - we take 1051 photos in this while loop
MAIN: 2025-04-14 15:15:36,477 - INFO - /home/pi/Desktop/images/14042025/15/15/image_14042025_15_15_36_30097.jpg
MAIN: 2025-04-14 15:15:36,477 - INFO - duration: 0.7315859020018252
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:16:05,752 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:16:06,773 - INFO - taking picture
MAIN: 2025-04-14 15:16:06,773 - INFO - we take 1052 photos in this while loop
MAIN: 2025-04-14 15:16:06,774 - INFO - /home/pi/Desktop/images/14042025/15/15/image_14042025_15_16_06_30365.jpg
MAIN: 2025-04-14 15:16:06,774 - INFO - duration: 0.6633985849985038
MAIN: 2025-04-14 15:16:06,774 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/16'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:16:36,907 - INFO - taking picture
MAIN: 2025-04-14 15:16:36,907 - INFO - we take 1053 photos in this while loop
MAIN: 2025-04-14 15:16:36,908 - INFO - /home/pi/Desktop/images/14042025/15/16/image_14042025_15_16_36_30063.jpg
MAIN: 2025-04-14 15:16:36,908 - INFO - duration: 0.7342532479960937
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:17:05,689 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:17:07,290 - INFO - taking picture
MAIN: 2025-04-14 15:17:07,290 - INFO - we take 1054 photos in this while loop
MAIN: 2025-04-14 15:17:07,291 - INFO - /home/pi/Desktop/images/14042025/15/16/image_14042025_15_17_06_30393.jpg
MAIN: 2025-04-14 15:17:07,291 - INFO - duration: 0.7235716299983324
MAIN: 2025-04-14 15:17:07,291 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/17'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:17:37,400 - INFO - taking picture
MAIN: 2025-04-14 15:17:37,401 - INFO - we take 1055 photos in this while loop
MAIN: 2025-04-14 15:17:37,401 - INFO - /home/pi/Desktop/images/14042025/15/17/image_14042025_15_17_37_30097.jpg
MAIN: 2025-04-14 15:17:37,401 - INFO - duration: 0.7361974169980385
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:18:05,985 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:18:06,572 - INFO - taking picture
MAIN: 2025-04-14 15:18:06,572 - INFO - we take 1056 photos in this while loop
MAIN: 2025-04-14 15:18:06,572 - INFO - /home/pi/Desktop/images/14042025/15/17/image_14042025_15_18_06_29176.jpg
MAIN: 2025-04-14 15:18:06,573 - INFO - duration: 0.7317809060041327
MAIN: 2025-04-14 15:18:06,573 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/18'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:18:36,485 - INFO - taking picture
MAIN: 2025-04-14 15:18:36,486 - INFO - we take 1057 photos in this while loop
MAIN: 2025-04-14 15:18:36,486 - INFO - /home/pi/Desktop/images/14042025/15/18/image_14042025_15_18_36_29930.jpg
MAIN: 2025-04-14 15:18:36,486 - INFO - duration: 0.7151805870016688
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:19:06,452 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 15:19:06,841 - INFO - taking picture
MAIN: 2025-04-14 15:19:06,841 - INFO - we take 1058 photos in this while loop
MAIN: 2025-04-14 15:19:06,842 - INFO - /home/pi/Desktop/images/14042025/15/18/image_14042025_15_19_06_30360.jpg
MAIN: 2025-04-14 15:19:06,842 - INFO - duration: 0.7103027420016588
MAIN: 2025-04-14 15:19:06,842 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/19'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:19:36,766 - INFO - taking picture
MAIN: 2025-04-14 15:19:36,767 - INFO - we take 1059 photos in this while loop
MAIN: 2025-04-14 15:19:36,767 - INFO - /home/pi/Desktop/images/14042025/15/19/image_14042025_15_19_36_29910.jpg
MAIN: 2025-04-14 15:19:36,767 - INFO - duration: 0.7249431810050737
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:20:07,145 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 15:20:07,391 - INFO - taking picture
MAIN: 2025-04-14 15:20:07,392 - INFO - we take 1060 photos in this while loop
MAIN: 2025-04-14 15:20:07,393 - INFO - /home/pi/Desktop/images/14042025/15/19/image_14042025_15_20_06_30624.jpg
MAIN: 2025-04-14 15:20:07,393 - INFO - duration: 0.726442737999605
MAIN: 2025-04-14 15:20:07,395 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/20'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:20:37,513 - INFO - taking picture
MAIN: 2025-04-14 15:20:37,514 - INFO - we take 1061 photos in this while loop
MAIN: 2025-04-14 15:20:37,514 - INFO - /home/pi/Desktop/images/14042025/15/20/image_14042025_15_20_37_30103.jpg
MAIN: 2025-04-14 15:20:37,514 - INFO - duration: 0.7437826530003804
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:21:05,379 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:21:06,442 - INFO - taking picture
MAIN: 2025-04-14 15:21:06,442 - INFO - we take 1062 photos in this while loop
MAIN: 2025-04-14 15:21:06,442 - INFO - /home/pi/Desktop/images/14042025/15/20/image_14042025_15_21_06_29010.jpg
MAIN: 2025-04-14 15:21:06,443 - INFO - duration: 0.6616934260018752
MAIN: 2025-04-14 15:21:06,443 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/21'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:21:36,422 - INFO - taking picture
MAIN: 2025-04-14 15:21:36,422 - INFO - we take 1063 photos in this while loop
MAIN: 2025-04-14 15:21:36,422 - INFO - /home/pi/Desktop/images/14042025/15/21/image_14042025_15_21_36_29925.jpg
MAIN: 2025-04-14 15:21:36,422 - INFO - duration: 0.7163720789976651
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:22:06,315 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:22:06,854 - INFO - taking picture
MAIN: 2025-04-14 15:22:06,855 - INFO - we take 1064 photos in this while loop
MAIN: 2025-04-14 15:22:06,855 - INFO - /home/pi/Desktop/images/14042025/15/21/image_14042025_15_22_06_30410.jpg
MAIN: 2025-04-14 15:22:06,855 - INFO - duration: 0.7382435019972036
MAIN: 2025-04-14 15:22:06,856 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/22'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:22:37,048 - INFO - taking picture
MAIN: 2025-04-14 15:22:37,049 - INFO - we take 1065 photos in this while loop
MAIN: 2025-04-14 15:22:37,049 - INFO - /home/pi/Desktop/images/14042025/15/22/image_14042025_15_22_36_30203.jpg
MAIN: 2025-04-14 15:22:37,049 - INFO - duration: 0.7285859709954821
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:23:05,982 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:23:07,211 - INFO - taking picture
MAIN: 2025-04-14 15:23:07,212 - INFO - we take 1066 photos in this while loop
MAIN: 2025-04-14 15:23:07,212 - INFO - /home/pi/Desktop/images/14042025/15/22/image_14042025_15_23_06_30196.jpg
MAIN: 2025-04-14 15:23:07,212 - INFO - duration: 0.695075004005048
MAIN: 2025-04-14 15:23:07,213 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/23'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:23:37,239 - INFO - taking picture
MAIN: 2025-04-14 15:23:37,240 - INFO - we take 1067 photos in this while loop
MAIN: 2025-04-14 15:23:37,240 - INFO - /home/pi/Desktop/images/14042025/15/23/image_14042025_15_23_36_30026.jpg
MAIN: 2025-04-14 15:23:37,240 - INFO - duration: 0.6971208019967889
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:24:06,679 - INFO - taking picture
MAIN: 2025-04-14 15:24:06,680 - INFO - we take 1068 photos in this while loop
MAIN: 2025-04-14 15:24:06,680 - INFO - /home/pi/Desktop/images/14042025/15/23/image_14042025_15_24_06_29431.jpg
MAIN: 2025-04-14 15:24:06,680 - INFO - duration: 0.7050549309933558
MAIN: 2025-04-14 15:24:06,681 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/24'
MAIN: 2025-04-14 15:24:06,942 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:24:36,760 - INFO - taking picture
MAIN: 2025-04-14 15:24:36,761 - INFO - we take 1069 photos in this while loop
MAIN: 2025-04-14 15:24:36,761 - INFO - /home/pi/Desktop/images/14042025/15/24/image_14042025_15_24_36_30058.jpg
MAIN: 2025-04-14 15:24:36,761 - INFO - duration: 0.7276839030018891
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:25:05,756 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:25:07,539 - INFO - taking picture
MAIN: 2025-04-14 15:25:07,540 - INFO - we take 1070 photos in this while loop
MAIN: 2025-04-14 15:25:07,540 - INFO - /home/pi/Desktop/images/14042025/15/24/image_14042025_15_25_07_30792.jpg
MAIN: 2025-04-14 15:25:07,540 - INFO - duration: 0.7144115219998639
MAIN: 2025-04-14 15:25:07,541 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/25'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:25:37,636 - INFO - taking picture
MAIN: 2025-04-14 15:25:37,637 - INFO - we take 1071 photos in this while loop
MAIN: 2025-04-14 15:25:37,637 - INFO - /home/pi/Desktop/images/14042025/15/25/image_14042025_15_25_37_30081.jpg
MAIN: 2025-04-14 15:25:37,637 - INFO - duration: 0.7299116909998702
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:26:05,912 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:26:06,645 - INFO - taking picture
MAIN: 2025-04-14 15:26:06,645 - INFO - we take 1072 photos in this while loop
MAIN: 2025-04-14 15:26:06,645 - INFO - /home/pi/Desktop/images/14042025/15/25/image_14042025_15_26_06_29009.jpg
MAIN: 2025-04-14 15:26:06,646 - INFO - duration: 0.7294869120014482
MAIN: 2025-04-14 15:26:06,646 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/26'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:26:36,645 - INFO - taking picture
MAIN: 2025-04-14 15:26:36,646 - INFO - we take 1073 photos in this while loop
MAIN: 2025-04-14 15:26:36,646 - INFO - /home/pi/Desktop/images/14042025/15/26/image_14042025_15_26_36_30035.jpg
MAIN: 2025-04-14 15:26:36,646 - INFO - duration: 0.6948005179947359
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:27:05,673 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:27:06,910 - INFO - taking picture
MAIN: 2025-04-14 15:27:06,910 - INFO - we take 1074 photos in this while loop
MAIN: 2025-04-14 15:27:06,911 - INFO - /home/pi/Desktop/images/14042025/15/26/image_14042025_15_27_06_30241.jpg
MAIN: 2025-04-14 15:27:06,911 - INFO - duration: 0.7174582899970119
MAIN: 2025-04-14 15:27:06,911 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/27'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:27:36,889 - INFO - taking picture
MAIN: 2025-04-14 15:27:36,890 - INFO - we take 1075 photos in this while loop
MAIN: 2025-04-14 15:27:36,890 - INFO - /home/pi/Desktop/images/14042025/15/27/image_14042025_15_27_36_29979.jpg
MAIN: 2025-04-14 15:27:36,890 - INFO - duration: 0.7173709039998357
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:28:05,959 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:28:07,240 - INFO - taking picture
MAIN: 2025-04-14 15:28:07,241 - INFO - we take 1076 photos in this while loop
MAIN: 2025-04-14 15:28:07,241 - INFO - /home/pi/Desktop/images/14042025/15/27/image_14042025_15_28_06_30356.jpg
MAIN: 2025-04-14 15:28:07,241 - INFO - duration: 0.7123856020043604
MAIN: 2025-04-14 15:28:07,242 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/28'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:28:37,384 - INFO - taking picture
MAIN: 2025-04-14 15:28:37,385 - INFO - we take 1077 photos in this while loop
MAIN: 2025-04-14 15:28:37,385 - INFO - /home/pi/Desktop/images/14042025/15/28/image_14042025_15_28_36_30131.jpg
MAIN: 2025-04-14 15:28:37,385 - INFO - duration: 0.7243861329989159
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:29:06,583 - INFO - taking picture
MAIN: 2025-04-14 15:29:06,583 - INFO - we take 1078 photos in this while loop
MAIN: 2025-04-14 15:29:06,584 - INFO - /home/pi/Desktop/images/14042025/15/28/image_14042025_15_29_06_29200.jpg
MAIN: 2025-04-14 15:29:06,584 - INFO - duration: 0.7228203080012463
MAIN: 2025-04-14 15:29:06,584 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/29'
MAIN: 2025-04-14 15:29:06,707 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:29:36,706 - INFO - taking picture
MAIN: 2025-04-14 15:29:36,707 - INFO - we take 1079 photos in this while loop
MAIN: 2025-04-14 15:29:36,707 - INFO - /home/pi/Desktop/images/14042025/15/29/image_14042025_15_29_36_30115.jpg
MAIN: 2025-04-14 15:29:36,707 - INFO - duration: 0.7306292749999557
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:30:06,912 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 15:30:07,338 - INFO - taking picture
MAIN: 2025-04-14 15:30:07,339 - INFO - we take 1080 photos in this while loop
MAIN: 2025-04-14 15:30:07,339 - INFO - /home/pi/Desktop/images/14042025/15/29/image_14042025_15_30_06_30635.jpg
MAIN: 2025-04-14 15:30:07,340 - INFO - duration: 0.7275700649988721
MAIN: 2025-04-14 15:30:07,341 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/30'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:30:37,415 - INFO - taking picture
MAIN: 2025-04-14 15:30:37,415 - INFO - we take 1081 photos in this while loop
MAIN: 2025-04-14 15:30:37,416 - INFO - /home/pi/Desktop/images/14042025/15/30/image_14042025_15_30_37_30070.jpg
MAIN: 2025-04-14 15:30:37,416 - INFO - duration: 0.7333876249977038
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:31:05,401 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:31:06,435 - INFO - taking picture
MAIN: 2025-04-14 15:31:06,436 - INFO - we take 1082 photos in this while loop
MAIN: 2025-04-14 15:31:06,436 - INFO - /home/pi/Desktop/images/14042025/15/30/image_14042025_15_31_06_29091.jpg
MAIN: 2025-04-14 15:31:06,436 - INFO - duration: 0.6623963749952964
MAIN: 2025-04-14 15:31:06,437 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/31'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:31:36,446 - INFO - taking picture
MAIN: 2025-04-14 15:31:36,446 - INFO - we take 1083 photos in this while loop
MAIN: 2025-04-14 15:31:36,446 - INFO - /home/pi/Desktop/images/14042025/15/31/image_14042025_15_31_36_29951.jpg
MAIN: 2025-04-14 15:31:36,447 - INFO - duration: 0.7214424810008495
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:32:05,945 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:32:06,864 - INFO - taking picture
MAIN: 2025-04-14 15:32:06,864 - INFO - we take 1084 photos in this while loop
MAIN: 2025-04-14 15:32:06,865 - INFO - /home/pi/Desktop/images/14042025/15/31/image_14042025_15_32_06_30469.jpg
MAIN: 2025-04-14 15:32:06,865 - INFO - duration: 0.669776491005905
MAIN: 2025-04-14 15:32:06,865 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/32'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:32:36,928 - INFO - taking picture
MAIN: 2025-04-14 15:32:36,929 - INFO - we take 1085 photos in this while loop
MAIN: 2025-04-14 15:32:36,929 - INFO - /home/pi/Desktop/images/14042025/15/32/image_14042025_15_32_36_30014.jpg
MAIN: 2025-04-14 15:32:36,929 - INFO - duration: 0.7197385870022117
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:33:05,905 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:33:07,101 - INFO - taking picture
MAIN: 2025-04-14 15:33:07,101 - INFO - we take 1086 photos in this while loop
MAIN: 2025-04-14 15:33:07,101 - INFO - /home/pi/Desktop/images/14042025/15/32/image_14042025_15_33_06_30193.jpg
MAIN: 2025-04-14 15:33:07,102 - INFO - duration: 0.6988240579958074
MAIN: 2025-04-14 15:33:07,102 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/33'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:33:37,134 - INFO - taking picture
MAIN: 2025-04-14 15:33:37,135 - INFO - we take 1087 photos in this while loop
MAIN: 2025-04-14 15:33:37,135 - INFO - /home/pi/Desktop/images/14042025/15/33/image_14042025_15_33_36_30012.jpg
MAIN: 2025-04-14 15:33:37,135 - INFO - duration: 0.7193882850042428
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:34:06,304 - INFO - taking picture
MAIN: 2025-04-14 15:34:06,305 - INFO - we take 1088 photos in this while loop
MAIN: 2025-04-14 15:34:06,305 - INFO - /home/pi/Desktop/images/14042025/15/33/image_14042025_15_34_05_29224.jpg
MAIN: 2025-04-14 15:34:06,305 - INFO - duration: 0.6648404160005157
MAIN: 2025-04-14 15:34:06,306 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/34'
MAIN: 2025-04-14 15:34:06,524 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:34:36,321 - INFO - taking picture
MAIN: 2025-04-14 15:34:36,322 - INFO - we take 1089 photos in this while loop
MAIN: 2025-04-14 15:34:36,322 - INFO - /home/pi/Desktop/images/14042025/15/34/image_14042025_15_34_35_29976.jpg
MAIN: 2025-04-14 15:34:36,322 - INFO - duration: 0.7056371460057562
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:35:06,742 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 15:35:06,799 - INFO - taking picture
MAIN: 2025-04-14 15:35:06,800 - INFO - we take 1090 photos in this while loop
MAIN: 2025-04-14 15:35:06,801 - INFO - /home/pi/Desktop/images/14042025/15/34/image_14042025_15_35_06_30474.jpg
MAIN: 2025-04-14 15:35:06,802 - INFO - duration: 0.7114077769947471
MAIN: 2025-04-14 15:35:06,804 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/35'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:35:36,806 - INFO - taking picture
MAIN: 2025-04-14 15:35:36,807 - INFO - we take 1091 photos in this while loop
MAIN: 2025-04-14 15:35:36,807 - INFO - /home/pi/Desktop/images/14042025/15/35/image_14042025_15_35_36_29995.jpg
MAIN: 2025-04-14 15:35:36,807 - INFO - duration: 0.7208577830024296
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:36:05,440 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:36:07,441 - INFO - taking picture
MAIN: 2025-04-14 15:36:07,441 - INFO - we take 1092 photos in this while loop
MAIN: 2025-04-14 15:36:07,442 - INFO - /home/pi/Desktop/images/14042025/15/35/image_14042025_15_36_07_30631.jpg
MAIN: 2025-04-14 15:36:07,442 - INFO - duration: 0.7241124229985871
MAIN: 2025-04-14 15:36:07,442 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/36'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:36:37,444 - INFO - taking picture
MAIN: 2025-04-14 15:36:37,445 - INFO - we take 1093 photos in this while loop
MAIN: 2025-04-14 15:36:37,445 - INFO - /home/pi/Desktop/images/14042025/15/36/image_14042025_15_36_37_29995.jpg
MAIN: 2025-04-14 15:36:37,445 - INFO - duration: 0.7324702409969177
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:37:05,616 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:37:06,478 - INFO - taking picture
MAIN: 2025-04-14 15:37:06,478 - INFO - we take 1094 photos in this while loop
MAIN: 2025-04-14 15:37:06,479 - INFO - /home/pi/Desktop/images/14042025/15/36/image_14042025_15_37_06_29098.jpg
MAIN: 2025-04-14 15:37:06,479 - INFO - duration: 0.6677912220038706
MAIN: 2025-04-14 15:37:06,479 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/37'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:37:36,591 - INFO - taking picture
MAIN: 2025-04-14 15:37:36,592 - INFO - we take 1095 photos in this while loop
MAIN: 2025-04-14 15:37:36,592 - INFO - /home/pi/Desktop/images/14042025/15/37/image_14042025_15_37_36_30058.jpg
MAIN: 2025-04-14 15:37:36,592 - INFO - duration: 0.7227634739974746
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:38:06,104 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:38:06,944 - INFO - taking picture
MAIN: 2025-04-14 15:38:06,944 - INFO - we take 1096 photos in this while loop
MAIN: 2025-04-14 15:38:06,945 - INFO - /home/pi/Desktop/images/14042025/15/37/image_14042025_15_38_06_30405.jpg
MAIN: 2025-04-14 15:38:06,945 - INFO - duration: 0.6698899249968235
MAIN: 2025-04-14 15:38:06,945 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/38'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:38:37,034 - INFO - taking picture
MAIN: 2025-04-14 15:38:37,035 - INFO - we take 1097 photos in this while loop
MAIN: 2025-04-14 15:38:37,035 - INFO - /home/pi/Desktop/images/14042025/15/38/image_14042025_15_38_36_30042.jpg
MAIN: 2025-04-14 15:38:37,035 - INFO - duration: 0.7176017089950619
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:39:06,436 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:39:07,436 - INFO - taking picture
MAIN: 2025-04-14 15:39:07,436 - INFO - we take 1098 photos in this while loop
MAIN: 2025-04-14 15:39:07,437 - INFO - /home/pi/Desktop/images/14042025/15/38/image_14042025_15_39_07_30454.jpg
MAIN: 2025-04-14 15:39:07,437 - INFO - duration: 0.6643147739960114
MAIN: 2025-04-14 15:39:07,437 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/39'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:39:37,437 - INFO - taking picture
MAIN: 2025-04-14 15:39:37,438 - INFO - we take 1099 photos in this while loop
MAIN: 2025-04-14 15:39:37,438 - INFO - /home/pi/Desktop/images/14042025/15/39/image_14042025_15_39_37_29939.jpg
MAIN: 2025-04-14 15:39:37,438 - INFO - duration: 0.7257729659977485
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:40:07,037 - INFO - taking picture
MAIN: 2025-04-14 15:40:07,037 - INFO - we take 1100 photos in this while loop
MAIN: 2025-04-14 15:40:07,038 - INFO - /home/pi/Desktop/images/14042025/15/39/image_14042025_15_40_06_29623.jpg
MAIN: 2025-04-14 15:40:07,038 - INFO - duration: 0.7027010889942176
MAIN: 2025-04-14 15:40:07,038 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/40'
MAIN: 2025-04-14 15:40:07,147 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:40:37,070 - INFO - taking picture
MAIN: 2025-04-14 15:40:37,071 - INFO - we take 1101 photos in this while loop
MAIN: 2025-04-14 15:40:37,071 - INFO - /home/pi/Desktop/images/14042025/15/40/image_14042025_15_40_36_30004.jpg
MAIN: 2025-04-14 15:40:37,071 - INFO - duration: 0.7310397950059269
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:41:05,485 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:41:07,512 - INFO - taking picture
MAIN: 2025-04-14 15:41:07,512 - INFO - we take 1102 photos in this while loop
MAIN: 2025-04-14 15:41:07,513 - INFO - /home/pi/Desktop/images/14042025/15/40/image_14042025_15_41_07_30449.jpg
MAIN: 2025-04-14 15:41:07,513 - INFO - duration: 0.7231360980003956
MAIN: 2025-04-14 15:41:07,513 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/41'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:41:37,552 - INFO - taking picture
MAIN: 2025-04-14 15:41:37,552 - INFO - we take 1103 photos in this while loop
MAIN: 2025-04-14 15:41:37,552 - INFO - /home/pi/Desktop/images/14042025/15/41/image_14042025_15_41_37_30041.jpg
MAIN: 2025-04-14 15:41:37,553 - INFO - duration: 0.7213985470007174
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:42:05,817 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:42:06,715 - INFO - taking picture
MAIN: 2025-04-14 15:42:06,716 - INFO - we take 1104 photos in this while loop
MAIN: 2025-04-14 15:42:06,716 - INFO - /home/pi/Desktop/images/14042025/15/41/image_14042025_15_42_06_29214.jpg
MAIN: 2025-04-14 15:42:06,716 - INFO - duration: 0.6703536929999245
MAIN: 2025-04-14 15:42:06,717 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/42'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:42:36,881 - INFO - taking picture
MAIN: 2025-04-14 15:42:36,882 - INFO - we take 1105 photos in this while loop
MAIN: 2025-04-14 15:42:36,882 - INFO - /home/pi/Desktop/images/14042025/15/42/image_14042025_15_42_36_30099.jpg
MAIN: 2025-04-14 15:42:36,882 - INFO - duration: 0.7366852209961507
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:43:05,744 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:43:07,263 - INFO - taking picture
MAIN: 2025-04-14 15:43:07,264 - INFO - we take 1106 photos in this while loop
MAIN: 2025-04-14 15:43:07,264 - INFO - /home/pi/Desktop/images/14042025/15/42/image_14042025_15_43_06_30394.jpg
MAIN: 2025-04-14 15:43:07,264 - INFO - duration: 0.7249411060038256
MAIN: 2025-04-14 15:43:07,265 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/43'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:43:37,387 - INFO - taking picture
MAIN: 2025-04-14 15:43:37,388 - INFO - we take 1107 photos in this while loop
MAIN: 2025-04-14 15:43:37,388 - INFO - /home/pi/Desktop/images/14042025/15/43/image_14042025_15_43_36_30120.jpg
MAIN: 2025-04-14 15:43:37,388 - INFO - duration: 0.7287672539969208
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:44:06,597 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 15:44:06,805 - INFO - taking picture
MAIN: 2025-04-14 15:44:06,806 - INFO - we take 1108 photos in this while loop
MAIN: 2025-04-14 15:44:06,806 - INFO - /home/pi/Desktop/images/14042025/15/43/image_14042025_15_44_06_29403.jpg
MAIN: 2025-04-14 15:44:06,806 - INFO - duration: 0.7431742900007521
MAIN: 2025-04-14 15:44:06,807 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/44'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:44:36,886 - INFO - taking picture
MAIN: 2025-04-14 15:44:36,887 - INFO - we take 1109 photos in this while loop
MAIN: 2025-04-14 15:44:36,887 - INFO - /home/pi/Desktop/images/14042025/15/44/image_14042025_15_44_36_30097.jpg
MAIN: 2025-04-14 15:44:36,887 - INFO - duration: 0.725746579002589
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:45:06,574 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:45:07,280 - INFO - taking picture
MAIN: 2025-04-14 15:45:07,281 - INFO - we take 1110 photos in this while loop
MAIN: 2025-04-14 15:45:07,281 - INFO - /home/pi/Desktop/images/14042025/15/44/image_14042025_15_45_06_30399.jpg
MAIN: 2025-04-14 15:45:07,281 - INFO - duration: 0.7205680890037911
MAIN: 2025-04-14 15:45:07,282 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/45'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:45:37,332 - INFO - taking picture
MAIN: 2025-04-14 15:45:37,333 - INFO - we take 1111 photos in this while loop
MAIN: 2025-04-14 15:45:37,333 - INFO - /home/pi/Desktop/images/14042025/15/45/image_14042025_15_45_36_30048.jpg
MAIN: 2025-04-14 15:45:37,333 - INFO - duration: 0.7242224149958929
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:46:06,188 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:46:06,715 - INFO - taking picture
MAIN: 2025-04-14 15:46:06,716 - INFO - we take 1112 photos in this while loop
MAIN: 2025-04-14 15:46:06,716 - INFO - /home/pi/Desktop/images/14042025/15/45/image_14042025_15_46_06_29351.jpg
MAIN: 2025-04-14 15:46:06,716 - INFO - duration: 0.7559892470017076
MAIN: 2025-04-14 15:46:06,717 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/46'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:46:36,676 - INFO - taking picture
MAIN: 2025-04-14 15:46:36,677 - INFO - we take 1113 photos in this while loop
MAIN: 2025-04-14 15:46:36,677 - INFO - /home/pi/Desktop/images/14042025/15/46/image_14042025_15_46_36_29978.jpg
MAIN: 2025-04-14 15:46:36,677 - INFO - duration: 0.7383629940013634
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:47:06,321 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:47:07,088 - INFO - taking picture
MAIN: 2025-04-14 15:47:07,088 - INFO - we take 1114 photos in this while loop
MAIN: 2025-04-14 15:47:07,089 - INFO - /home/pi/Desktop/images/14042025/15/46/image_14042025_15_47_06_30486.jpg
MAIN: 2025-04-14 15:47:07,089 - INFO - duration: 0.6639830809945124
MAIN: 2025-04-14 15:47:07,089 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/47'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:47:37,217 - INFO - taking picture
MAIN: 2025-04-14 15:47:37,218 - INFO - we take 1115 photos in this while loop
MAIN: 2025-04-14 15:47:37,218 - INFO - /home/pi/Desktop/images/14042025/15/47/image_14042025_15_47_36_30061.jpg
MAIN: 2025-04-14 15:47:37,218 - INFO - duration: 0.731357108001248
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:48:05,688 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:48:06,398 - INFO - taking picture
MAIN: 2025-04-14 15:48:06,399 - INFO - we take 1116 photos in this while loop
MAIN: 2025-04-14 15:48:06,399 - INFO - /home/pi/Desktop/images/14042025/15/47/image_14042025_15_48_06_29184.jpg
MAIN: 2025-04-14 15:48:06,399 - INFO - duration: 0.7277985149994493
MAIN: 2025-04-14 15:48:06,400 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/48'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:48:36,594 - INFO - taking picture
MAIN: 2025-04-14 15:48:36,594 - INFO - we take 1117 photos in this while loop
MAIN: 2025-04-14 15:48:36,595 - INFO - /home/pi/Desktop/images/14042025/15/48/image_14042025_15_48_36_30188.jpg
MAIN: 2025-04-14 15:48:36,595 - INFO - duration: 0.7346304960010457
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:49:06,193 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:49:07,150 - INFO - taking picture
MAIN: 2025-04-14 15:49:07,151 - INFO - we take 1118 photos in this while loop
MAIN: 2025-04-14 15:49:07,151 - INFO - /home/pi/Desktop/images/14042025/15/48/image_14042025_15_49_06_30629.jpg
MAIN: 2025-04-14 15:49:07,151 - INFO - duration: 0.6621907910011942
MAIN: 2025-04-14 15:49:07,152 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/49'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:49:37,311 - INFO - taking picture
MAIN: 2025-04-14 15:49:37,312 - INFO - we take 1119 photos in this while loop
MAIN: 2025-04-14 15:49:37,312 - INFO - /home/pi/Desktop/images/14042025/15/49/image_14042025_15_49_36_30096.jpg
MAIN: 2025-04-14 15:49:37,312 - INFO - duration: 0.7266889340025955
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:50:07,107 - INFO - taking picture
MAIN: 2025-04-14 15:50:07,108 - INFO - we take 1120 photos in this while loop
MAIN: 2025-04-14 15:50:07,108 - INFO - /home/pi/Desktop/images/14042025/15/49/image_14042025_15_50_06_29801.jpg
MAIN: 2025-04-14 15:50:07,108 - INFO - duration: 0.720608411997091
MAIN: 2025-04-14 15:50:07,109 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/50'
MAIN: 2025-04-14 15:50:07,223 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:50:37,230 - INFO - taking picture
MAIN: 2025-04-14 15:50:37,231 - INFO - we take 1121 photos in this while loop
MAIN: 2025-04-14 15:50:37,231 - INFO - /home/pi/Desktop/images/14042025/15/50/image_14042025_15_50_36_30113.jpg
MAIN: 2025-04-14 15:50:37,231 - INFO - duration: 0.7303037800011225
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:51:06,023 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:51:07,610 - INFO - taking picture
MAIN: 2025-04-14 15:51:07,610 - INFO - we take 1122 photos in this while loop
MAIN: 2025-04-14 15:51:07,610 - INFO - /home/pi/Desktop/images/14042025/15/50/image_14042025_15_51_07_30370.jpg
MAIN: 2025-04-14 15:51:07,611 - INFO - duration: 0.7393759709957521
MAIN: 2025-04-14 15:51:07,611 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/51'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:51:36,394 - INFO - taking picture
MAIN: 2025-04-14 15:51:36,394 - INFO - we take 1123 photos in this while loop
MAIN: 2025-04-14 15:51:36,394 - INFO - /home/pi/Desktop/images/14042025/15/51/image_14042025_15_51_36_28817.jpg
MAIN: 2025-04-14 15:51:36,395 - INFO - duration: 0.7056560150012956
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:52:06,421 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:52:07,002 - INFO - taking picture
MAIN: 2025-04-14 15:52:07,003 - INFO - we take 1124 photos in this while loop
MAIN: 2025-04-14 15:52:07,003 - INFO - /home/pi/Desktop/images/14042025/15/51/image_14042025_15_52_06_30577.jpg
MAIN: 2025-04-14 15:52:07,003 - INFO - duration: 0.7368311270038248
MAIN: 2025-04-14 15:52:07,004 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/52'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:52:37,105 - INFO - taking picture
MAIN: 2025-04-14 15:52:37,106 - INFO - we take 1125 photos in this while loop
MAIN: 2025-04-14 15:52:37,106 - INFO - /home/pi/Desktop/images/14042025/15/52/image_14042025_15_52_36_30115.jpg
MAIN: 2025-04-14 15:52:37,106 - INFO - duration: 0.7241938330043922
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:53:06,226 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:53:07,310 - INFO - taking picture
MAIN: 2025-04-14 15:53:07,310 - INFO - we take 1126 photos in this while loop
MAIN: 2025-04-14 15:53:07,310 - INFO - /home/pi/Desktop/images/14042025/15/52/image_14042025_15_53_06_30264.jpg
MAIN: 2025-04-14 15:53:07,311 - INFO - duration: 0.6638261609987239
MAIN: 2025-04-14 15:53:07,311 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/53'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:53:37,302 - INFO - taking picture
MAIN: 2025-04-14 15:53:37,303 - INFO - we take 1127 photos in this while loop
MAIN: 2025-04-14 15:53:37,303 - INFO - /home/pi/Desktop/images/14042025/15/53/image_14042025_15_53_36_29952.jpg
MAIN: 2025-04-14 15:53:37,303 - INFO - duration: 0.7030899289966328
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:54:06,106 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:54:06,586 - INFO - taking picture
MAIN: 2025-04-14 15:54:06,587 - INFO - we take 1128 photos in this while loop
MAIN: 2025-04-14 15:54:06,587 - INFO - /home/pi/Desktop/images/14042025/15/53/image_14042025_15_54_06_29276.jpg
MAIN: 2025-04-14 15:54:06,587 - INFO - duration: 0.7109157410013722
MAIN: 2025-04-14 15:54:06,587 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/54'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:54:36,503 - INFO - taking picture
MAIN: 2025-04-14 15:54:36,504 - INFO - we take 1129 photos in this while loop
MAIN: 2025-04-14 15:54:36,504 - INFO - /home/pi/Desktop/images/14042025/15/54/image_14042025_15_54_36_29911.jpg
MAIN: 2025-04-14 15:54:36,504 - INFO - duration: 0.7165772279986413
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:55:06,222 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:55:07,004 - INFO - taking picture
MAIN: 2025-04-14 15:55:07,005 - INFO - we take 1130 photos in this while loop
MAIN: 2025-04-14 15:55:07,005 - INFO - /home/pi/Desktop/images/14042025/15/54/image_14042025_15_55_06_30498.jpg
MAIN: 2025-04-14 15:55:07,006 - INFO - duration: 0.71889777299657
MAIN: 2025-04-14 15:55:07,006 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/55'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:55:36,994 - INFO - taking picture
MAIN: 2025-04-14 15:55:36,995 - INFO - we take 1131 photos in this while loop
MAIN: 2025-04-14 15:55:36,995 - INFO - /home/pi/Desktop/images/14042025/15/55/image_14042025_15_55_36_29986.jpg
MAIN: 2025-04-14 15:55:36,995 - INFO - duration: 0.7213928009950905
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:56:06,411 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:56:07,298 - INFO - taking picture
MAIN: 2025-04-14 15:56:07,299 - INFO - we take 1132 photos in this while loop
MAIN: 2025-04-14 15:56:07,299 - INFO - /home/pi/Desktop/images/14042025/15/55/image_14042025_15_56_06_30364.jpg
MAIN: 2025-04-14 15:56:07,299 - INFO - duration: 0.6612033429992152
MAIN: 2025-04-14 15:56:07,299 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/56'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:56:37,252 - INFO - taking picture
MAIN: 2025-04-14 15:56:37,252 - INFO - we take 1133 photos in this while loop
MAIN: 2025-04-14 15:56:37,253 - INFO - /home/pi/Desktop/images/14042025/15/56/image_14042025_15_56_36_29894.jpg
MAIN: 2025-04-14 15:56:37,253 - INFO - duration: 0.7200841570011107
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:57:06,112 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:57:07,326 - INFO - taking picture
MAIN: 2025-04-14 15:57:07,326 - INFO - we take 1134 photos in this while loop
MAIN: 2025-04-14 15:57:07,327 - INFO - /home/pi/Desktop/images/14042025/15/56/image_14042025_15_57_06_30108.jpg
MAIN: 2025-04-14 15:57:07,327 - INFO - duration: 0.6852513949997956
MAIN: 2025-04-14 15:57:07,327 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/57'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:57:37,242 - INFO - taking picture
MAIN: 2025-04-14 15:57:37,242 - INFO - we take 1135 photos in this while loop
MAIN: 2025-04-14 15:57:37,242 - INFO - /home/pi/Desktop/images/14042025/15/57/image_14042025_15_57_36_29881.jpg
MAIN: 2025-04-14 15:57:37,243 - INFO - duration: 0.7200487480004085
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:58:06,364 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:58:07,272 - INFO - taking picture
MAIN: 2025-04-14 15:58:07,272 - INFO - we take 1136 photos in this while loop
MAIN: 2025-04-14 15:58:07,273 - INFO - /home/pi/Desktop/images/14042025/15/57/image_14042025_15_58_06_30098.jpg
MAIN: 2025-04-14 15:58:07,273 - INFO - duration: 0.651585129002342
MAIN: 2025-04-14 15:58:07,273 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/58'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:58:37,185 - INFO - taking picture
MAIN: 2025-04-14 15:58:37,185 - INFO - we take 1137 photos in this while loop
MAIN: 2025-04-14 15:58:37,185 - INFO - /home/pi/Desktop/images/14042025/15/58/image_14042025_15_58_36_29855.jpg
MAIN: 2025-04-14 15:58:37,185 - INFO - duration: 0.7082318769971607
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 15:59:06,589 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:59:07,315 - INFO - taking picture
MAIN: 2025-04-14 15:59:07,316 - INFO - we take 1138 photos in this while loop
MAIN: 2025-04-14 15:59:07,316 - INFO - /home/pi/Desktop/images/14042025/15/58/image_14042025_15_59_06_30140.jpg
MAIN: 2025-04-14 15:59:07,316 - INFO - duration: 0.6978954959995463
MAIN: 2025-04-14 15:59:07,316 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/15/59'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 15:59:37,208 - INFO - taking picture
MAIN: 2025-04-14 15:59:37,208 - INFO - we take 1139 photos in this while loop
MAIN: 2025-04-14 15:59:37,209 - INFO - /home/pi/Desktop/images/14042025/15/59/image_14042025_15_59_36_29881.jpg
MAIN: 2025-04-14 15:59:37,209 - INFO - duration: 0.7091086139989784
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:00:06,768 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:00:07,503 - INFO - taking picture
MAIN: 2025-04-14 16:00:07,504 - INFO - we take 1140 photos in this while loop
MAIN: 2025-04-14 16:00:07,504 - INFO - /home/pi/Desktop/images/14042025/15/59/image_14042025_16_00_07_30300.jpg
MAIN: 2025-04-14 16:00:07,505 - INFO - duration: 0.7041067710015341
MAIN: 2025-04-14 16:00:07,505 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/00'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:00:37,269 - INFO - taking picture
MAIN: 2025-04-14 16:00:37,269 - INFO - we take 1141 photos in this while loop
MAIN: 2025-04-14 16:00:37,270 - INFO - /home/pi/Desktop/images/14042025/16/00/image_14042025_16_00_36_29753.jpg
MAIN: 2025-04-14 16:00:37,270 - INFO - duration: 0.7154850459992304
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:01:06,184 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:01:07,491 - INFO - taking picture
MAIN: 2025-04-14 16:01:07,492 - INFO - we take 1142 photos in this while loop
MAIN: 2025-04-14 16:01:07,492 - INFO - /home/pi/Desktop/images/14042025/16/00/image_14042025_16_01_07_30210.jpg
MAIN: 2025-04-14 16:01:07,492 - INFO - duration: 0.7271707690015319
MAIN: 2025-04-14 16:01:07,492 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/01'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:01:37,267 - INFO - taking picture
MAIN: 2025-04-14 16:01:37,268 - INFO - we take 1143 photos in this while loop
MAIN: 2025-04-14 16:01:37,268 - INFO - /home/pi/Desktop/images/14042025/16/01/image_14042025_16_01_36_29799.jpg
MAIN: 2025-04-14 16:01:37,268 - INFO - duration: 0.7041225630018744
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:02:06,581 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:02:07,376 - INFO - taking picture
MAIN: 2025-04-14 16:02:07,376 - INFO - we take 1144 photos in this while loop
MAIN: 2025-04-14 16:02:07,376 - INFO - /home/pi/Desktop/images/14042025/16/01/image_14042025_16_02_06_30161.jpg
MAIN: 2025-04-14 16:02:07,376 - INFO - duration: 0.6509206409973558
MAIN: 2025-04-14 16:02:07,377 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/02'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:02:37,234 - INFO - taking picture
MAIN: 2025-04-14 16:02:37,235 - INFO - we take 1145 photos in this while loop
MAIN: 2025-04-14 16:02:37,235 - INFO - /home/pi/Desktop/images/14042025/16/02/image_14042025_16_02_36_29802.jpg
MAIN: 2025-04-14 16:02:37,235 - INFO - duration: 0.7067409779992886
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:03:05,477 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:03:07,240 - INFO - taking picture
MAIN: 2025-04-14 16:03:07,240 - INFO - we take 1146 photos in this while loop
MAIN: 2025-04-14 16:03:07,240 - INFO - /home/pi/Desktop/images/14042025/16/02/image_14042025_16_03_06_30002.jpg
MAIN: 2025-04-14 16:03:07,241 - INFO - duration: 0.7094939899980091
MAIN: 2025-04-14 16:03:07,241 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/03'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:03:37,118 - INFO - taking picture
MAIN: 2025-04-14 16:03:37,118 - INFO - we take 1147 photos in this while loop
MAIN: 2025-04-14 16:03:37,118 - INFO - /home/pi/Desktop/images/14042025/16/03/image_14042025_16_03_36_29876.jpg
MAIN: 2025-04-14 16:03:37,119 - INFO - duration: 0.7110712719950243
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:04:06,361 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:04:07,504 - INFO - taking picture
MAIN: 2025-04-14 16:04:07,505 - INFO - we take 1148 photos in this while loop
MAIN: 2025-04-14 16:04:07,505 - INFO - /home/pi/Desktop/images/14042025/16/03/image_14042025_16_04_07_30439.jpg
MAIN: 2025-04-14 16:04:07,505 - INFO - duration: 0.6581488869996974
MAIN: 2025-04-14 16:04:07,506 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/04'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:04:37,341 - INFO - taking picture
MAIN: 2025-04-14 16:04:37,341 - INFO - we take 1149 photos in this while loop
MAIN: 2025-04-14 16:04:37,341 - INFO - /home/pi/Desktop/images/14042025/16/04/image_14042025_16_04_36_29787.jpg
MAIN: 2025-04-14 16:04:37,342 - INFO - duration: 0.7072210950063891
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:05:06,443 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 16:05:06,499 - INFO - taking picture
MAIN: 2025-04-14 16:05:06,499 - INFO - we take 1150 photos in this while loop
MAIN: 2025-04-14 16:05:06,500 - INFO - /home/pi/Desktop/images/14042025/16/04/image_14042025_16_05_06_29164.jpg
MAIN: 2025-04-14 16:05:06,500 - INFO - duration: 0.7009137909990386
MAIN: 2025-04-14 16:05:06,501 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/05'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:05:37,573 - INFO - taking picture
MAIN: 2025-04-14 16:05:37,573 - INFO - we take 1151 photos in this while loop
MAIN: 2025-04-14 16:05:37,574 - INFO - /home/pi/Desktop/images/14042025/16/05/image_14042025_16_05_37_31059.jpg
MAIN: 2025-04-14 16:05:37,574 - INFO - duration: 0.7152122280022013
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:06:06,373 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:06:06,892 - INFO - taking picture
MAIN: 2025-04-14 16:06:06,892 - INFO - we take 1152 photos in this while loop
MAIN: 2025-04-14 16:06:06,893 - INFO - /home/pi/Desktop/images/14042025/16/05/image_14042025_16_06_06_29307.jpg
MAIN: 2025-04-14 16:06:06,893 - INFO - duration: 0.7266375399995013
MAIN: 2025-04-14 16:06:06,893 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/06'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:06:36,611 - INFO - taking picture
MAIN: 2025-04-14 16:06:36,612 - INFO - we take 1153 photos in this while loop
MAIN: 2025-04-14 16:06:36,612 - INFO - /home/pi/Desktop/images/14042025/16/06/image_14042025_16_06_36_29740.jpg
MAIN: 2025-04-14 16:06:36,612 - INFO - duration: 0.7048303330011549
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:07:05,284 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:07:06,558 - INFO - taking picture
MAIN: 2025-04-14 16:07:06,558 - INFO - we take 1154 photos in this while loop
MAIN: 2025-04-14 16:07:06,558 - INFO - /home/pi/Desktop/images/14042025/16/06/image_14042025_16_07_06_29961.jpg
MAIN: 2025-04-14 16:07:06,559 - INFO - duration: 0.6903426619974198
MAIN: 2025-04-14 16:07:06,559 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/07'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:07:36,434 - INFO - taking picture
MAIN: 2025-04-14 16:07:36,434 - INFO - we take 1155 photos in this while loop
MAIN: 2025-04-14 16:07:36,435 - INFO - /home/pi/Desktop/images/14042025/16/07/image_14042025_16_07_36_29850.jpg
MAIN: 2025-04-14 16:07:36,435 - INFO - duration: 0.7160150650015566
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:08:05,826 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:08:06,555 - INFO - taking picture
MAIN: 2025-04-14 16:08:06,556 - INFO - we take 1156 photos in this while loop
MAIN: 2025-04-14 16:08:06,556 - INFO - /home/pi/Desktop/images/14042025/16/07/image_14042025_16_08_06_30181.jpg
MAIN: 2025-04-14 16:08:06,556 - INFO - duration: 0.6564299759993446
MAIN: 2025-04-14 16:08:06,557 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/08'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:08:36,646 - INFO - taking picture
MAIN: 2025-04-14 16:08:36,646 - INFO - we take 1157 photos in this while loop
MAIN: 2025-04-14 16:08:36,646 - INFO - /home/pi/Desktop/images/14042025/16/08/image_14042025_16_08_36_30054.jpg
MAIN: 2025-04-14 16:08:36,647 - INFO - duration: 0.691986394005653
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:09:05,982 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:09:06,892 - INFO - taking picture
MAIN: 2025-04-14 16:09:06,893 - INFO - we take 1158 photos in this while loop
MAIN: 2025-04-14 16:09:06,893 - INFO - /home/pi/Desktop/images/14042025/16/08/image_14042025_16_09_06_30275.jpg
MAIN: 2025-04-14 16:09:06,893 - INFO - duration: 0.6630826250038808
MAIN: 2025-04-14 16:09:06,893 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/09'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:09:37,023 - INFO - taking picture
MAIN: 2025-04-14 16:09:37,024 - INFO - we take 1159 photos in this while loop
MAIN: 2025-04-14 16:09:37,024 - INFO - /home/pi/Desktop/images/14042025/16/09/image_14042025_16_09_36_30067.jpg
MAIN: 2025-04-14 16:09:37,024 - INFO - duration: 0.7272831209993456
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:10:06,525 - INFO - taking picture
MAIN: 2025-04-14 16:10:06,526 - INFO - we take 1160 photos in this while loop
MAIN: 2025-04-14 16:10:06,526 - INFO - /home/pi/Desktop/images/14042025/16/09/image_14042025_16_10_06_29519.jpg
MAIN: 2025-04-14 16:10:06,526 - INFO - duration: 0.709560503004468
MAIN: 2025-04-14 16:10:06,527 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/10'
MAIN: 2025-04-14 16:10:06,715 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:10:36,387 - INFO - taking picture
MAIN: 2025-04-14 16:10:36,388 - INFO - we take 1161 photos in this while loop
MAIN: 2025-04-14 16:10:36,388 - INFO - /home/pi/Desktop/images/14042025/16/10/image_14042025_16_10_36_29881.jpg
MAIN: 2025-04-14 16:10:36,388 - INFO - duration: 0.6900424679988646
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:11:06,067 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:11:06,619 - INFO - taking picture
MAIN: 2025-04-14 16:11:06,619 - INFO - we take 1162 photos in this while loop
MAIN: 2025-04-14 16:11:06,619 - INFO - /home/pi/Desktop/images/14042025/16/10/image_14042025_16_11_06_30198.jpg
MAIN: 2025-04-14 16:11:06,620 - INFO - duration: 0.7223634690017207
MAIN: 2025-04-14 16:11:06,620 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/11'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:11:36,476 - INFO - taking picture
MAIN: 2025-04-14 16:11:36,477 - INFO - we take 1163 photos in this while loop
MAIN: 2025-04-14 16:11:36,477 - INFO - /home/pi/Desktop/images/14042025/16/11/image_14042025_16_11_36_29879.jpg
MAIN: 2025-04-14 16:11:36,477 - INFO - duration: 0.7007957459936733
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:12:05,584 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:12:06,580 - INFO - taking picture
MAIN: 2025-04-14 16:12:06,581 - INFO - we take 1164 photos in this while loop
MAIN: 2025-04-14 16:12:06,581 - INFO - /home/pi/Desktop/images/14042025/16/11/image_14042025_16_12_06_30143.jpg
MAIN: 2025-04-14 16:12:06,581 - INFO - duration: 0.6618720779952127
MAIN: 2025-04-14 16:12:06,582 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/12'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:12:36,579 - INFO - taking picture
MAIN: 2025-04-14 16:12:36,579 - INFO - we take 1165 photos in this while loop
MAIN: 2025-04-14 16:12:36,579 - INFO - /home/pi/Desktop/images/14042025/16/12/image_14042025_16_12_36_29939.jpg
MAIN: 2025-04-14 16:12:36,580 - INFO - duration: 0.7209806959945126
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:13:05,449 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:13:06,601 - INFO - taking picture
MAIN: 2025-04-14 16:13:06,602 - INFO - we take 1166 photos in this while loop
MAIN: 2025-04-14 16:13:06,602 - INFO - /home/pi/Desktop/images/14042025/16/12/image_14042025_16_13_06_30088.jpg
MAIN: 2025-04-14 16:13:06,602 - INFO - duration: 0.6547534749988699
MAIN: 2025-04-14 16:13:06,603 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/13'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:13:36,449 - INFO - taking picture
MAIN: 2025-04-14 16:13:36,450 - INFO - we take 1167 photos in this while loop
MAIN: 2025-04-14 16:13:36,450 - INFO - /home/pi/Desktop/images/14042025/16/13/image_14042025_16_13_36_29795.jpg
MAIN: 2025-04-14 16:13:36,450 - INFO - duration: 0.7070087040046928
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:14:06,143 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:14:06,683 - INFO - taking picture
MAIN: 2025-04-14 16:14:06,684 - INFO - we take 1168 photos in this while loop
MAIN: 2025-04-14 16:14:06,684 - INFO - /home/pi/Desktop/images/14042025/16/13/image_14042025_16_14_06_30261.jpg
MAIN: 2025-04-14 16:14:06,684 - INFO - duration: 0.6797815530007938
MAIN: 2025-04-14 16:14:06,684 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/14'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:14:36,540 - INFO - taking picture
MAIN: 2025-04-14 16:14:36,540 - INFO - we take 1169 photos in this while loop
MAIN: 2025-04-14 16:14:36,541 - INFO - /home/pi/Desktop/images/14042025/16/14/image_14042025_16_14_36_29882.jpg
MAIN: 2025-04-14 16:14:36,541 - INFO - duration: 0.6541659140057163
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:15:05,793 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:15:09,646 - INFO - taking picture
MAIN: 2025-04-14 16:15:09,647 - INFO - we take 1170 photos in this while loop
MAIN: 2025-04-14 16:15:09,647 - INFO - /home/pi/Desktop/images/14042025/16/14/image_14042025_16_15_06_30154.jpg
MAIN: 2025-04-14 16:15:09,647 - INFO - duration: 3.6056718380059465
MAIN: 2025-04-14 16:15:09,648 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/15'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:15:36,885 - INFO - taking picture
MAIN: 2025-04-14 16:15:36,886 - INFO - we take 1171 photos in this while loop
MAIN: 2025-04-14 16:15:36,886 - INFO - /home/pi/Desktop/images/14042025/16/15/image_14042025_16_15_36_30147.jpg
MAIN: 2025-04-14 16:15:36,886 - INFO - duration: 0.6971498339989921
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:16:05,911 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:16:07,049 - INFO - taking picture
MAIN: 2025-04-14 16:16:07,049 - INFO - we take 1172 photos in this while loop
MAIN: 2025-04-14 16:16:07,050 - INFO - /home/pi/Desktop/images/14042025/16/15/image_14042025_16_16_06_30144.jpg
MAIN: 2025-04-14 16:16:07,050 - INFO - duration: 0.7162807770000654
MAIN: 2025-04-14 16:16:07,050 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/16'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:16:37,031 - INFO - taking picture
MAIN: 2025-04-14 16:16:37,032 - INFO - we take 1173 photos in this while loop
MAIN: 2025-04-14 16:16:37,032 - INFO - /home/pi/Desktop/images/14042025/16/16/image_14042025_16_16_36_30006.jpg
MAIN: 2025-04-14 16:16:37,032 - INFO - duration: 0.6924525349968462
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:17:05,828 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:17:07,095 - INFO - taking picture
MAIN: 2025-04-14 16:17:07,096 - INFO - we take 1174 photos in this while loop
MAIN: 2025-04-14 16:17:07,096 - INFO - /home/pi/Desktop/images/14042025/16/16/image_14042025_16_17_06_30069.jpg
MAIN: 2025-04-14 16:17:07,096 - INFO - duration: 0.6864203439981793
MAIN: 2025-04-14 16:17:07,096 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/17'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:17:37,000 - INFO - taking picture
MAIN: 2025-04-14 16:17:37,001 - INFO - we take 1175 photos in this while loop
MAIN: 2025-04-14 16:17:37,001 - INFO - /home/pi/Desktop/images/14042025/16/17/image_14042025_16_17_36_29866.jpg
MAIN: 2025-04-14 16:17:37,001 - INFO - duration: 0.7247604619988124
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:18:06,277 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:18:07,358 - INFO - taking picture
MAIN: 2025-04-14 16:18:07,359 - INFO - we take 1176 photos in this while loop
MAIN: 2025-04-14 16:18:07,359 - INFO - /home/pi/Desktop/images/14042025/16/17/image_14042025_16_18_06_30398.jpg
MAIN: 2025-04-14 16:18:07,359 - INFO - duration: 0.6842140369990375
MAIN: 2025-04-14 16:18:07,360 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/18'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:18:37,233 - INFO - taking picture
MAIN: 2025-04-14 16:18:37,234 - INFO - we take 1177 photos in this while loop
MAIN: 2025-04-14 16:18:37,234 - INFO - /home/pi/Desktop/images/14042025/16/18/image_14042025_16_18_36_29841.jpg
MAIN: 2025-04-14 16:18:37,234 - INFO - duration: 0.7174125379970064
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:19:06,514 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:19:07,325 - INFO - taking picture
MAIN: 2025-04-14 16:19:07,326 - INFO - we take 1178 photos in this while loop
MAIN: 2025-04-14 16:19:07,326 - INFO - /home/pi/Desktop/images/14042025/16/18/image_14042025_16_19_06_30145.jpg
MAIN: 2025-04-14 16:19:07,326 - INFO - duration: 0.6642821499990532
MAIN: 2025-04-14 16:19:07,327 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/19'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:19:37,380 - INFO - taking picture
MAIN: 2025-04-14 16:19:37,380 - INFO - we take 1179 photos in this while loop
MAIN: 2025-04-14 16:19:37,380 - INFO - /home/pi/Desktop/images/14042025/16/19/image_14042025_16_19_36_30020.jpg
MAIN: 2025-04-14 16:19:37,381 - INFO - duration: 0.6980867980018957
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:20:06,617 - INFO - taking picture
MAIN: 2025-04-14 16:20:06,618 - INFO - we take 1180 photos in this while loop
MAIN: 2025-04-14 16:20:06,618 - INFO - /home/pi/Desktop/images/14042025/16/19/image_14042025_16_20_06_29223.jpg
MAIN: 2025-04-14 16:20:06,618 - INFO - duration: 0.7118262809963198
MAIN: 2025-04-14 16:20:06,619 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/20'
MAIN: 2025-04-14 16:20:07,167 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:20:36,549 - INFO - taking picture
MAIN: 2025-04-14 16:20:36,549 - INFO - we take 1181 photos in this while loop
MAIN: 2025-04-14 16:20:36,550 - INFO - /home/pi/Desktop/images/14042025/16/20/image_14042025_16_20_36_29939.jpg
MAIN: 2025-04-14 16:20:36,550 - INFO - duration: 0.7039334130022326
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:21:05,257 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:21:06,685 - INFO - taking picture
MAIN: 2025-04-14 16:21:06,685 - INFO - we take 1182 photos in this while loop
MAIN: 2025-04-14 16:21:06,685 - INFO - /home/pi/Desktop/images/14042025/16/20/image_14042025_16_21_06_30153.jpg
MAIN: 2025-04-14 16:21:06,686 - INFO - duration: 0.6863631949963747
MAIN: 2025-04-14 16:21:06,686 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/21'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:21:36,515 - INFO - taking picture
MAIN: 2025-04-14 16:21:36,515 - INFO - we take 1183 photos in this while loop
MAIN: 2025-04-14 16:21:36,516 - INFO - /home/pi/Desktop/images/14042025/16/21/image_14042025_16_21_36_29822.jpg
MAIN: 2025-04-14 16:21:36,516 - INFO - duration: 0.6941350720007904
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:22:05,947 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:22:06,703 - INFO - taking picture
MAIN: 2025-04-14 16:22:06,703 - INFO - we take 1184 photos in this while loop
MAIN: 2025-04-14 16:22:06,704 - INFO - /home/pi/Desktop/images/14042025/16/21/image_14042025_16_22_06_30224.jpg
MAIN: 2025-04-14 16:22:06,704 - INFO - duration: 0.6579249529968365
MAIN: 2025-04-14 16:22:06,704 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/22'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:22:36,659 - INFO - taking picture
MAIN: 2025-04-14 16:22:36,660 - INFO - we take 1185 photos in this while loop
MAIN: 2025-04-14 16:22:36,660 - INFO - /home/pi/Desktop/images/14042025/16/22/image_14042025_16_22_36_29903.jpg
MAIN: 2025-04-14 16:22:36,660 - INFO - duration: 0.7107790350055438
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:23:05,630 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:23:06,753 - INFO - taking picture
MAIN: 2025-04-14 16:23:06,754 - INFO - we take 1186 photos in this while loop
MAIN: 2025-04-14 16:23:06,754 - INFO - /home/pi/Desktop/images/14042025/16/22/image_14042025_16_23_06_30118.jpg
MAIN: 2025-04-14 16:23:06,754 - INFO - duration: 0.6864940239975112
MAIN: 2025-04-14 16:23:06,755 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/23'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:23:36,633 - INFO - taking picture
MAIN: 2025-04-14 16:23:36,633 - INFO - we take 1187 photos in this while loop
MAIN: 2025-04-14 16:23:36,633 - INFO - /home/pi/Desktop/images/14042025/16/23/image_14042025_16_23_36_29877.jpg
MAIN: 2025-04-14 16:23:36,634 - INFO - duration: 0.6885358990039094
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:24:06,588 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 16:24:06,933 - INFO - taking picture
MAIN: 2025-04-14 16:24:06,933 - INFO - we take 1188 photos in this while loop
MAIN: 2025-04-14 16:24:06,934 - INFO - /home/pi/Desktop/images/14042025/16/23/image_14042025_16_24_06_30295.jpg
MAIN: 2025-04-14 16:24:06,934 - INFO - duration: 0.6927793890063185
MAIN: 2025-04-14 16:24:06,934 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/24'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:24:36,873 - INFO - taking picture
MAIN: 2025-04-14 16:24:36,874 - INFO - we take 1189 photos in this while loop
MAIN: 2025-04-14 16:24:36,874 - INFO - /home/pi/Desktop/images/14042025/16/24/image_14042025_16_24_36_29960.jpg
MAIN: 2025-04-14 16:24:36,874 - INFO - duration: 0.6721953700034646
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:25:06,787 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:25:07,287 - INFO - taking picture
MAIN: 2025-04-14 16:25:07,287 - INFO - we take 1190 photos in this while loop
MAIN: 2025-04-14 16:25:07,287 - INFO - /home/pi/Desktop/images/14042025/16/24/image_14042025_16_25_06_30385.jpg
MAIN: 2025-04-14 16:25:07,288 - INFO - duration: 0.7005452759985928
MAIN: 2025-04-14 16:25:07,288 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/25'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:25:37,195 - INFO - taking picture
MAIN: 2025-04-14 16:25:37,196 - INFO - we take 1191 photos in this while loop
MAIN: 2025-04-14 16:25:37,196 - INFO - /home/pi/Desktop/images/14042025/16/25/image_14042025_16_25_36_29918.jpg
MAIN: 2025-04-14 16:25:37,196 - INFO - duration: 0.6909198550056317
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:26:06,275 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:26:07,380 - INFO - taking picture
MAIN: 2025-04-14 16:26:07,381 - INFO - we take 1192 photos in this while loop
MAIN: 2025-04-14 16:26:07,381 - INFO - /home/pi/Desktop/images/14042025/16/25/image_14042025_16_26_06_30186.jpg
MAIN: 2025-04-14 16:26:07,381 - INFO - duration: 0.6892132909997599
MAIN: 2025-04-14 16:26:07,382 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/26'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:26:37,270 - INFO - taking picture
MAIN: 2025-04-14 16:26:37,271 - INFO - we take 1193 photos in this while loop
MAIN: 2025-04-14 16:26:37,271 - INFO - /home/pi/Desktop/images/14042025/16/26/image_14042025_16_26_36_29869.jpg
MAIN: 2025-04-14 16:26:37,271 - INFO - duration: 0.7098805380010162
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:27:06,230 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:27:07,250 - INFO - taking picture
MAIN: 2025-04-14 16:27:07,251 - INFO - we take 1194 photos in this while loop
MAIN: 2025-04-14 16:27:07,251 - INFO - /home/pi/Desktop/images/14042025/16/26/image_14042025_16_27_06_30027.jpg
MAIN: 2025-04-14 16:27:07,251 - INFO - duration: 0.6626532800000859
MAIN: 2025-04-14 16:27:07,252 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/27'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:27:37,308 - INFO - taking picture
MAIN: 2025-04-14 16:27:37,308 - INFO - we take 1195 photos in this while loop
MAIN: 2025-04-14 16:27:37,308 - INFO - /home/pi/Desktop/images/14042025/16/27/image_14042025_16_27_36_29987.jpg
MAIN: 2025-04-14 16:27:37,309 - INFO - duration: 0.7325426829993376
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:28:05,674 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:28:06,400 - INFO - taking picture
MAIN: 2025-04-14 16:28:06,401 - INFO - we take 1196 photos in this while loop
MAIN: 2025-04-14 16:28:06,401 - INFO - /home/pi/Desktop/images/14042025/16/27/image_14042025_16_28_06_29135.jpg
MAIN: 2025-04-14 16:28:06,401 - INFO - duration: 0.6894055290031247
MAIN: 2025-04-14 16:28:06,401 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/28'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:28:37,572 - INFO - taking picture
MAIN: 2025-04-14 16:28:37,573 - INFO - we take 1197 photos in this while loop
MAIN: 2025-04-14 16:28:37,573 - INFO - /home/pi/Desktop/images/14042025/16/28/image_14042025_16_28_37_31142.jpg
MAIN: 2025-04-14 16:28:37,573 - INFO - duration: 0.7189918949952698
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:29:05,917 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:29:06,657 - INFO - taking picture
MAIN: 2025-04-14 16:29:06,657 - INFO - we take 1198 photos in this while loop
MAIN: 2025-04-14 16:29:06,657 - INFO - /home/pi/Desktop/images/14042025/16/28/image_14042025_16_29_06_29101.jpg
MAIN: 2025-04-14 16:29:06,658 - INFO - duration: 0.7025436059993808
MAIN: 2025-04-14 16:29:06,658 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/29'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:29:36,715 - INFO - taking picture
MAIN: 2025-04-14 16:29:36,715 - INFO - we take 1199 photos in this while loop
MAIN: 2025-04-14 16:29:36,715 - INFO - /home/pi/Desktop/images/14042025/16/29/image_14042025_16_29_36_30028.jpg
MAIN: 2025-04-14 16:29:36,716 - INFO - duration: 0.7326873679994605
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:30:06,889 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 16:30:07,189 - INFO - taking picture
MAIN: 2025-04-14 16:30:07,190 - INFO - we take 1200 photos in this while loop
MAIN: 2025-04-14 16:30:07,190 - INFO - /home/pi/Desktop/images/14042025/16/29/image_14042025_16_30_06_30453.jpg
MAIN: 2025-04-14 16:30:07,190 - INFO - duration: 0.7539894059955259
MAIN: 2025-04-14 16:30:07,191 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/30'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:30:37,265 - INFO - taking picture
MAIN: 2025-04-14 16:30:37,266 - INFO - we take 1201 photos in this while loop
MAIN: 2025-04-14 16:30:37,266 - INFO - /home/pi/Desktop/images/14042025/16/30/image_14042025_16_30_36_30128.jpg
MAIN: 2025-04-14 16:30:37,266 - INFO - duration: 0.7006211039988557
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:31:05,914 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:31:07,311 - INFO - taking picture
MAIN: 2025-04-14 16:31:07,312 - INFO - we take 1202 photos in this while loop
MAIN: 2025-04-14 16:31:07,312 - INFO - /home/pi/Desktop/images/14042025/16/30/image_14042025_16_31_06_30048.jpg
MAIN: 2025-04-14 16:31:07,312 - INFO - duration: 0.6984976660023676
MAIN: 2025-04-14 16:31:07,313 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/31'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:31:37,329 - INFO - taking picture
MAIN: 2025-04-14 16:31:37,329 - INFO - we take 1203 photos in this while loop
MAIN: 2025-04-14 16:31:37,329 - INFO - /home/pi/Desktop/images/14042025/16/31/image_14042025_16_31_36_30004.jpg
MAIN: 2025-04-14 16:31:37,330 - INFO - duration: 0.7113582949968986
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:32:06,388 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:32:07,516 - INFO - taking picture
MAIN: 2025-04-14 16:32:07,516 - INFO - we take 1204 photos in this while loop
MAIN: 2025-04-14 16:32:07,517 - INFO - /home/pi/Desktop/images/14042025/16/31/image_14042025_16_32_07_30190.jpg
MAIN: 2025-04-14 16:32:07,517 - INFO - duration: 0.7081578770012129
MAIN: 2025-04-14 16:32:07,517 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/32'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:32:37,516 - INFO - taking picture
MAIN: 2025-04-14 16:32:37,517 - INFO - we take 1205 photos in this while loop
MAIN: 2025-04-14 16:32:37,517 - INFO - /home/pi/Desktop/images/14042025/16/32/image_14042025_16_32_37_29989.jpg
MAIN: 2025-04-14 16:32:37,517 - INFO - duration: 0.718888244999107
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:33:06,191 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 16:33:06,461 - INFO - taking picture
MAIN: 2025-04-14 16:33:06,461 - INFO - we take 1206 photos in this while loop
MAIN: 2025-04-14 16:33:06,462 - INFO - /home/pi/Desktop/images/14042025/16/32/image_14042025_16_33_06_28937.jpg
MAIN: 2025-04-14 16:33:06,462 - INFO - duration: 0.726081842003623
MAIN: 2025-04-14 16:33:06,462 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/33'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:33:36,710 - INFO - taking picture
MAIN: 2025-04-14 16:33:36,711 - INFO - we take 1207 photos in this while loop
MAIN: 2025-04-14 16:33:36,711 - INFO - /home/pi/Desktop/images/14042025/16/33/image_14042025_16_33_36_30270.jpg
MAIN: 2025-04-14 16:33:36,711 - INFO - duration: 0.7055550109944306
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:34:06,199 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:34:07,360 - INFO - taking picture
MAIN: 2025-04-14 16:34:07,360 - INFO - we take 1208 photos in this while loop
MAIN: 2025-04-14 16:34:07,360 - INFO - /home/pi/Desktop/images/14042025/16/33/image_14042025_16_34_06_30655.jpg
MAIN: 2025-04-14 16:34:07,361 - INFO - duration: 0.6994895390016609
MAIN: 2025-04-14 16:34:07,361 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/34'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:34:37,253 - INFO - taking picture
MAIN: 2025-04-14 16:34:37,254 - INFO - we take 1209 photos in this while loop
MAIN: 2025-04-14 16:34:37,254 - INFO - /home/pi/Desktop/images/14042025/16/34/image_14042025_16_34_36_29884.jpg
MAIN: 2025-04-14 16:34:37,254 - INFO - duration: 0.7081680319970474
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:35:06,003 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:35:06,534 - INFO - taking picture
MAIN: 2025-04-14 16:35:06,535 - INFO - we take 1210 photos in this while loop
MAIN: 2025-04-14 16:35:06,535 - INFO - /home/pi/Desktop/images/14042025/16/34/image_14042025_16_35_06_29238.jpg
MAIN: 2025-04-14 16:35:06,535 - INFO - duration: 0.7512904960021842
MAIN: 2025-04-14 16:35:06,536 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/35'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:35:36,573 - INFO - taking picture
MAIN: 2025-04-14 16:35:36,574 - INFO - we take 1211 photos in this while loop
MAIN: 2025-04-14 16:35:36,574 - INFO - /home/pi/Desktop/images/14042025/16/35/image_14042025_16_35_36_30070.jpg
MAIN: 2025-04-14 16:35:36,574 - INFO - duration: 0.7189751180048916
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:36:06,124 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:36:06,798 - INFO - taking picture
MAIN: 2025-04-14 16:36:06,798 - INFO - we take 1212 photos in this while loop
MAIN: 2025-04-14 16:36:06,799 - INFO - /home/pi/Desktop/images/14042025/16/35/image_14042025_16_36_06_30227.jpg
MAIN: 2025-04-14 16:36:06,799 - INFO - duration: 0.715977929001383
MAIN: 2025-04-14 16:36:06,799 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/36'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:36:36,568 - INFO - taking picture
MAIN: 2025-04-14 16:36:36,568 - INFO - we take 1213 photos in this while loop
MAIN: 2025-04-14 16:36:36,569 - INFO - /home/pi/Desktop/images/14042025/16/36/image_14042025_16_36_36_29772.jpg
MAIN: 2025-04-14 16:36:36,569 - INFO - duration: 0.7132614180009114
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:37:06,088 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:37:06,791 - INFO - taking picture
MAIN: 2025-04-14 16:37:06,791 - INFO - we take 1214 photos in this while loop
MAIN: 2025-04-14 16:37:06,792 - INFO - /home/pi/Desktop/images/14042025/16/36/image_14042025_16_37_06_30190.jpg
MAIN: 2025-04-14 16:37:06,792 - INFO - duration: 0.7454943460033974
MAIN: 2025-04-14 16:37:06,792 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/37'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:37:36,853 - INFO - taking picture
MAIN: 2025-04-14 16:37:36,853 - INFO - we take 1215 photos in this while loop
MAIN: 2025-04-14 16:37:36,854 - INFO - /home/pi/Desktop/images/14042025/16/37/image_14042025_16_37_36_30058.jpg
MAIN: 2025-04-14 16:37:36,854 - INFO - duration: 0.7492297119970317
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:38:05,533 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:38:07,467 - INFO - taking picture
MAIN: 2025-04-14 16:38:07,467 - INFO - we take 1216 photos in this while loop
MAIN: 2025-04-14 16:38:07,467 - INFO - /home/pi/Desktop/images/14042025/16/37/image_14042025_16_38_07_30698.jpg
MAIN: 2025-04-14 16:38:07,468 - INFO - duration: 0.664531659000204
MAIN: 2025-04-14 16:38:07,468 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/38'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:38:36,378 - INFO - taking picture
MAIN: 2025-04-14 16:38:36,378 - INFO - we take 1217 photos in this while loop
MAIN: 2025-04-14 16:38:36,379 - INFO - /home/pi/Desktop/images/14042025/16/38/image_14042025_16_38_35_28844.jpg
MAIN: 2025-04-14 16:38:36,379 - INFO - duration: 0.731239810003899
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:39:05,458 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:39:06,729 - INFO - taking picture
MAIN: 2025-04-14 16:39:06,730 - INFO - we take 1218 photos in this while loop
MAIN: 2025-04-14 16:39:06,730 - INFO - /home/pi/Desktop/images/14042025/16/38/image_14042025_16_39_06_30380.jpg
MAIN: 2025-04-14 16:39:06,730 - INFO - duration: 0.7017880790008348
MAIN: 2025-04-14 16:39:06,730 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/39'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:39:36,612 - INFO - taking picture
MAIN: 2025-04-14 16:39:36,613 - INFO - we take 1219 photos in this while loop
MAIN: 2025-04-14 16:39:36,613 - INFO - /home/pi/Desktop/images/14042025/16/39/image_14042025_16_39_36_29919.jpg
MAIN: 2025-04-14 16:39:36,613 - INFO - duration: 0.6661502019996988
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:40:06,283 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:40:07,113 - INFO - taking picture
MAIN: 2025-04-14 16:40:07,114 - INFO - we take 1220 photos in this while loop
MAIN: 2025-04-14 16:40:07,114 - INFO - /home/pi/Desktop/images/14042025/16/39/image_14042025_16_40_06_30438.jpg
MAIN: 2025-04-14 16:40:07,115 - INFO - duration: 0.7283617869979935
MAIN: 2025-04-14 16:40:07,115 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/40'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:40:37,235 - INFO - taking picture
MAIN: 2025-04-14 16:40:37,235 - INFO - we take 1221 photos in this while loop
MAIN: 2025-04-14 16:40:37,236 - INFO - /home/pi/Desktop/images/14042025/16/40/image_14042025_16_40_36_30154.jpg
MAIN: 2025-04-14 16:40:37,236 - INFO - duration: 0.69549740000366
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:41:05,947 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:41:07,355 - INFO - taking picture
MAIN: 2025-04-14 16:41:07,356 - INFO - we take 1222 photos in this while loop
MAIN: 2025-04-14 16:41:07,356 - INFO - /home/pi/Desktop/images/14042025/16/40/image_14042025_16_41_06_30106.jpg
MAIN: 2025-04-14 16:41:07,356 - INFO - duration: 0.7100649569983943
MAIN: 2025-04-14 16:41:07,357 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/41'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:41:37,288 - INFO - taking picture
MAIN: 2025-04-14 16:41:37,289 - INFO - we take 1223 photos in this while loop
MAIN: 2025-04-14 16:41:37,289 - INFO - /home/pi/Desktop/images/14042025/16/41/image_14042025_16_41_36_29932.jpg
MAIN: 2025-04-14 16:41:37,289 - INFO - duration: 0.7101553730026353
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:42:06,245 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:42:07,458 - INFO - taking picture
MAIN: 2025-04-14 16:42:07,459 - INFO - we take 1224 photos in this while loop
MAIN: 2025-04-14 16:42:07,459 - INFO - /home/pi/Desktop/images/14042025/16/41/image_14042025_16_42_07_30188.jpg
MAIN: 2025-04-14 16:42:07,459 - INFO - duration: 0.6921826069956296
MAIN: 2025-04-14 16:42:07,460 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/42'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:42:37,458 - INFO - taking picture
MAIN: 2025-04-14 16:42:37,458 - INFO - we take 1225 photos in this while loop
MAIN: 2025-04-14 16:42:37,459 - INFO - /home/pi/Desktop/images/14042025/16/42/image_14042025_16_42_37_29947.jpg
MAIN: 2025-04-14 16:42:37,459 - INFO - duration: 0.7439770529963425
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:43:05,078 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:43:06,316 - INFO - taking picture
MAIN: 2025-04-14 16:43:06,317 - INFO - we take 1226 photos in this while loop
MAIN: 2025-04-14 16:43:06,317 - INFO - /home/pi/Desktop/images/14042025/16/42/image_14042025_16_43_05_28903.jpg
MAIN: 2025-04-14 16:43:06,317 - INFO - duration: 0.6988555249990895
MAIN: 2025-04-14 16:43:06,317 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/43'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:43:37,498 - INFO - taking picture
MAIN: 2025-04-14 16:43:37,498 - INFO - we take 1227 photos in this while loop
MAIN: 2025-04-14 16:43:37,499 - INFO - /home/pi/Desktop/images/14042025/16/43/image_14042025_16_43_37_31206.jpg
MAIN: 2025-04-14 16:43:37,499 - INFO - duration: 0.6737666089975392
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:44:06,332 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 16:44:06,723 - INFO - taking picture
MAIN: 2025-04-14 16:44:06,723 - INFO - we take 1228 photos in this while loop
MAIN: 2025-04-14 16:44:06,724 - INFO - /home/pi/Desktop/images/14042025/16/43/image_14042025_16_44_06_29175.jpg
MAIN: 2025-04-14 16:44:06,724 - INFO - duration: 0.7231899090038496
MAIN: 2025-04-14 16:44:06,724 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/44'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:44:36,919 - INFO - taking picture
MAIN: 2025-04-14 16:44:36,920 - INFO - we take 1229 photos in this while loop
MAIN: 2025-04-14 16:44:36,920 - INFO - /home/pi/Desktop/images/14042025/16/44/image_14042025_16_44_36_30211.jpg
MAIN: 2025-04-14 16:44:36,920 - INFO - duration: 0.7080443829981959
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:45:05,907 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:45:07,324 - INFO - taking picture
MAIN: 2025-04-14 16:45:07,325 - INFO - we take 1230 photos in this while loop
MAIN: 2025-04-14 16:45:07,325 - INFO - /home/pi/Desktop/images/14042025/16/44/image_14042025_16_45_06_30391.jpg
MAIN: 2025-04-14 16:45:07,325 - INFO - duration: 0.7214650649984833
MAIN: 2025-04-14 16:45:07,326 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/45'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:45:37,428 - INFO - taking picture
MAIN: 2025-04-14 16:45:37,428 - INFO - we take 1231 photos in this while loop
MAIN: 2025-04-14 16:45:37,428 - INFO - /home/pi/Desktop/images/14042025/16/45/image_14042025_16_45_37_30120.jpg
MAIN: 2025-04-14 16:45:37,429 - INFO - duration: 0.7047706840021419
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:46:05,995 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:46:06,620 - INFO - taking picture
MAIN: 2025-04-14 16:46:06,621 - INFO - we take 1232 photos in this while loop
MAIN: 2025-04-14 16:46:06,621 - INFO - /home/pi/Desktop/images/14042025/16/45/image_14042025_16_46_06_29228.jpg
MAIN: 2025-04-14 16:46:06,621 - INFO - duration: 0.6687794190002023
MAIN: 2025-04-14 16:46:06,622 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/46'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:46:36,492 - INFO - taking picture
MAIN: 2025-04-14 16:46:36,492 - INFO - we take 1233 photos in this while loop
MAIN: 2025-04-14 16:46:36,492 - INFO - /home/pi/Desktop/images/14042025/16/46/image_14042025_16_46_36_29880.jpg
MAIN: 2025-04-14 16:46:36,493 - INFO - duration: 0.6598193119934876
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:47:06,204 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:47:06,649 - INFO - taking picture
MAIN: 2025-04-14 16:47:06,650 - INFO - we take 1234 photos in this while loop
MAIN: 2025-04-14 16:47:06,650 - INFO - /home/pi/Desktop/images/14042025/16/46/image_14042025_16_47_06_30109.jpg
MAIN: 2025-04-14 16:47:06,650 - INFO - duration: 0.7074128189997282
MAIN: 2025-04-14 16:47:06,651 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/47'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:47:36,674 - INFO - taking picture
MAIN: 2025-04-14 16:47:36,675 - INFO - we take 1235 photos in this while loop
MAIN: 2025-04-14 16:47:36,675 - INFO - /home/pi/Desktop/images/14042025/16/47/image_14042025_16_47_36_30043.jpg
MAIN: 2025-04-14 16:47:36,675 - INFO - duration: 0.6894031249976251
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:48:05,483 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:48:06,802 - INFO - taking picture
MAIN: 2025-04-14 16:48:06,802 - INFO - we take 1236 photos in this while loop
MAIN: 2025-04-14 16:48:06,802 - INFO - /home/pi/Desktop/images/14042025/16/47/image_14042025_16_48_06_30102.jpg
MAIN: 2025-04-14 16:48:06,803 - INFO - duration: 0.7137379779960611
MAIN: 2025-04-14 16:48:06,803 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/48'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:48:36,774 - INFO - taking picture
MAIN: 2025-04-14 16:48:36,775 - INFO - we take 1237 photos in this while loop
MAIN: 2025-04-14 16:48:36,775 - INFO - /home/pi/Desktop/images/14042025/16/48/image_14042025_16_48_36_29972.jpg
MAIN: 2025-04-14 16:48:36,775 - INFO - duration: 0.71373047799716
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:49:05,659 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:49:06,960 - INFO - taking picture
MAIN: 2025-04-14 16:49:06,960 - INFO - we take 1238 photos in this while loop
MAIN: 2025-04-14 16:49:06,961 - INFO - /home/pi/Desktop/images/14042025/16/48/image_14042025_16_49_06_30189.jpg
MAIN: 2025-04-14 16:49:06,961 - INFO - duration: 0.7099358929990558
MAIN: 2025-04-14 16:49:06,961 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/49'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:49:36,739 - INFO - taking picture
MAIN: 2025-04-14 16:49:36,739 - INFO - we take 1239 photos in this while loop
MAIN: 2025-04-14 16:49:36,740 - INFO - /home/pi/Desktop/images/14042025/16/49/image_14042025_16_49_36_29779.jpg
MAIN: 2025-04-14 16:49:36,740 - INFO - duration: 0.7092772989999503
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:50:06,511 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:50:06,964 - INFO - taking picture
MAIN: 2025-04-14 16:50:06,964 - INFO - we take 1240 photos in this while loop
MAIN: 2025-04-14 16:50:06,965 - INFO - /home/pi/Desktop/images/14042025/16/49/image_14042025_16_50_06_30194.jpg
MAIN: 2025-04-14 16:50:06,965 - INFO - duration: 0.7400823630014202
MAIN: 2025-04-14 16:50:06,965 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/50'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:50:36,924 - INFO - taking picture
MAIN: 2025-04-14 16:50:36,924 - INFO - we take 1241 photos in this while loop
MAIN: 2025-04-14 16:50:36,925 - INFO - /home/pi/Desktop/images/14042025/16/50/image_14042025_16_50_36_29964.jpg
MAIN: 2025-04-14 16:50:36,925 - INFO - duration: 0.7355411109965644
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:51:05,760 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:51:06,831 - INFO - taking picture
MAIN: 2025-04-14 16:51:06,832 - INFO - we take 1242 photos in this while loop
MAIN: 2025-04-14 16:51:06,832 - INFO - /home/pi/Desktop/images/14042025/16/50/image_14042025_16_51_06_29984.jpg
MAIN: 2025-04-14 16:51:06,832 - INFO - duration: 0.6583175400010077
MAIN: 2025-04-14 16:51:06,833 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/51'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:51:36,539 - INFO - taking picture
MAIN: 2025-04-14 16:51:36,539 - INFO - we take 1243 photos in this while loop
MAIN: 2025-04-14 16:51:36,540 - INFO - /home/pi/Desktop/images/14042025/16/51/image_14042025_16_51_36_29702.jpg
MAIN: 2025-04-14 16:51:36,540 - INFO - duration: 0.6636054589980631
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:52:06,309 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:52:06,800 - INFO - taking picture
MAIN: 2025-04-14 16:52:06,801 - INFO - we take 1244 photos in this while loop
MAIN: 2025-04-14 16:52:06,801 - INFO - /home/pi/Desktop/images/14042025/16/51/image_14042025_16_52_06_30249.jpg
MAIN: 2025-04-14 16:52:06,801 - INFO - duration: 0.6756394740004907
MAIN: 2025-04-14 16:52:06,801 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/52'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:52:36,751 - INFO - taking picture
MAIN: 2025-04-14 16:52:36,752 - INFO - we take 1245 photos in this while loop
MAIN: 2025-04-14 16:52:36,752 - INFO - /home/pi/Desktop/images/14042025/16/52/image_14042025_16_52_36_29966.jpg
MAIN: 2025-04-14 16:52:36,752 - INFO - duration: 0.6609945199961658
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:53:06,226 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:53:06,826 - INFO - taking picture
MAIN: 2025-04-14 16:53:06,827 - INFO - we take 1246 photos in this while loop
MAIN: 2025-04-14 16:53:06,827 - INFO - /home/pi/Desktop/images/14042025/16/52/image_14042025_16_53_06_30035.jpg
MAIN: 2025-04-14 16:53:06,827 - INFO - duration: 0.7002453160021105
MAIN: 2025-04-14 16:53:06,828 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/53'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:53:36,768 - INFO - taking picture
MAIN: 2025-04-14 16:53:36,768 - INFO - we take 1247 photos in this while loop
MAIN: 2025-04-14 16:53:36,768 - INFO - /home/pi/Desktop/images/14042025/16/53/image_14042025_16_53_36_29954.jpg
MAIN: 2025-04-14 16:53:36,769 - INFO - duration: 0.686582862996147
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:54:06,187 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:54:06,855 - INFO - taking picture
MAIN: 2025-04-14 16:54:06,856 - INFO - we take 1248 photos in this while loop
MAIN: 2025-04-14 16:54:06,856 - INFO - /home/pi/Desktop/images/14042025/16/53/image_14042025_16_54_06_30069.jpg
MAIN: 2025-04-14 16:54:06,856 - INFO - duration: 0.7042089640017366
MAIN: 2025-04-14 16:54:06,856 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/54'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:54:36,681 - INFO - taking picture
MAIN: 2025-04-14 16:54:36,682 - INFO - we take 1249 photos in this while loop
MAIN: 2025-04-14 16:54:36,682 - INFO - /home/pi/Desktop/images/14042025/16/54/image_14042025_16_54_36_29852.jpg
MAIN: 2025-04-14 16:54:36,682 - INFO - duration: 0.6785619740039692
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:55:06,294 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:55:07,024 - INFO - taking picture
MAIN: 2025-04-14 16:55:07,024 - INFO - we take 1250 photos in this while loop
MAIN: 2025-04-14 16:55:07,025 - INFO - /home/pi/Desktop/images/14042025/16/54/image_14042025_16_55_06_30279.jpg
MAIN: 2025-04-14 16:55:07,025 - INFO - duration: 0.7416870510060107
MAIN: 2025-04-14 16:55:07,026 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/55'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:55:37,137 - INFO - taking picture
MAIN: 2025-04-14 16:55:37,138 - INFO - we take 1251 photos in this while loop
MAIN: 2025-04-14 16:55:37,138 - INFO - /home/pi/Desktop/images/14042025/16/55/image_14042025_16_55_36_30130.jpg
MAIN: 2025-04-14 16:55:37,138 - INFO - duration: 0.7241261579983984
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:56:06,393 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:56:07,246 - INFO - taking picture
MAIN: 2025-04-14 16:56:07,247 - INFO - we take 1252 photos in this while loop
MAIN: 2025-04-14 16:56:07,247 - INFO - /home/pi/Desktop/images/14042025/16/55/image_14042025_16_56_06_30175.jpg
MAIN: 2025-04-14 16:56:07,247 - INFO - duration: 0.657446445999085
MAIN: 2025-04-14 16:56:07,248 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/56'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:56:37,163 - INFO - taking picture
MAIN: 2025-04-14 16:56:37,163 - INFO - we take 1253 photos in this while loop
MAIN: 2025-04-14 16:56:37,164 - INFO - /home/pi/Desktop/images/14042025/16/56/image_14042025_16_56_36_29887.jpg
MAIN: 2025-04-14 16:56:37,164 - INFO - duration: 0.6862675509983092
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:57:05,793 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:57:07,156 - INFO - taking picture
MAIN: 2025-04-14 16:57:07,157 - INFO - we take 1254 photos in this while loop
MAIN: 2025-04-14 16:57:07,157 - INFO - /home/pi/Desktop/images/14042025/16/56/image_14042025_16_57_06_29984.jpg
MAIN: 2025-04-14 16:57:07,157 - INFO - duration: 0.6950314600035199
MAIN: 2025-04-14 16:57:07,158 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/57'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:57:37,107 - INFO - taking picture
MAIN: 2025-04-14 16:57:37,107 - INFO - we take 1255 photos in this while loop
MAIN: 2025-04-14 16:57:37,107 - INFO - /home/pi/Desktop/images/14042025/16/57/image_14042025_16_57_36_29949.jpg
MAIN: 2025-04-14 16:57:37,108 - INFO - duration: 0.6956449490025989
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:58:06,419 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:58:07,234 - INFO - taking picture
MAIN: 2025-04-14 16:58:07,234 - INFO - we take 1256 photos in this while loop
MAIN: 2025-04-14 16:58:07,234 - INFO - /home/pi/Desktop/images/14042025/16/57/image_14042025_16_58_06_30151.jpg
MAIN: 2025-04-14 16:58:07,235 - INFO - duration: 0.6713292640051804
MAIN: 2025-04-14 16:58:07,235 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/58'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=12 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:58:37,078 - INFO - taking picture
MAIN: 2025-04-14 16:58:37,079 - INFO - we take 1257 photos in this while loop
MAIN: 2025-04-14 16:58:37,079 - INFO - /home/pi/Desktop/images/14042025/16/58/image_14042025_16_58_36_29814.jpg
MAIN: 2025-04-14 16:58:37,079 - INFO - duration: 0.7011627640022198
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 16:59:05,722 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=42 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:59:07,245 - INFO - taking picture
MAIN: 2025-04-14 16:59:07,245 - INFO - we take 1258 photos in this while loop
MAIN: 2025-04-14 16:59:07,246 - INFO - /home/pi/Desktop/images/14042025/16/58/image_14042025_16_59_06_30188.jpg
MAIN: 2025-04-14 16:59:07,246 - INFO - duration: 0.6786808289980399
MAIN: 2025-04-14 16:59:07,246 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/16/59'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=42 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 16:59:36,916 - INFO - taking picture
MAIN: 2025-04-14 16:59:36,916 - INFO - we take 1259 photos in this while loop
MAIN: 2025-04-14 16:59:36,916 - INFO - /home/pi/Desktop/images/14042025/16/59/image_14042025_16_59_36_29649.jpg
MAIN: 2025-04-14 16:59:36,917 - INFO - duration: 0.7003200030012522
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:00:06,003 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=42 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0

 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)MAIN: 2025-04-14 17:00:06,705 - INFO - taking picture
MAIN: 2025-04-14 17:00:06,706 - INFO - we take 1260 photos in this while loop
MAIN: 2025-04-14 17:00:06,706 - INFO - /home/pi/Desktop/images/14042025/16/59/image_14042025_17_00_06_29791.jpg
MAIN: 2025-04-14 17:00:06,707 - INFO - duration: 0.6987441700039199
MAIN: 2025-04-14 17:00:06,707 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/00'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=42 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:00:36,600 - INFO - taking picture
MAIN: 2025-04-14 17:00:36,601 - INFO - we take 1261 photos in this while loop
MAIN: 2025-04-14 17:00:36,601 - INFO - /home/pi/Desktop/images/14042025/17/00/image_14042025_17_00_36_29878.jpg
MAIN: 2025-04-14 17:00:36,602 - INFO - duration: 0.7157114669971634
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:01:05,474 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=42 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:01:06,601 - INFO - taking picture
MAIN: 2025-04-14 17:01:06,601 - INFO - we take 1262 photos in this while loop
MAIN: 2025-04-14 17:01:06,602 - INFO - /home/pi/Desktop/images/14042025/17/00/image_14042025_17_01_06_30053.jpg
MAIN: 2025-04-14 17:01:06,602 - INFO - duration: 0.6625444160017651
MAIN: 2025-04-14 17:01:06,602 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/01'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:01:36,619 - INFO - taking picture
MAIN: 2025-04-14 17:01:36,620 - INFO - we take 1263 photos in this while loop
MAIN: 2025-04-14 17:01:36,620 - INFO - /home/pi/Desktop/images/14042025/17/01/image_14042025_17_01_36_29973.jpg
MAIN: 2025-04-14 17:01:36,620 - INFO - duration: 0.7069824249992962
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:02:06,086 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:02:06,826 - INFO - taking picture
MAIN: 2025-04-14 17:02:06,827 - INFO - we take 1264 photos in this while loop
MAIN: 2025-04-14 17:02:06,827 - INFO - /home/pi/Desktop/images/14042025/17/01/image_14042025_17_02_06_30234.jpg
MAIN: 2025-04-14 17:02:06,827 - INFO - duration: 0.680425776001357
MAIN: 2025-04-14 17:02:06,828 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/02'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:02:36,894 - INFO - taking picture
MAIN: 2025-04-14 17:02:36,895 - INFO - we take 1265 photos in this while loop
MAIN: 2025-04-14 17:02:36,895 - INFO - /home/pi/Desktop/images/14042025/17/02/image_14042025_17_02_36_30083.jpg
MAIN: 2025-04-14 17:02:36,895 - INFO - duration: 0.6650726790030603
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:03:05,711 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:03:07,082 - INFO - taking picture
MAIN: 2025-04-14 17:03:07,083 - INFO - we take 1266 photos in this while loop
MAIN: 2025-04-14 17:03:07,083 - INFO - /home/pi/Desktop/images/14042025/17/02/image_14042025_17_03_06_30114.jpg
MAIN: 2025-04-14 17:03:07,083 - INFO - duration: 0.73793318800017
MAIN: 2025-04-14 17:03:07,084 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/03'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:03:37,131 - INFO - taking picture
MAIN: 2025-04-14 17:03:37,131 - INFO - we take 1267 photos in this while loop
MAIN: 2025-04-14 17:03:37,132 - INFO - /home/pi/Desktop/images/14042025/17/03/image_14042025_17_03_36_30063.jpg
MAIN: 2025-04-14 17:03:37,132 - INFO - duration: 0.7235602479995578
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:04:06,449 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:04:07,453 - INFO - taking picture
MAIN: 2025-04-14 17:04:07,454 - INFO - we take 1268 photos in this while loop
MAIN: 2025-04-14 17:04:07,454 - INFO - /home/pi/Desktop/images/14042025/17/03/image_14042025_17_04_07_30378.jpg
MAIN: 2025-04-14 17:04:07,454 - INFO - duration: 0.6676804590024403
MAIN: 2025-04-14 17:04:07,455 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/04'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:04:37,514 - INFO - taking picture
MAIN: 2025-04-14 17:04:37,515 - INFO - we take 1269 photos in this while loop
MAIN: 2025-04-14 17:04:37,515 - INFO - /home/pi/Desktop/images/14042025/17/04/image_14042025_17_04_37_29997.jpg
MAIN: 2025-04-14 17:04:37,515 - INFO - duration: 0.7304386680043535
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:05:05,835 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:05:06,710 - INFO - taking picture
MAIN: 2025-04-14 17:05:06,710 - INFO - we take 1270 photos in this while loop
MAIN: 2025-04-14 17:05:06,711 - INFO - /home/pi/Desktop/images/14042025/17/04/image_14042025_17_05_06_29217.jpg
MAIN: 2025-04-14 17:05:06,711 - INFO - duration: 0.70843333099765
MAIN: 2025-04-14 17:05:06,711 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/05'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:05:36,712 - INFO - taking picture
MAIN: 2025-04-14 17:05:36,713 - INFO - we take 1271 photos in this while loop
MAIN: 2025-04-14 17:05:36,713 - INFO - /home/pi/Desktop/images/14042025/17/05/image_14042025_17_05_36_29996.jpg
MAIN: 2025-04-14 17:05:36,713 - INFO - duration: 0.7142285849986365
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:06:05,637 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:06:06,815 - INFO - taking picture
MAIN: 2025-04-14 17:06:06,816 - INFO - we take 1272 photos in this while loop
MAIN: 2025-04-14 17:06:06,816 - INFO - /home/pi/Desktop/images/14042025/17/05/image_14042025_17_06_06_30110.jpg
MAIN: 2025-04-14 17:06:06,816 - INFO - duration: 0.707343572001264
MAIN: 2025-04-14 17:06:06,817 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/06'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:06:36,826 - INFO - taking picture
MAIN: 2025-04-14 17:06:36,826 - INFO - we take 1273 photos in this while loop
MAIN: 2025-04-14 17:06:36,827 - INFO - /home/pi/Desktop/images/14042025/17/06/image_14042025_17_06_36_30015.jpg
MAIN: 2025-04-14 17:06:36,827 - INFO - duration: 0.7026189770040219
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:07:05,726 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:07:07,030 - INFO - taking picture
MAIN: 2025-04-14 17:07:07,031 - INFO - we take 1274 photos in this while loop
MAIN: 2025-04-14 17:07:07,031 - INFO - /home/pi/Desktop/images/14042025/17/06/image_14042025_17_07_06_30190.jpg
MAIN: 2025-04-14 17:07:07,031 - INFO - duration: 0.7159454360007658
MAIN: 2025-04-14 17:07:07,031 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/07'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:07:37,210 - INFO - taking picture
MAIN: 2025-04-14 17:07:37,210 - INFO - we take 1275 photos in this while loop
MAIN: 2025-04-14 17:07:37,210 - INFO - /home/pi/Desktop/images/14042025/17/07/image_14042025_17_07_36_30178.jpg
MAIN: 2025-04-14 17:07:37,211 - INFO - duration: 0.7166589699991164
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:08:06,090 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 17:08:06,449 - INFO - taking picture
MAIN: 2025-04-14 17:08:06,449 - INFO - we take 1276 photos in this while loop
MAIN: 2025-04-14 17:08:06,450 - INFO - /home/pi/Desktop/images/14042025/17/07/image_14042025_17_08_06_29227.jpg
MAIN: 2025-04-14 17:08:06,450 - INFO - duration: 0.7283290740015218
MAIN: 2025-04-14 17:08:06,450 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/08'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:08:36,391 - INFO - taking picture
MAIN: 2025-04-14 17:08:36,391 - INFO - we take 1277 photos in this while loop
MAIN: 2025-04-14 17:08:36,392 - INFO - /home/pi/Desktop/images/14042025/17/08/image_14042025_17_08_36_29976.jpg
MAIN: 2025-04-14 17:08:36,392 - INFO - duration: 0.6941810790012823
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:09:06,102 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:09:06,686 - INFO - taking picture
MAIN: 2025-04-14 17:09:06,687 - INFO - we take 1278 photos in this while loop
MAIN: 2025-04-14 17:09:06,687 - INFO - /home/pi/Desktop/images/14042025/17/08/image_14042025_17_09_06_30263.jpg
MAIN: 2025-04-14 17:09:06,687 - INFO - duration: 0.7259582260012394
MAIN: 2025-04-14 17:09:06,688 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/09'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:09:36,635 - INFO - taking picture
MAIN: 2025-04-14 17:09:36,635 - INFO - we take 1279 photos in this while loop
MAIN: 2025-04-14 17:09:36,636 - INFO - /home/pi/Desktop/images/14042025/17/09/image_14042025_17_09_36_29962.jpg
MAIN: 2025-04-14 17:09:36,636 - INFO - duration: 0.7120793060021242
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:10:06,917 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 17:10:07,334 - INFO - taking picture
MAIN: 2025-04-14 17:10:07,335 - INFO - we take 1280 photos in this while loop
MAIN: 2025-04-14 17:10:07,336 - INFO - /home/pi/Desktop/images/14042025/17/09/image_14042025_17_10_06_30684.jpg
MAIN: 2025-04-14 17:10:07,337 - INFO - duration: 0.7286357679986395
MAIN: 2025-04-14 17:10:07,338 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/10'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=83 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:10:37,355 - INFO - taking picture
MAIN: 2025-04-14 17:10:37,355 - INFO - we take 1281 photos in this while loop
MAIN: 2025-04-14 17:10:37,355 - INFO - /home/pi/Desktop/images/14042025/17/10/image_14042025_17_10_36_30070.jpg
MAIN: 2025-04-14 17:10:37,356 - INFO - duration: 0.6772179729960044
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:11:05,486 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=28 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:11:07,450 - INFO - taking picture
MAIN: 2025-04-14 17:11:07,451 - INFO - we take 1282 photos in this while loop
MAIN: 2025-04-14 17:11:07,451 - INFO - /home/pi/Desktop/images/14042025/17/10/image_14042025_17_11_07_30053.jpg
MAIN: 2025-04-14 17:11:07,451 - INFO - duration: 0.7190106990019558
MAIN: 2025-04-14 17:11:07,452 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/11'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=28 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:11:37,426 - INFO - taking picture
MAIN: 2025-04-14 17:11:37,426 - INFO - we take 1283 photos in this while loop
MAIN: 2025-04-14 17:11:37,426 - INFO - /home/pi/Desktop/images/14042025/17/11/image_14042025_17_11_37_29976.jpg
MAIN: 2025-04-14 17:11:37,426 - INFO - duration: 0.7173607459990308
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:12:05,754 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=28 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:12:06,498 - INFO - taking picture
MAIN: 2025-04-14 17:12:06,499 - INFO - we take 1284 photos in this while loop
MAIN: 2025-04-14 17:12:06,499 - INFO - /home/pi/Desktop/images/14042025/17/11/image_14042025_17_12_06_29100.jpg
MAIN: 2025-04-14 17:12:06,499 - INFO - duration: 0.6899108840007102
MAIN: 2025-04-14 17:12:06,500 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/12'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=28 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:12:36,525 - INFO - taking picture
MAIN: 2025-04-14 17:12:36,526 - INFO - we take 1285 photos in this while loop
MAIN: 2025-04-14 17:12:36,526 - INFO - /home/pi/Desktop/images/14042025/17/12/image_14042025_17_12_36_30025.jpg
MAIN: 2025-04-14 17:12:36,526 - INFO - duration: 0.6915986930034705
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:13:05,794 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=28 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:13:06,628 - INFO - taking picture
MAIN: 2025-04-14 17:13:06,628 - INFO - we take 1286 photos in this while loop
MAIN: 2025-04-14 17:13:06,629 - INFO - /home/pi/Desktop/images/14042025/17/12/image_14042025_17_13_06_30131.jpg
MAIN: 2025-04-14 17:13:06,629 - INFO - duration: 0.6627279449967318
MAIN: 2025-04-14 17:13:06,629 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/13'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=28 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:13:36,532 - INFO - taking picture
MAIN: 2025-04-14 17:13:36,533 - INFO - we take 1287 photos in this while loop
MAIN: 2025-04-14 17:13:36,533 - INFO - /home/pi/Desktop/images/14042025/17/13/image_14042025_17_13_36_29848.jpg
MAIN: 2025-04-14 17:13:36,533 - INFO - duration: 0.7183967719975044
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=28 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:14:06,694 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 17:14:06,974 - INFO - taking picture
MAIN: 2025-04-14 17:14:06,974 - INFO - we take 1288 photos in this while loop
MAIN: 2025-04-14 17:14:06,974 - INFO - /home/pi/Desktop/images/14042025/17/13/image_14042025_17_14_06_30431.jpg
MAIN: 2025-04-14 17:14:06,975 - INFO - duration: 0.728694949997589
MAIN: 2025-04-14 17:14:06,975 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/14'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=28 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:14:37,017 - INFO - taking picture
MAIN: 2025-04-14 17:14:37,017 - INFO - we take 1289 photos in this while loop
MAIN: 2025-04-14 17:14:37,018 - INFO - /home/pi/Desktop/images/14042025/17/14/image_14042025_17_14_36_30033.jpg
MAIN: 2025-04-14 17:14:37,018 - INFO - duration: 0.7384353689994896
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:15:06,261 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:15:07,431 - INFO - taking picture
MAIN: 2025-04-14 17:15:07,432 - INFO - we take 1290 photos in this while loop
MAIN: 2025-04-14 17:15:07,432 - INFO - /home/pi/Desktop/images/14042025/17/14/image_14042025_17_15_07_30445.jpg
MAIN: 2025-04-14 17:15:07,432 - INFO - duration: 0.7074448819985264
MAIN: 2025-04-14 17:15:07,432 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/15'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:15:37,435 - INFO - taking picture
MAIN: 2025-04-14 17:15:37,436 - INFO - we take 1291 photos in this while loop
MAIN: 2025-04-14 17:15:37,436 - INFO - /home/pi/Desktop/images/14042025/17/15/image_14042025_17_15_37_29988.jpg
MAIN: 2025-04-14 17:15:37,436 - INFO - duration: 0.7228784800026915
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:16:06,279 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 17:16:06,338 - INFO - taking picture
MAIN: 2025-04-14 17:16:06,339 - INFO - we take 1292 photos in this while loop
MAIN: 2025-04-14 17:16:06,339 - INFO - /home/pi/Desktop/images/14042025/17/15/image_14042025_17_16_05_28917.jpg
MAIN: 2025-04-14 17:16:06,339 - INFO - duration: 0.7087083140067989
MAIN: 2025-04-14 17:16:06,340 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/16'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:16:37,603 - INFO - taking picture
MAIN: 2025-04-14 17:16:37,604 - INFO - we take 1293 photos in this while loop
MAIN: 2025-04-14 17:16:37,604 - INFO - /home/pi/Desktop/images/14042025/17/16/image_14042025_17_16_37_31248.jpg
MAIN: 2025-04-14 17:16:37,604 - INFO - duration: 0.7247524339982192
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:17:05,329 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:17:06,496 - INFO - taking picture
MAIN: 2025-04-14 17:17:06,496 - INFO - we take 1294 photos in this while loop
MAIN: 2025-04-14 17:17:06,496 - INFO - /home/pi/Desktop/images/14042025/17/16/image_14042025_17_17_06_28919.jpg
MAIN: 2025-04-14 17:17:06,497 - INFO - duration: 0.6976250230000005
MAIN: 2025-04-14 17:17:06,497 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/17'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:17:36,432 - INFO - taking picture
MAIN: 2025-04-14 17:17:36,433 - INFO - we take 1295 photos in this while loop
MAIN: 2025-04-14 17:17:36,433 - INFO - /home/pi/Desktop/images/14042025/17/17/image_14042025_17_17_36_29917.jpg
MAIN: 2025-04-14 17:17:36,433 - INFO - duration: 0.7170324250037083
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:18:05,831 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:18:06,599 - INFO - taking picture
MAIN: 2025-04-14 17:18:06,599 - INFO - we take 1296 photos in this while loop
MAIN: 2025-04-14 17:18:06,599 - INFO - /home/pi/Desktop/images/14042025/17/17/image_14042025_17_18_06_30221.jpg
MAIN: 2025-04-14 17:18:06,600 - INFO - duration: 0.6618194280017633
MAIN: 2025-04-14 17:18:06,600 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/18'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:18:36,610 - INFO - taking picture
MAIN: 2025-04-14 17:18:36,610 - INFO - we take 1297 photos in this while loop
MAIN: 2025-04-14 17:18:36,610 - INFO - /home/pi/Desktop/images/14042025/17/18/image_14042025_17_18_36_29957.jpg
MAIN: 2025-04-14 17:18:36,611 - INFO - duration: 0.7147190340037923
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:19:06,268 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:19:06,943 - INFO - taking picture
MAIN: 2025-04-14 17:19:06,943 - INFO - we take 1298 photos in this while loop
MAIN: 2025-04-14 17:19:06,944 - INFO - /home/pi/Desktop/images/14042025/17/18/image_14042025_17_19_06_30324.jpg
MAIN: 2025-04-14 17:19:06,944 - INFO - duration: 0.7230104419941199
MAIN: 2025-04-14 17:19:06,944 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/19'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:19:36,938 - INFO - taking picture
MAIN: 2025-04-14 17:19:36,939 - INFO - we take 1299 photos in this while loop
MAIN: 2025-04-14 17:19:36,939 - INFO - /home/pi/Desktop/images/14042025/17/19/image_14042025_17_19_36_29978.jpg
MAIN: 2025-04-14 17:19:36,939 - INFO - duration: 0.739872739999555
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:20:07,007 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:20:07,619 - INFO - taking picture
MAIN: 2025-04-14 17:20:07,620 - INFO - we take 1300 photos in this while loop
MAIN: 2025-04-14 17:20:07,620 - INFO - /home/pi/Desktop/images/14042025/17/19/image_14042025_17_20_07_30667.jpg
MAIN: 2025-04-14 17:20:07,620 - INFO - duration: 0.7530598270022892
MAIN: 2025-04-14 17:20:07,621 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/20'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:20:36,378 - INFO - taking picture
MAIN: 2025-04-14 17:20:36,379 - INFO - we take 1301 photos in this while loop
MAIN: 2025-04-14 17:20:36,379 - INFO - /home/pi/Desktop/images/14042025/17/20/image_14042025_17_20_35_28782.jpg
MAIN: 2025-04-14 17:20:36,379 - INFO - duration: 0.729428929000278
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:21:06,212 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:21:06,637 - INFO - taking picture
MAIN: 2025-04-14 17:21:06,638 - INFO - we take 1302 photos in this while loop
MAIN: 2025-04-14 17:21:06,638 - INFO - /home/pi/Desktop/images/14042025/17/20/image_14042025_17_21_06_30261.jpg
MAIN: 2025-04-14 17:21:06,638 - INFO - duration: 0.7270747610018589
MAIN: 2025-04-14 17:21:06,639 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/21'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:21:36,593 - INFO - taking picture
MAIN: 2025-04-14 17:21:36,594 - INFO - we take 1303 photos in this while loop
MAIN: 2025-04-14 17:21:36,594 - INFO - /home/pi/Desktop/images/14042025/17/21/image_14042025_17_21_36_29955.jpg
MAIN: 2025-04-14 17:21:36,594 - INFO - duration: 0.7269936129960115
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:22:05,452 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:22:06,896 - INFO - taking picture
MAIN: 2025-04-14 17:22:06,896 - INFO - we take 1304 photos in this while loop
MAIN: 2025-04-14 17:22:06,897 - INFO - /home/pi/Desktop/images/14042025/17/21/image_14042025_17_22_06_30332.jpg
MAIN: 2025-04-14 17:22:06,897 - INFO - duration: 0.697677764997934
MAIN: 2025-04-14 17:22:06,897 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/22'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:22:36,779 - INFO - taking picture
MAIN: 2025-04-14 17:22:36,779 - INFO - we take 1305 photos in this while loop
MAIN: 2025-04-14 17:22:36,779 - INFO - /home/pi/Desktop/images/14042025/17/22/image_14042025_17_22_36_29863.jpg
MAIN: 2025-04-14 17:22:36,780 - INFO - duration: 0.7169191270004376
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:23:05,329 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:23:06,869 - INFO - taking picture
MAIN: 2025-04-14 17:23:06,869 - INFO - we take 1306 photos in this while loop
MAIN: 2025-04-14 17:23:06,869 - INFO - /home/pi/Desktop/images/14042025/17/22/image_14042025_17_23_06_30085.jpg
MAIN: 2025-04-14 17:23:06,870 - INFO - duration: 0.7217991270008497
MAIN: 2025-04-14 17:23:06,870 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/23'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:23:36,797 - INFO - taking picture
MAIN: 2025-04-14 17:23:36,797 - INFO - we take 1307 photos in this while loop
MAIN: 2025-04-14 17:23:36,797 - INFO - /home/pi/Desktop/images/14042025/17/23/image_14042025_17_23_36_29923.jpg
MAIN: 2025-04-14 17:23:36,798 - INFO - duration: 0.7265175139982603
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:24:06,518 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:24:07,024 - INFO - taking picture
MAIN: 2025-04-14 17:24:07,024 - INFO - we take 1308 photos in this while loop
MAIN: 2025-04-14 17:24:07,025 - INFO - /home/pi/Desktop/images/14042025/17/23/image_14042025_17_24_06_30243.jpg
MAIN: 2025-04-14 17:24:07,025 - INFO - duration: 0.709993859003589
MAIN: 2025-04-14 17:24:07,025 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/24'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:24:37,077 - INFO - taking picture
MAIN: 2025-04-14 17:24:37,077 - INFO - we take 1309 photos in this while loop
MAIN: 2025-04-14 17:24:37,078 - INFO - /home/pi/Desktop/images/14042025/17/24/image_14042025_17_24_36_30033.jpg
MAIN: 2025-04-14 17:24:37,078 - INFO - duration: 0.7294686070017633
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:25:06,039 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:25:07,393 - INFO - taking picture
MAIN: 2025-04-14 17:25:07,393 - INFO - we take 1310 photos in this while loop
MAIN: 2025-04-14 17:25:07,394 - INFO - /home/pi/Desktop/images/14042025/17/24/image_14042025_17_25_06_30339.jpg
MAIN: 2025-04-14 17:25:07,394 - INFO - duration: 0.7060981269969488
MAIN: 2025-04-14 17:25:07,394 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/25'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:25:37,377 - INFO - taking picture
MAIN: 2025-04-14 17:25:37,378 - INFO - we take 1311 photos in this while loop
MAIN: 2025-04-14 17:25:37,378 - INFO - /home/pi/Desktop/images/14042025/17/25/image_14042025_17_25_36_29977.jpg
MAIN: 2025-04-14 17:25:37,378 - INFO - duration: 0.7129710450026323
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:26:06,410 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 17:26:06,424 - INFO - taking picture
MAIN: 2025-04-14 17:26:06,425 - INFO - we take 1312 photos in this while loop
MAIN: 2025-04-14 17:26:06,425 - INFO - /home/pi/Desktop/images/14042025/17/25/image_14042025_17_26_06_29049.jpg
MAIN: 2025-04-14 17:26:06,425 - INFO - duration: 0.7110248460012372
MAIN: 2025-04-14 17:26:06,426 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/26'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:26:37,524 - INFO - taking picture
MAIN: 2025-04-14 17:26:37,524 - INFO - we take 1313 photos in this while loop
MAIN: 2025-04-14 17:26:37,525 - INFO - /home/pi/Desktop/images/14042025/17/26/image_14042025_17_26_37_31099.jpg
MAIN: 2025-04-14 17:26:37,525 - INFO - duration: 0.710787189003895
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:27:06,319 - INFO - taking picture
MAIN: 2025-04-14 17:27:06,319 - INFO - we take 1314 photos in this while loop
MAIN: 2025-04-14 17:27:06,319 - INFO - /home/pi/Desktop/images/14042025/17/26/image_14042025_17_27_05_28822.jpg
MAIN: 2025-04-14 17:27:06,320 - INFO - duration: 0.6835898319986882
MAIN: 2025-04-14 17:27:06,320 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/27'
MAIN: 2025-04-14 17:27:06,389 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:27:37,538 - INFO - taking picture
MAIN: 2025-04-14 17:27:37,538 - INFO - we take 1315 photos in this while loop
MAIN: 2025-04-14 17:27:37,538 - INFO - /home/pi/Desktop/images/14042025/17/27/image_14042025_17_27_37_31196.jpg
MAIN: 2025-04-14 17:27:37,538 - INFO - duration: 0.7056655699998373
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:28:06,349 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:28:07,531 - INFO - taking picture
MAIN: 2025-04-14 17:28:07,531 - INFO - we take 1316 photos in this while loop
MAIN: 2025-04-14 17:28:07,531 - INFO - /home/pi/Desktop/images/14042025/17/27/image_14042025_17_28_07_29994.jpg
MAIN: 2025-04-14 17:28:07,532 - INFO - duration: 0.7047249969982659
MAIN: 2025-04-14 17:28:07,532 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/28'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:28:37,544 - INFO - taking picture
MAIN: 2025-04-14 17:28:37,545 - INFO - we take 1317 photos in this while loop
MAIN: 2025-04-14 17:28:37,545 - INFO - /home/pi/Desktop/images/14042025/17/28/image_14042025_17_28_37_29995.jpg
MAIN: 2025-04-14 17:28:37,545 - INFO - duration: 0.7227655759998015
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:29:05,798 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:29:06,453 - INFO - taking picture
MAIN: 2025-04-14 17:29:06,453 - INFO - we take 1318 photos in this while loop
MAIN: 2025-04-14 17:29:06,454 - INFO - /home/pi/Desktop/images/14042025/17/28/image_14042025_17_29_06_28914.jpg
MAIN: 2025-04-14 17:29:06,454 - INFO - duration: 0.7168852600007085
MAIN: 2025-04-14 17:29:06,454 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/29'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:29:36,351 - INFO - taking picture
MAIN: 2025-04-14 17:29:36,352 - INFO - we take 1319 photos in this while loop
MAIN: 2025-04-14 17:29:36,352 - INFO - /home/pi/Desktop/images/14042025/17/29/image_14042025_17_29_35_29929.jpg
MAIN: 2025-04-14 17:29:36,352 - INFO - duration: 0.6858274859987432
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:30:06,670 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 17:30:06,853 - INFO - taking picture
MAIN: 2025-04-14 17:30:06,854 - INFO - we take 1320 photos in this while loop
MAIN: 2025-04-14 17:30:06,854 - INFO - /home/pi/Desktop/images/14042025/17/29/image_14042025_17_30_06_30475.jpg
MAIN: 2025-04-14 17:30:06,854 - INFO - duration: 0.7120630699937465
MAIN: 2025-04-14 17:30:06,854 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/30'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:30:36,598 - INFO - taking picture
MAIN: 2025-04-14 17:30:36,602 - INFO - we take 1321 photos in this while loop
MAIN: 2025-04-14 17:30:36,603 - INFO - /home/pi/Desktop/images/14042025/17/30/image_14042025_17_30_36_29736.jpg
MAIN: 2025-04-14 17:30:36,603 - INFO - duration: 0.724247813996044
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:31:05,980 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:31:06,814 - INFO - taking picture
MAIN: 2025-04-14 17:31:06,815 - INFO - we take 1322 photos in this while loop
MAIN: 2025-04-14 17:31:06,815 - INFO - /home/pi/Desktop/images/14042025/17/30/image_14042025_17_31_06_30273.jpg
MAIN: 2025-04-14 17:31:06,815 - INFO - duration: 0.663399662997108
MAIN: 2025-04-14 17:31:06,816 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/31'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:31:36,809 - INFO - taking picture
MAIN: 2025-04-14 17:31:36,810 - INFO - we take 1323 photos in this while loop
MAIN: 2025-04-14 17:31:36,810 - INFO - /home/pi/Desktop/images/14042025/17/31/image_14042025_17_31_36_29932.jpg
MAIN: 2025-04-14 17:31:36,810 - INFO - duration: 0.725843021995388
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:32:06,555 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:32:07,086 - INFO - taking picture
MAIN: 2025-04-14 17:32:07,086 - INFO - we take 1324 photos in this while loop
MAIN: 2025-04-14 17:32:07,087 - INFO - /home/pi/Desktop/images/14042025/17/31/image_14042025_17_32_06_30271.jpg
MAIN: 2025-04-14 17:32:07,087 - INFO - duration: 0.7308613570057787
MAIN: 2025-04-14 17:32:07,087 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/32'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:32:37,043 - INFO - taking picture
MAIN: 2025-04-14 17:32:37,043 - INFO - we take 1325 photos in this while loop
MAIN: 2025-04-14 17:32:37,043 - INFO - /home/pi/Desktop/images/14042025/17/32/image_14042025_17_32_36_29965.jpg
MAIN: 2025-04-14 17:32:37,044 - INFO - duration: 0.7218201549985679
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:33:05,328 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:33:07,161 - INFO - taking picture
MAIN: 2025-04-14 17:33:07,161 - INFO - we take 1326 photos in this while loop
MAIN: 2025-04-14 17:33:07,162 - INFO - /home/pi/Desktop/images/14042025/17/32/image_14042025_17_33_06_30119.jpg
MAIN: 2025-04-14 17:33:07,162 - INFO - duration: 0.7201509869992151
MAIN: 2025-04-14 17:33:07,162 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/33'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:33:37,033 - INFO - taking picture
MAIN: 2025-04-14 17:33:37,034 - INFO - we take 1327 photos in this while loop
MAIN: 2025-04-14 17:33:37,034 - INFO - /home/pi/Desktop/images/14042025/17/33/image_14042025_17_33_36_29883.jpg
MAIN: 2025-04-14 17:33:37,034 - INFO - duration: 0.70976072299527
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:34:06,335 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 17:34:06,457 - INFO - taking picture
MAIN: 2025-04-14 17:34:06,458 - INFO - we take 1328 photos in this while loop
MAIN: 2025-04-14 17:34:06,458 - INFO - /home/pi/Desktop/images/14042025/17/33/image_14042025_17_34_06_29404.jpg
MAIN: 2025-04-14 17:34:06,459 - INFO - duration: 0.7297183870032313
MAIN: 2025-04-14 17:34:06,459 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/34'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:34:37,602 - INFO - taking picture
MAIN: 2025-04-14 17:34:37,602 - INFO - we take 1329 photos in this while loop
MAIN: 2025-04-14 17:34:37,602 - INFO - /home/pi/Desktop/images/14042025/17/34/image_14042025_17_34_37_31155.jpg
MAIN: 2025-04-14 17:34:37,603 - INFO - duration: 0.7184757770010037
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:35:06,456 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 17:35:06,723 - INFO - taking picture
MAIN: 2025-04-14 17:35:06,724 - INFO - we take 1330 photos in this while loop
MAIN: 2025-04-14 17:35:06,724 - INFO - /home/pi/Desktop/images/14042025/17/34/image_14042025_17_35_06_29120.jpg
MAIN: 2025-04-14 17:35:06,724 - INFO - duration: 0.7200144240050577
MAIN: 2025-04-14 17:35:06,725 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/35'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:35:36,670 - INFO - taking picture
MAIN: 2025-04-14 17:35:36,670 - INFO - we take 1331 photos in this while loop
MAIN: 2025-04-14 17:35:36,671 - INFO - /home/pi/Desktop/images/14042025/17/35/image_14042025_17_35_36_29957.jpg
MAIN: 2025-04-14 17:35:36,671 - INFO - duration: 0.7092627380043268
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:36:06,509 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 17:36:06,848 - INFO - taking picture
MAIN: 2025-04-14 17:36:06,849 - INFO - we take 1332 photos in this while loop
MAIN: 2025-04-14 17:36:06,849 - INFO - /home/pi/Desktop/images/14042025/17/35/image_14042025_17_36_06_30157.jpg
MAIN: 2025-04-14 17:36:06,849 - INFO - duration: 0.72978551700362
MAIN: 2025-04-14 17:36:06,850 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/36'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:36:36,728 - INFO - taking picture
MAIN: 2025-04-14 17:36:36,728 - INFO - we take 1333 photos in this while loop
MAIN: 2025-04-14 17:36:36,728 - INFO - /home/pi/Desktop/images/14042025/17/36/image_14042025_17_36_36_29902.jpg
MAIN: 2025-04-14 17:36:36,729 - INFO - duration: 0.7065750740002841
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
MAIN: 2025-04-14 17:37:06,474 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:37:06,945 - INFO - taking picture
MAIN: 2025-04-14 17:37:06,946 - INFO - we take 1334 photos in this while loop
MAIN: 2025-04-14 17:37:06,946 - INFO - /home/pi/Desktop/images/14042025/17/36/image_14042025_17_37_06_30198.jpg
MAIN: 2025-04-14 17:37:06,946 - INFO - duration: 0.7256567580043338
MAIN: 2025-04-14 17:37:06,946 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/37'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:37:36,723 - INFO - taking picture
MAIN: 2025-04-14 17:37:36,724 - INFO - we take 1335 photos in this while loop
MAIN: 2025-04-14 17:37:36,724 - INFO - /home/pi/Desktop/images/14042025/17/37/image_14042025_17_37_36_29791.jpg
MAIN: 2025-04-14 17:37:36,724 - INFO - duration: 0.7124780300000566
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:38:06,036 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:38:06,922 - INFO - taking picture
MAIN: 2025-04-14 17:38:06,922 - INFO - we take 1336 photos in this while loop
MAIN: 2025-04-14 17:38:06,922 - INFO - /home/pi/Desktop/images/14042025/17/37/image_14042025_17_38_06_30258.jpg
MAIN: 2025-04-14 17:38:06,923 - INFO - duration: 0.6529778459953377
MAIN: 2025-04-14 17:38:06,923 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/38'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:38:36,949 - INFO - taking picture
MAIN: 2025-04-14 17:38:36,950 - INFO - we take 1337 photos in this while loop
MAIN: 2025-04-14 17:38:36,950 - INFO - /home/pi/Desktop/images/14042025/17/38/image_14042025_17_38_36_29959.jpg
MAIN: 2025-04-14 17:38:36,950 - INFO - duration: 0.7203806690013153
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:39:06,081 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:39:07,145 - INFO - taking picture
MAIN: 2025-04-14 17:39:07,146 - INFO - we take 1338 photos in this while loop
MAIN: 2025-04-14 17:39:07,146 - INFO - /home/pi/Desktop/images/14042025/17/38/image_14042025_17_39_06_30262.jpg
MAIN: 2025-04-14 17:39:07,146 - INFO - duration: 0.6539118869986851
MAIN: 2025-04-14 17:39:07,146 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/39'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:39:37,028 - INFO - taking picture
MAIN: 2025-04-14 17:39:37,029 - INFO - we take 1339 photos in this while loop
MAIN: 2025-04-14 17:39:37,029 - INFO - /home/pi/Desktop/images/14042025/17/39/image_14042025_17_39_36_29824.jpg
MAIN: 2025-04-14 17:39:37,029 - INFO - duration: 0.7123372119967826
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:40:06,546 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:40:07,283 - INFO - taking picture
MAIN: 2025-04-14 17:40:07,283 - INFO - we take 1340 photos in this while loop
MAIN: 2025-04-14 17:40:07,284 - INFO - /home/pi/Desktop/images/14042025/17/39/image_14042025_17_40_06_30244.jpg
MAIN: 2025-04-14 17:40:07,284 - INFO - duration: 0.7225876419979613
MAIN: 2025-04-14 17:40:07,284 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/40'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:40:37,175 - INFO - taking picture
MAIN: 2025-04-14 17:40:37,176 - INFO - we take 1341 photos in this while loop
MAIN: 2025-04-14 17:40:37,176 - INFO - /home/pi/Desktop/images/14042025/17/40/image_14042025_17_40_36_29907.jpg
MAIN: 2025-04-14 17:40:37,176 - INFO - duration: 0.7074264059992856
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:41:06,013 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:41:07,193 - INFO - taking picture
MAIN: 2025-04-14 17:41:07,193 - INFO - we take 1342 photos in this while loop
MAIN: 2025-04-14 17:41:07,194 - INFO - /home/pi/Desktop/images/14042025/17/40/image_14042025_17_41_06_30043.jpg
MAIN: 2025-04-14 17:41:07,194 - INFO - duration: 0.6811798039998394
MAIN: 2025-04-14 17:41:07,194 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/41'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:41:37,120 - INFO - taking picture
MAIN: 2025-04-14 17:41:37,121 - INFO - we take 1343 photos in this while loop
MAIN: 2025-04-14 17:41:37,121 - INFO - /home/pi/Desktop/images/14042025/17/41/image_14042025_17_41_36_29883.jpg
MAIN: 2025-04-14 17:41:37,121 - INFO - duration: 0.7247234099995694
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:42:06,347 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:42:07,351 - INFO - taking picture
MAIN: 2025-04-14 17:42:07,351 - INFO - we take 1344 photos in this while loop
MAIN: 2025-04-14 17:42:07,352 - INFO - /home/pi/Desktop/images/14042025/17/41/image_14042025_17_42_06_30303.jpg
MAIN: 2025-04-14 17:42:07,352 - INFO - duration: 0.6515152409992879
MAIN: 2025-04-14 17:42:07,352 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/42'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:42:37,253 - INFO - taking picture
MAIN: 2025-04-14 17:42:37,253 - INFO - we take 1345 photos in this while loop
MAIN: 2025-04-14 17:42:37,253 - INFO - /home/pi/Desktop/images/14042025/17/42/image_14042025_17_42_36_29846.jpg
MAIN: 2025-04-14 17:42:37,254 - INFO - duration: 0.7072471300052712
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:43:06,378 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:43:07,181 - INFO - taking picture
MAIN: 2025-04-14 17:43:07,182 - INFO - we take 1346 photos in this while loop
MAIN: 2025-04-14 17:43:07,182 - INFO - /home/pi/Desktop/images/14042025/17/42/image_14042025_17_43_06_29983.jpg
MAIN: 2025-04-14 17:43:07,182 - INFO - duration: 0.6525843759955023
MAIN: 2025-04-14 17:43:07,183 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/43'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:43:37,054 - INFO - taking picture
MAIN: 2025-04-14 17:43:37,054 - INFO - we take 1347 photos in this while loop
MAIN: 2025-04-14 17:43:37,054 - INFO - /home/pi/Desktop/images/14042025/17/43/image_14042025_17_43_36_29817.jpg
MAIN: 2025-04-14 17:43:37,055 - INFO - duration: 0.7078506909965654
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:44:06,403 - INFO - taking picture
MAIN: 2025-04-14 17:44:06,403 - INFO - we take 1348 photos in this while loop
MAIN: 2025-04-14 17:44:06,404 - INFO - /home/pi/Desktop/images/14042025/17/43/image_14042025_17_44_06_29335.jpg
MAIN: 2025-04-14 17:44:06,404 - INFO - duration: 0.7215183570006047
MAIN: 2025-04-14 17:44:06,404 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/44'
MAIN: 2025-04-14 17:44:06,444 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:44:36,317 - INFO - taking picture
MAIN: 2025-04-14 17:44:36,318 - INFO - we take 1349 photos in this while loop
MAIN: 2025-04-14 17:44:36,318 - INFO - /home/pi/Desktop/images/14042025/17/44/image_14042025_17_44_35_29942.jpg
MAIN: 2025-04-14 17:44:36,318 - INFO - duration: 0.6934747699997388
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:45:06,201 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:45:06,683 - INFO - taking picture
MAIN: 2025-04-14 17:45:06,684 - INFO - we take 1350 photos in this while loop
MAIN: 2025-04-14 17:45:06,684 - INFO - /home/pi/Desktop/images/14042025/17/44/image_14042025_17_45_06_30336.jpg
MAIN: 2025-04-14 17:45:06,685 - INFO - duration: 0.7234269160035183
MAIN: 2025-04-14 17:45:06,685 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/45'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:45:36,566 - INFO - taking picture
MAIN: 2025-04-14 17:45:36,566 - INFO - we take 1351 photos in this while loop
MAIN: 2025-04-14 17:45:36,566 - INFO - /home/pi/Desktop/images/14042025/17/45/image_14042025_17_45_36_29883.jpg
MAIN: 2025-04-14 17:45:36,567 - INFO - duration: 0.722193382003752
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:46:06,042 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:46:06,753 - INFO - taking picture
MAIN: 2025-04-14 17:46:06,753 - INFO - we take 1352 photos in this while loop
MAIN: 2025-04-14 17:46:06,754 - INFO - /home/pi/Desktop/images/14042025/17/45/image_14042025_17_46_06_30199.jpg
MAIN: 2025-04-14 17:46:06,754 - INFO - duration: 0.7102358869960881
MAIN: 2025-04-14 17:46:06,754 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/46'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:46:36,566 - INFO - taking picture
MAIN: 2025-04-14 17:46:36,566 - INFO - we take 1353 photos in this while loop
MAIN: 2025-04-14 17:46:36,566 - INFO - /home/pi/Desktop/images/14042025/17/46/image_14042025_17_46_36_29841.jpg
MAIN: 2025-04-14 17:46:36,567 - INFO - duration: 0.6816581290040631
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:47:05,969 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:47:06,553 - INFO - taking picture
MAIN: 2025-04-14 17:47:06,553 - INFO - we take 1354 photos in this while loop
MAIN: 2025-04-14 17:47:06,553 - INFO - /home/pi/Desktop/images/14042025/17/46/image_14042025_17_47_06_29969.jpg
MAIN: 2025-04-14 17:47:06,554 - INFO - duration: 0.699244440998882
MAIN: 2025-04-14 17:47:06,554 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/47'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:47:36,330 - INFO - taking picture
MAIN: 2025-04-14 17:47:36,331 - INFO - we take 1355 photos in this while loop
MAIN: 2025-04-14 17:47:36,331 - INFO - /home/pi/Desktop/images/14042025/17/47/image_14042025_17_47_35_29791.jpg
MAIN: 2025-04-14 17:47:36,331 - INFO - duration: 0.6850105890043778
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:48:06,353 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 17:48:06,505 - INFO - taking picture
MAIN: 2025-04-14 17:48:06,506 - INFO - we take 1356 photos in this while loop
MAIN: 2025-04-14 17:48:06,506 - INFO - /home/pi/Desktop/images/14042025/17/47/image_14042025_17_48_06_30149.jpg
MAIN: 2025-04-14 17:48:06,506 - INFO - duration: 0.7111275269999169
MAIN: 2025-04-14 17:48:06,507 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/48'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:48:37,516 - INFO - taking picture
MAIN: 2025-04-14 17:48:37,517 - INFO - we take 1357 photos in this while loop
MAIN: 2025-04-14 17:48:37,517 - INFO - /home/pi/Desktop/images/14042025/17/48/image_14042025_17_48_37_31014.jpg
MAIN: 2025-04-14 17:48:37,517 - INFO - duration: 0.7074768020029296
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:49:05,612 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:49:06,359 - INFO - taking picture
MAIN: 2025-04-14 17:49:06,360 - INFO - we take 1358 photos in this while loop
MAIN: 2025-04-14 17:49:06,360 - INFO - /home/pi/Desktop/images/14042025/17/48/image_14042025_17_49_05_28878.jpg
MAIN: 2025-04-14 17:49:06,360 - INFO - duration: 0.6716574250021949
MAIN: 2025-04-14 17:49:06,360 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/49'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:49:37,438 - INFO - taking picture
MAIN: 2025-04-14 17:49:37,438 - INFO - we take 1359 photos in this while loop
MAIN: 2025-04-14 17:49:37,439 - INFO - /home/pi/Desktop/images/14042025/17/49/image_14042025_17_49_37_31036.jpg
MAIN: 2025-04-14 17:49:37,439 - INFO - duration: 0.7136554070020793
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:50:06,179 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:50:06,687 - INFO - taking picture
MAIN: 2025-04-14 17:50:06,688 - INFO - we take 1360 photos in this while loop
MAIN: 2025-04-14 17:50:06,689 - INFO - /home/pi/Desktop/images/14042025/17/49/image_14042025_17_50_06_29240.jpg
MAIN: 2025-04-14 17:50:06,689 - INFO - duration: 0.7231080170022324
MAIN: 2025-04-14 17:50:06,689 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/50'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:50:36,491 - INFO - taking picture
MAIN: 2025-04-14 17:50:36,492 - INFO - we take 1361 photos in this while loop
MAIN: 2025-04-14 17:50:36,492 - INFO - /home/pi/Desktop/images/14042025/17/50/image_14042025_17_50_36_29820.jpg
MAIN: 2025-04-14 17:50:36,492 - INFO - duration: 0.7063567160003004
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:51:05,775 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:51:06,486 - INFO - taking picture
MAIN: 2025-04-14 17:51:06,487 - INFO - we take 1362 photos in this while loop
MAIN: 2025-04-14 17:51:06,487 - INFO - /home/pi/Desktop/images/14042025/17/50/image_14042025_17_51_06_29974.jpg
MAIN: 2025-04-14 17:51:06,488 - INFO - duration: 0.7267006830006721
MAIN: 2025-04-14 17:51:06,488 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/51'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:51:36,452 - INFO - taking picture
MAIN: 2025-04-14 17:51:36,452 - INFO - we take 1363 photos in this while loop
MAIN: 2025-04-14 17:51:36,453 - INFO - /home/pi/Desktop/images/14042025/17/51/image_14042025_17_51_36_29967.jpg
MAIN: 2025-04-14 17:51:36,453 - INFO - duration: 0.724489904998336
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:52:06,549 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 17:52:06,752 - INFO - taking picture
MAIN: 2025-04-14 17:52:06,752 - INFO - we take 1364 photos in this while loop
MAIN: 2025-04-14 17:52:06,752 - INFO - /home/pi/Desktop/images/14042025/17/51/image_14042025_17_52_06_30311.jpg
MAIN: 2025-04-14 17:52:06,753 - INFO - duration: 0.7125912600022275
MAIN: 2025-04-14 17:52:06,753 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/52'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:52:36,587 - INFO - taking picture
MAIN: 2025-04-14 17:52:36,587 - INFO - we take 1365 photos in this while loop
MAIN: 2025-04-14 17:52:36,587 - INFO - /home/pi/Desktop/images/14042025/17/52/image_14042025_17_52_36_29827.jpg
MAIN: 2025-04-14 17:52:36,588 - INFO - duration: 0.7199659010002506
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:53:06,385 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:53:06,856 - INFO - taking picture
MAIN: 2025-04-14 17:53:06,857 - INFO - we take 1366 photos in this while loop
MAIN: 2025-04-14 17:53:06,857 - INFO - /home/pi/Desktop/images/14042025/17/52/image_14042025_17_53_06_30290.jpg
MAIN: 2025-04-14 17:53:06,857 - INFO - duration: 0.6985533990009571
MAIN: 2025-04-14 17:53:06,857 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/53'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:53:36,703 - INFO - taking picture
MAIN: 2025-04-14 17:53:36,704 - INFO - we take 1367 photos in this while loop
MAIN: 2025-04-14 17:53:36,704 - INFO - /home/pi/Desktop/images/14042025/17/53/image_14042025_17_53_36_29840.jpg
MAIN: 2025-04-14 17:53:36,704 - INFO - duration: 0.7054490279988386
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:54:06,147 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:54:06,708 - INFO - taking picture
MAIN: 2025-04-14 17:54:06,708 - INFO - we take 1368 photos in this while loop
MAIN: 2025-04-14 17:54:06,709 - INFO - /home/pi/Desktop/images/14042025/17/53/image_14042025_17_54_06_30048.jpg
MAIN: 2025-04-14 17:54:06,709 - INFO - duration: 0.6612664679996669
MAIN: 2025-04-14 17:54:06,709 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/54'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:54:36,669 - INFO - taking picture
MAIN: 2025-04-14 17:54:36,670 - INFO - we take 1369 photos in this while loop
MAIN: 2025-04-14 17:54:36,670 - INFO - /home/pi/Desktop/images/14042025/17/54/image_14042025_17_54_36_29930.jpg
MAIN: 2025-04-14 17:54:36,670 - INFO - duration: 0.6923680929976399
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:55:06,189 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:55:06,903 - INFO - taking picture
MAIN: 2025-04-14 17:55:06,904 - INFO - we take 1370 photos in this while loop
MAIN: 2025-04-14 17:55:06,904 - INFO - /home/pi/Desktop/images/14042025/17/54/image_14042025_17_55_06_30209.jpg
MAIN: 2025-04-14 17:55:06,905 - INFO - duration: 0.7172588829998858
MAIN: 2025-04-14 17:55:06,906 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/55'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:55:36,744 - INFO - taking picture
MAIN: 2025-04-14 17:55:36,744 - INFO - we take 1371 photos in this while loop
MAIN: 2025-04-14 17:55:36,744 - INFO - /home/pi/Desktop/images/14042025/17/55/image_14042025_17_55_36_29851.jpg
MAIN: 2025-04-14 17:55:36,745 - INFO - duration: 0.7053049759997521
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:56:06,282 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:56:06,884 - INFO - taking picture
MAIN: 2025-04-14 17:56:06,885 - INFO - we take 1372 photos in this while loop
MAIN: 2025-04-14 17:56:06,885 - INFO - /home/pi/Desktop/images/14042025/17/55/image_14042025_17_56_06_30127.jpg
MAIN: 2025-04-14 17:56:06,885 - INFO - duration: 0.7187852940041921
MAIN: 2025-04-14 17:56:06,886 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/56'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:56:36,751 - INFO - taking picture
MAIN: 2025-04-14 17:56:36,751 - INFO - we take 1373 photos in this while loop
MAIN: 2025-04-14 17:56:36,751 - INFO - /home/pi/Desktop/images/14042025/17/56/image_14042025_17_56_36_29885.jpg
MAIN: 2025-04-14 17:56:36,752 - INFO - duration: 0.6995812290042522
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:57:06,282 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:57:06,926 - INFO - taking picture
MAIN: 2025-04-14 17:57:06,926 - INFO - we take 1374 photos in this while loop
MAIN: 2025-04-14 17:57:06,926 - INFO - /home/pi/Desktop/images/14042025/17/56/image_14042025_17_57_06_30155.jpg
MAIN: 2025-04-14 17:57:06,926 - INFO - duration: 0.7185360790026607
MAIN: 2025-04-14 17:57:06,927 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/57'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:57:36,788 - INFO - taking picture
MAIN: 2025-04-14 17:57:36,788 - INFO - we take 1375 photos in this while loop
MAIN: 2025-04-14 17:57:36,788 - INFO - /home/pi/Desktop/images/14042025/17/57/image_14042025_17_57_36_29866.jpg
MAIN: 2025-04-14 17:57:36,789 - INFO - duration: 0.7138682669974514
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:58:06,570 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 17:58:06,932 - INFO - taking picture
MAIN: 2025-04-14 17:58:06,933 - INFO - we take 1376 photos in this while loop
MAIN: 2025-04-14 17:58:06,933 - INFO - /home/pi/Desktop/images/14042025/17/57/image_14042025_17_58_06_30183.jpg
MAIN: 2025-04-14 17:58:06,933 - INFO - duration: 0.6744661230040947
MAIN: 2025-04-14 17:58:06,934 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/58'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:58:36,738 - INFO - taking picture
MAIN: 2025-04-14 17:58:36,739 - INFO - we take 1377 photos in this while loop
MAIN: 2025-04-14 17:58:36,739 - INFO - /home/pi/Desktop/images/14042025/17/58/image_14042025_17_58_36_29790.jpg
MAIN: 2025-04-14 17:58:36,739 - INFO - duration: 0.6907538369996473
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 17:59:05,787 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:59:06,747 - INFO - taking picture
MAIN: 2025-04-14 17:59:06,748 - INFO - we take 1378 photos in this while loop
MAIN: 2025-04-14 17:59:06,748 - INFO - /home/pi/Desktop/images/14042025/17/58/image_14042025_17_59_06_30021.jpg
MAIN: 2025-04-14 17:59:06,748 - INFO - duration: 0.6779009700039751
MAIN: 2025-04-14 17:59:06,749 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/17/59'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 17:59:36,588 - INFO - taking picture
MAIN: 2025-04-14 17:59:36,589 - INFO - we take 1379 photos in this while loop
MAIN: 2025-04-14 17:59:36,589 - INFO - /home/pi/Desktop/images/14042025/17/59/image_14042025_17_59_36_29825.jpg
MAIN: 2025-04-14 17:59:36,589 - INFO - duration: 0.6933285289997002
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:00:06,572 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:00:07,003 - INFO - taking picture
MAIN: 2025-04-14 18:00:07,004 - INFO - we take 1380 photos in this while loop
MAIN: 2025-04-14 18:00:07,004 - INFO - /home/pi/Desktop/images/14042025/17/59/image_14042025_18_00_06_30404.jpg
MAIN: 2025-04-14 18:00:07,004 - INFO - duration: 0.7041534810050507
MAIN: 2025-04-14 18:00:07,005 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/00'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:00:36,546 - INFO - taking picture
MAIN: 2025-04-14 18:00:36,547 - INFO - we take 1381 photos in this while loop
MAIN: 2025-04-14 18:00:36,547 - INFO - /home/pi/Desktop/images/14042025/18/00/image_14042025_18_00_36_29533.jpg
MAIN: 2025-04-14 18:00:36,547 - INFO - duration: 0.7131675989949144
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:01:06,491 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 18:01:06,816 - INFO - taking picture
MAIN: 2025-04-14 18:01:06,816 - INFO - we take 1382 photos in this while loop
MAIN: 2025-04-14 18:01:06,816 - INFO - /home/pi/Desktop/images/14042025/18/00/image_14042025_18_01_06_30261.jpg
MAIN: 2025-04-14 18:01:06,817 - INFO - duration: 0.7215849470012472
MAIN: 2025-04-14 18:01:06,817 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/01'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:01:36,598 - INFO - taking picture
MAIN: 2025-04-14 18:01:36,598 - INFO - we take 1383 photos in this while loop
MAIN: 2025-04-14 18:01:36,598 - INFO - /home/pi/Desktop/images/14042025/18/01/image_14042025_18_01_36_29801.jpg
MAIN: 2025-04-14 18:01:36,599 - INFO - duration: 0.701782494004874
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:02:05,719 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:02:06,471 - INFO - taking picture
MAIN: 2025-04-14 18:02:06,472 - INFO - we take 1384 photos in this while loop
MAIN: 2025-04-14 18:02:06,472 - INFO - /home/pi/Desktop/images/14042025/18/01/image_14042025_18_02_06_29902.jpg
MAIN: 2025-04-14 18:02:06,472 - INFO - duration: 0.6732553510009893
MAIN: 2025-04-14 18:02:06,473 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/02'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:02:37,604 - INFO - taking picture
MAIN: 2025-04-14 18:02:37,605 - INFO - we take 1385 photos in this while loop
MAIN: 2025-04-14 18:02:37,605 - INFO - /home/pi/Desktop/images/14042025/18/02/image_14042025_18_02_37_31097.jpg
MAIN: 2025-04-14 18:02:37,605 - INFO - duration: 0.7084726539978874
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:03:05,703 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:03:06,345 - INFO - taking picture
MAIN: 2025-04-14 18:03:06,346 - INFO - we take 1386 photos in this while loop
MAIN: 2025-04-14 18:03:06,346 - INFO - /home/pi/Desktop/images/14042025/18/02/image_14042025_18_03_05_28736.jpg
MAIN: 2025-04-14 18:03:06,346 - INFO - duration: 0.7136291679998976
MAIN: 2025-04-14 18:03:06,347 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/03'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:03:37,507 - INFO - taking picture
MAIN: 2025-04-14 18:03:37,508 - INFO - we take 1387 photos in this while loop
MAIN: 2025-04-14 18:03:37,508 - INFO - /home/pi/Desktop/images/14042025/18/03/image_14042025_18_03_37_31175.jpg
MAIN: 2025-04-14 18:03:37,508 - INFO - duration: 0.6999154139994062
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:04:06,636 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 18:04:06,643 - INFO - taking picture
MAIN: 2025-04-14 18:04:06,644 - INFO - we take 1388 photos in this while loop
MAIN: 2025-04-14 18:04:06,644 - INFO - /home/pi/Desktop/images/14042025/18/03/image_14042025_18_04_06_29124.jpg
MAIN: 2025-04-14 18:04:06,644 - INFO - duration: 0.7122794810056803
MAIN: 2025-04-14 18:04:06,645 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/04'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:04:36,327 - INFO - taking picture
MAIN: 2025-04-14 18:04:36,328 - INFO - we take 1389 photos in this while loop
MAIN: 2025-04-14 18:04:36,328 - INFO - /home/pi/Desktop/images/14042025/18/04/image_14042025_18_04_35_29730.jpg
MAIN: 2025-04-14 18:04:36,328 - INFO - duration: 0.6657921759979217
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:05:06,561 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 18:05:06,769 - INFO - taking picture
MAIN: 2025-04-14 18:05:06,769 - INFO - we take 1390 photos in this while loop
MAIN: 2025-04-14 18:05:06,770 - INFO - /home/pi/Desktop/images/14042025/18/04/image_14042025_18_05_06_30389.jpg
MAIN: 2025-04-14 18:05:06,770 - INFO - duration: 0.7180793799998355
MAIN: 2025-04-14 18:05:06,771 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/05'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:05:36,560 - INFO - taking picture
MAIN: 2025-04-14 18:05:36,560 - INFO - we take 1391 photos in this while loop
MAIN: 2025-04-14 18:05:36,561 - INFO - /home/pi/Desktop/images/14042025/18/05/image_14042025_18_05_36_29848.jpg
MAIN: 2025-04-14 18:05:36,561 - INFO - duration: 0.660236759998952
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:06:05,447 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:06:06,800 - INFO - taking picture
MAIN: 2025-04-14 18:06:06,801 - INFO - we take 1392 photos in this while loop
MAIN: 2025-04-14 18:06:06,801 - INFO - /home/pi/Desktop/images/14042025/18/05/image_14042025_18_06_06_30213.jpg
MAIN: 2025-04-14 18:06:06,801 - INFO - duration: 0.6871230179967824
MAIN: 2025-04-14 18:06:06,802 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/06'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:06:36,759 - INFO - taking picture
MAIN: 2025-04-14 18:06:36,759 - INFO - we take 1393 photos in this while loop
MAIN: 2025-04-14 18:06:36,759 - INFO - /home/pi/Desktop/images/14042025/18/06/image_14042025_18_06_36_29949.jpg
MAIN: 2025-04-14 18:06:36,760 - INFO - duration: 0.6959439589991234
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:07:05,439 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:07:07,022 - INFO - taking picture
MAIN: 2025-04-14 18:07:07,022 - INFO - we take 1394 photos in this while loop
MAIN: 2025-04-14 18:07:07,022 - INFO - /home/pi/Desktop/images/14042025/18/06/image_14042025_18_07_06_30246.jpg
MAIN: 2025-04-14 18:07:07,023 - INFO - duration: 0.7125651099995594
MAIN: 2025-04-14 18:07:07,023 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/07'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:07:36,884 - INFO - taking picture
MAIN: 2025-04-14 18:07:36,885 - INFO - we take 1395 photos in this while loop
MAIN: 2025-04-14 18:07:36,885 - INFO - /home/pi/Desktop/images/14042025/18/07/image_14042025_18_07_36_29894.jpg
MAIN: 2025-04-14 18:07:36,885 - INFO - duration: 0.6807635910008685
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:08:05,946 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:08:06,895 - INFO - taking picture
MAIN: 2025-04-14 18:08:06,896 - INFO - we take 1396 photos in this while loop
MAIN: 2025-04-14 18:08:06,896 - INFO - /home/pi/Desktop/images/14042025/18/07/image_14042025_18_08_06_30012.jpg
MAIN: 2025-04-14 18:08:06,896 - INFO - duration: 0.6793308830019669
MAIN: 2025-04-14 18:08:06,897 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/08'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:08:36,740 - INFO - taking picture
MAIN: 2025-04-14 18:08:36,740 - INFO - we take 1397 photos in this while loop
MAIN: 2025-04-14 18:08:36,741 - INFO - /home/pi/Desktop/images/14042025/18/08/image_14042025_18_08_36_29813.jpg
MAIN: 2025-04-14 18:08:36,741 - INFO - duration: 0.7106521950045135
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:09:06,075 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:09:06,992 - INFO - taking picture
MAIN: 2025-04-14 18:09:06,992 - INFO - we take 1398 photos in this while loop
MAIN: 2025-04-14 18:09:06,993 - INFO - /home/pi/Desktop/images/14042025/18/08/image_14042025_18_09_06_30301.jpg
MAIN: 2025-04-14 18:09:06,993 - INFO - duration: 0.6617046280007344
MAIN: 2025-04-14 18:09:06,993 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/09'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:09:36,931 - INFO - taking picture
MAIN: 2025-04-14 18:09:36,931 - INFO - we take 1399 photos in this while loop
MAIN: 2025-04-14 18:09:36,932 - INFO - /home/pi/Desktop/images/14042025/18/09/image_14042025_18_09_36_29872.jpg
MAIN: 2025-04-14 18:09:36,932 - INFO - duration: 0.7285440760024358
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:10:06,834 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:10:07,333 - INFO - taking picture
MAIN: 2025-04-14 18:10:07,333 - INFO - we take 1400 photos in this while loop
MAIN: 2025-04-14 18:10:07,334 - INFO - /home/pi/Desktop/images/14042025/18/09/image_14042025_18_10_06_30363.jpg
MAIN: 2025-04-14 18:10:07,334 - INFO - duration: 0.7675632419995964
MAIN: 2025-04-14 18:10:07,334 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/10'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:10:37,210 - INFO - taking picture
MAIN: 2025-04-14 18:10:37,210 - INFO - we take 1401 photos in this while loop
MAIN: 2025-04-14 18:10:37,210 - INFO - /home/pi/Desktop/images/14042025/18/10/image_14042025_18_10_36_29992.jpg
MAIN: 2025-04-14 18:10:37,211 - INFO - duration: 0.6518966599978739
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:11:05,947 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:11:07,239 - INFO - taking picture
MAIN: 2025-04-14 18:11:07,240 - INFO - we take 1402 photos in this while loop
MAIN: 2025-04-14 18:11:07,240 - INFO - /home/pi/Desktop/images/14042025/18/10/image_14042025_18_11_06_29996.jpg
MAIN: 2025-04-14 18:11:07,240 - INFO - duration: 0.685571877998882
MAIN: 2025-04-14 18:11:07,241 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/11'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:11:37,156 - INFO - taking picture
MAIN: 2025-04-14 18:11:37,156 - INFO - we take 1403 photos in this while loop
MAIN: 2025-04-14 18:11:37,157 - INFO - /home/pi/Desktop/images/14042025/18/11/image_14042025_18_11_36_29913.jpg
MAIN: 2025-04-14 18:11:37,157 - INFO - duration: 0.6882034860027488
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:12:06,289 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:12:07,350 - INFO - taking picture
MAIN: 2025-04-14 18:12:07,351 - INFO - we take 1404 photos in this while loop
MAIN: 2025-04-14 18:12:07,351 - INFO - /home/pi/Desktop/images/14042025/18/11/image_14042025_18_12_06_30165.jpg
MAIN: 2025-04-14 18:12:07,351 - INFO - duration: 0.7170339629956288
MAIN: 2025-04-14 18:12:07,352 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/12'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:12:37,322 - INFO - taking picture
MAIN: 2025-04-14 18:12:37,322 - INFO - we take 1405 photos in this while loop
MAIN: 2025-04-14 18:12:37,323 - INFO - /home/pi/Desktop/images/14042025/18/12/image_14042025_18_12_36_29981.jpg
MAIN: 2025-04-14 18:12:37,323 - INFO - duration: 0.7067956699975184
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:13:05,219 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:13:07,294 - INFO - taking picture
MAIN: 2025-04-14 18:13:07,295 - INFO - we take 1406 photos in this while loop
MAIN: 2025-04-14 18:13:07,295 - INFO - /home/pi/Desktop/images/14042025/18/12/image_14042025_18_13_06_29960.jpg
MAIN: 2025-04-14 18:13:07,295 - INFO - duration: 0.718643742002314
MAIN: 2025-04-14 18:13:07,295 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/13'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:13:37,170 - INFO - taking picture
MAIN: 2025-04-14 18:13:37,171 - INFO - we take 1407 photos in this while loop
MAIN: 2025-04-14 18:13:37,171 - INFO - /home/pi/Desktop/images/14042025/18/13/image_14042025_18_13_36_29889.jpg
MAIN: 2025-04-14 18:13:37,171 - INFO - duration: 0.7053659160010284
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:14:06,202 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:14:07,226 - INFO - taking picture
MAIN: 2025-04-14 18:14:07,227 - INFO - we take 1408 photos in this while loop
MAIN: 2025-04-14 18:14:07,227 - INFO - /home/pi/Desktop/images/14042025/18/13/image_14042025_18_14_06_30102.jpg
MAIN: 2025-04-14 18:14:07,227 - INFO - duration: 0.6593413049995434
MAIN: 2025-04-14 18:14:07,228 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/14'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:14:37,088 - INFO - taking picture
MAIN: 2025-04-14 18:14:37,088 - INFO - we take 1409 photos in this while loop
MAIN: 2025-04-14 18:14:37,089 - INFO - /home/pi/Desktop/images/14042025/18/14/image_14042025_18_14_36_29807.jpg
MAIN: 2025-04-14 18:14:37,089 - INFO - duration: 0.7130433559941594
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:15:06,247 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:15:07,194 - INFO - taking picture
MAIN: 2025-04-14 18:15:07,194 - INFO - we take 1410 photos in this while loop
MAIN: 2025-04-14 18:15:07,195 - INFO - /home/pi/Desktop/images/14042025/18/14/image_14042025_18_15_06_30120.jpg
MAIN: 2025-04-14 18:15:07,195 - INFO - duration: 0.6986711049976293
MAIN: 2025-04-14 18:15:07,195 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/15'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:15:37,068 - INFO - taking picture
MAIN: 2025-04-14 18:15:37,068 - INFO - we take 1411 photos in this while loop
MAIN: 2025-04-14 18:15:37,069 - INFO - /home/pi/Desktop/images/14042025/18/15/image_14042025_18_15_36_29855.jpg
MAIN: 2025-04-14 18:15:37,069 - INFO - duration: 0.717206785993767
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:16:06,272 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:16:07,129 - INFO - taking picture
MAIN: 2025-04-14 18:16:07,129 - INFO - we take 1412 photos in this while loop
MAIN: 2025-04-14 18:16:07,130 - INFO - /home/pi/Desktop/images/14042025/18/15/image_14042025_18_16_06_30102.jpg
MAIN: 2025-04-14 18:16:07,130 - INFO - duration: 0.6756973360024858
MAIN: 2025-04-14 18:16:07,130 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/16'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:16:36,990 - INFO - taking picture
MAIN: 2025-04-14 18:16:36,991 - INFO - we take 1413 photos in this while loop
MAIN: 2025-04-14 18:16:36,991 - INFO - /home/pi/Desktop/images/14042025/18/16/image_14042025_18_16_36_29817.jpg
MAIN: 2025-04-14 18:16:36,991 - INFO - duration: 0.7193458929978078
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:17:06,166 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:17:07,049 - INFO - taking picture
MAIN: 2025-04-14 18:17:07,049 - INFO - we take 1414 photos in this while loop
MAIN: 2025-04-14 18:17:07,049 - INFO - /home/pi/Desktop/images/14042025/18/16/image_14042025_18_17_06_30118.jpg
MAIN: 2025-04-14 18:17:07,050 - INFO - duration: 0.6590524760031258
MAIN: 2025-04-14 18:17:07,050 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/17'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:17:36,860 - INFO - taking picture
MAIN: 2025-04-14 18:17:36,861 - INFO - we take 1415 photos in this while loop
MAIN: 2025-04-14 18:17:36,861 - INFO - /home/pi/Desktop/images/14042025/18/17/image_14042025_18_17_36_29809.jpg
MAIN: 2025-04-14 18:17:36,861 - INFO - duration: 0.660805703002552
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:18:05,635 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:18:06,925 - INFO - taking picture
MAIN: 2025-04-14 18:18:06,925 - INFO - we take 1416 photos in this while loop
MAIN: 2025-04-14 18:18:06,925 - INFO - /home/pi/Desktop/images/14042025/18/17/image_14042025_18_18_06_30075.jpg
MAIN: 2025-04-14 18:18:06,926 - INFO - duration: 0.6500842890018248
MAIN: 2025-04-14 18:18:06,926 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/18'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:18:36,831 - INFO - taking picture
MAIN: 2025-04-14 18:18:36,832 - INFO - we take 1417 photos in this while loop
MAIN: 2025-04-14 18:18:36,832 - INFO - /home/pi/Desktop/images/14042025/18/18/image_14042025_18_18_36_29855.jpg
MAIN: 2025-04-14 18:18:36,832 - INFO - duration: 0.7009886829982861
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:19:05,816 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:19:06,799 - INFO - taking picture
MAIN: 2025-04-14 18:19:06,799 - INFO - we take 1418 photos in this while loop
MAIN: 2025-04-14 18:19:06,799 - INFO - /home/pi/Desktop/images/14042025/18/18/image_14042025_18_19_06_30020.jpg
MAIN: 2025-04-14 18:19:06,800 - INFO - duration: 0.6477964689984219
MAIN: 2025-04-14 18:19:06,800 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/19'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:19:36,710 - INFO - taking picture
MAIN: 2025-04-14 18:19:36,710 - INFO - we take 1419 photos in this while loop
MAIN: 2025-04-14 18:19:36,711 - INFO - /home/pi/Desktop/images/14042025/18/19/image_14042025_18_19_36_29877.jpg
MAIN: 2025-04-14 18:19:36,711 - INFO - duration: 0.6816899180048495
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:20:06,606 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 18:20:06,878 - INFO - taking picture
MAIN: 2025-04-14 18:20:06,878 - INFO - we take 1420 photos in this while loop
MAIN: 2025-04-14 18:20:06,878 - INFO - /home/pi/Desktop/images/14042025/18/19/image_14042025_18_20_06_30130.jpg
MAIN: 2025-04-14 18:20:06,879 - INFO - duration: 0.7193641500052763
MAIN: 2025-04-14 18:20:06,879 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/20'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:20:36,792 - INFO - taking picture
MAIN: 2025-04-14 18:20:36,792 - INFO - we take 1421 photos in this while loop
MAIN: 2025-04-14 18:20:36,792 - INFO - /home/pi/Desktop/images/14042025/18/20/image_14042025_18_20_36_29919.jpg
MAIN: 2025-04-14 18:20:36,793 - INFO - duration: 0.7140079470045748
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:21:06,021 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:21:06,877 - INFO - taking picture
MAIN: 2025-04-14 18:21:06,877 - INFO - we take 1422 photos in this while loop
MAIN: 2025-04-14 18:21:06,878 - INFO - /home/pi/Desktop/images/14042025/18/20/image_14042025_18_21_06_30141.jpg
MAIN: 2025-04-14 18:21:06,878 - INFO - duration: 0.6578010980010731
MAIN: 2025-04-14 18:21:06,878 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/21'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:21:36,519 - INFO - taking picture
MAIN: 2025-04-14 18:21:36,520 - INFO - we take 1423 photos in this while loop
MAIN: 2025-04-14 18:21:36,520 - INFO - /home/pi/Desktop/images/14042025/18/21/image_14042025_18_21_36_29594.jpg
MAIN: 2025-04-14 18:21:36,520 - INFO - duration: 0.7055498129993794
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:22:06,572 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 18:22:06,873 - INFO - taking picture
MAIN: 2025-04-14 18:22:06,874 - INFO - we take 1424 photos in this while loop
MAIN: 2025-04-14 18:22:06,874 - INFO - /home/pi/Desktop/images/14042025/18/21/image_14042025_18_22_06_30334.jpg
MAIN: 2025-04-14 18:22:06,874 - INFO - duration: 0.7252784129959764
MAIN: 2025-04-14 18:22:06,874 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/22'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:22:36,731 - INFO - taking picture
MAIN: 2025-04-14 18:22:36,732 - INFO - we take 1425 photos in this while loop
MAIN: 2025-04-14 18:22:36,732 - INFO - /home/pi/Desktop/images/14042025/18/22/image_14042025_18_22_36_29855.jpg
MAIN: 2025-04-14 18:22:36,733 - INFO - duration: 0.7280178379951394
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:23:05,245 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:23:06,746 - INFO - taking picture
MAIN: 2025-04-14 18:23:06,747 - INFO - we take 1426 photos in this while loop
MAIN: 2025-04-14 18:23:06,747 - INFO - /home/pi/Desktop/images/14042025/18/22/image_14042025_18_23_06_30037.jpg
MAIN: 2025-04-14 18:23:06,747 - INFO - duration: 0.7051815779996105
MAIN: 2025-04-14 18:23:06,747 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/23'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:23:36,537 - INFO - taking picture
MAIN: 2025-04-14 18:23:36,537 - INFO - we take 1427 photos in this while loop
MAIN: 2025-04-14 18:23:36,537 - INFO - /home/pi/Desktop/images/14042025/18/23/image_14042025_18_23_36_29787.jpg
MAIN: 2025-04-14 18:23:36,538 - INFO - duration: 0.7084703270011232
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:24:06,044 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:24:06,779 - INFO - taking picture
MAIN: 2025-04-14 18:24:06,780 - INFO - we take 1428 photos in this while loop
MAIN: 2025-04-14 18:24:06,780 - INFO - /home/pi/Desktop/images/14042025/18/23/image_14042025_18_24_06_30276.jpg
MAIN: 2025-04-14 18:24:06,780 - INFO - duration: 0.6743919790023938
MAIN: 2025-04-14 18:24:06,780 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/24'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:24:36,603 - INFO - taking picture
MAIN: 2025-04-14 18:24:36,604 - INFO - we take 1429 photos in this while loop
MAIN: 2025-04-14 18:24:36,604 - INFO - /home/pi/Desktop/images/14042025/18/24/image_14042025_18_24_36_29845.jpg
MAIN: 2025-04-14 18:24:36,604 - INFO - duration: 0.6536159799943562
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:25:06,116 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:25:06,965 - INFO - taking picture
MAIN: 2025-04-14 18:25:06,966 - INFO - we take 1430 photos in this while loop
MAIN: 2025-04-14 18:25:06,966 - INFO - /home/pi/Desktop/images/14042025/18/24/image_14042025_18_25_06_30316.jpg
MAIN: 2025-04-14 18:25:06,967 - INFO - duration: 0.6995090690033976
MAIN: 2025-04-14 18:25:06,968 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/25'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:25:36,710 - INFO - taking picture
MAIN: 2025-04-14 18:25:36,710 - INFO - we take 1431 photos in this while loop
MAIN: 2025-04-14 18:25:36,711 - INFO - /home/pi/Desktop/images/14042025/18/25/image_14042025_18_25_36_29741.jpg
MAIN: 2025-04-14 18:25:36,711 - INFO - duration: 0.7024763599983999
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:26:06,048 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:26:06,813 - INFO - taking picture
MAIN: 2025-04-14 18:26:06,813 - INFO - we take 1432 photos in this while loop
MAIN: 2025-04-14 18:26:06,814 - INFO - /home/pi/Desktop/images/14042025/18/25/image_14042025_18_26_06_30147.jpg
MAIN: 2025-04-14 18:26:06,814 - INFO - duration: 0.6576368099995307
MAIN: 2025-04-14 18:26:06,814 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/26'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=15 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:26:36,647 - INFO - taking picture
MAIN: 2025-04-14 18:26:36,647 - INFO - we take 1433 photos in this while loop
MAIN: 2025-04-14 18:26:36,648 - INFO - /home/pi/Desktop/images/14042025/18/26/image_14042025_18_26_36_29802.jpg
MAIN: 2025-04-14 18:26:36,648 - INFO - duration: 0.6894765600009123
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:27:06,055 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:27:06,577 - INFO - taking picture
MAIN: 2025-04-14 18:27:06,578 - INFO - we take 1434 photos in this while loop
MAIN: 2025-04-14 18:27:06,578 - INFO - /home/pi/Desktop/images/14042025/18/26/image_14042025_18_27_06_29907.jpg
MAIN: 2025-04-14 18:27:06,578 - INFO - duration: 0.7123304219931015
MAIN: 2025-04-14 18:27:06,579 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/27'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:27:37,587 - INFO - taking picture
MAIN: 2025-04-14 18:27:37,587 - INFO - we take 1435 photos in this while loop
MAIN: 2025-04-14 18:27:37,587 - INFO - /home/pi/Desktop/images/14042025/18/27/image_14042025_18_27_37_31022.jpg
MAIN: 2025-04-14 18:27:37,588 - INFO - duration: 0.6995926040035556
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:28:06,405 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:28:07,367 - INFO - taking picture
MAIN: 2025-04-14 18:28:07,367 - INFO - we take 1436 photos in this while loop
MAIN: 2025-04-14 18:28:07,368 - INFO - /home/pi/Desktop/images/14042025/18/27/image_14042025_18_28_06_29827.jpg
MAIN: 2025-04-14 18:28:07,368 - INFO - duration: 0.6518289909945452
MAIN: 2025-04-14 18:28:07,368 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/28'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:28:37,225 - INFO - taking picture
MAIN: 2025-04-14 18:28:37,225 - INFO - we take 1437 photos in this while loop
MAIN: 2025-04-14 18:28:37,225 - INFO - /home/pi/Desktop/images/14042025/18/28/image_14042025_18_28_36_29802.jpg
MAIN: 2025-04-14 18:28:37,226 - INFO - duration: 0.7067037500019069
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:29:05,855 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:29:07,253 - INFO - taking picture
MAIN: 2025-04-14 18:29:07,254 - INFO - we take 1438 photos in this while loop
MAIN: 2025-04-14 18:29:07,254 - INFO - /home/pi/Desktop/images/14042025/18/28/image_14042025_18_29_06_30032.jpg
MAIN: 2025-04-14 18:29:07,254 - INFO - duration: 0.7029078100022161
MAIN: 2025-04-14 18:29:07,255 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/29'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:29:37,040 - INFO - taking picture
MAIN: 2025-04-14 18:29:37,041 - INFO - we take 1439 photos in this while loop
MAIN: 2025-04-14 18:29:37,041 - INFO - /home/pi/Desktop/images/14042025/18/29/image_14042025_18_29_36_29779.jpg
MAIN: 2025-04-14 18:29:37,041 - INFO - duration: 0.7105248429943458
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:30:06,359 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:30:07,072 - INFO - taking picture
MAIN: 2025-04-14 18:30:07,073 - INFO - we take 1440 photos in this while loop
MAIN: 2025-04-14 18:30:07,074 - INFO - /home/pi/Desktop/images/14042025/18/29/image_14042025_18_30_06_30037.jpg
MAIN: 2025-04-14 18:30:07,075 - INFO - duration: 0.7066633829963394
MAIN: 2025-04-14 18:30:07,076 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/30'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:30:36,862 - INFO - taking picture
MAIN: 2025-04-14 18:30:36,862 - INFO - we take 1441 photos in this while loop
MAIN: 2025-04-14 18:30:36,862 - INFO - /home/pi/Desktop/images/14042025/18/30/image_14042025_18_30_36_29789.jpg
MAIN: 2025-04-14 18:30:36,863 - INFO - duration: 0.7049853089993121
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:31:05,780 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:31:06,707 - INFO - taking picture
MAIN: 2025-04-14 18:31:06,707 - INFO - we take 1442 photos in this while loop
MAIN: 2025-04-14 18:31:06,708 - INFO - /home/pi/Desktop/images/14042025/18/30/image_14042025_18_31_06_29907.jpg
MAIN: 2025-04-14 18:31:06,708 - INFO - duration: 0.6421961180021754
MAIN: 2025-04-14 18:31:06,708 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/31'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:31:37,494 - INFO - taking picture
MAIN: 2025-04-14 18:31:37,495 - INFO - we take 1443 photos in this while loop
MAIN: 2025-04-14 18:31:37,495 - INFO - /home/pi/Desktop/images/14042025/18/31/image_14042025_18_31_37_30786.jpg
MAIN: 2025-04-14 18:31:37,495 - INFO - duration: 0.643049919999612
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:32:06,152 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:32:07,480 - INFO - taking picture
MAIN: 2025-04-14 18:32:07,481 - INFO - we take 1444 photos in this while loop
MAIN: 2025-04-14 18:32:07,481 - INFO - /home/pi/Desktop/images/14042025/18/31/image_14042025_18_32_07_29981.jpg
MAIN: 2025-04-14 18:32:07,481 - INFO - duration: 0.6478014319945942
MAIN: 2025-04-14 18:32:07,482 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/32'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:32:37,269 - INFO - taking picture
MAIN: 2025-04-14 18:32:37,270 - INFO - we take 1445 photos in this while loop
MAIN: 2025-04-14 18:32:37,270 - INFO - /home/pi/Desktop/images/14042025/18/32/image_14042025_18_32_36_29750.jpg
MAIN: 2025-04-14 18:32:37,270 - INFO - duration: 0.6864180589982425
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:33:06,278 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:33:07,044 - INFO - taking picture
MAIN: 2025-04-14 18:33:07,045 - INFO - we take 1446 photos in this while loop
MAIN: 2025-04-14 18:33:07,045 - INFO - /home/pi/Desktop/images/14042025/18/32/image_14042025_18_33_06_29805.jpg
MAIN: 2025-04-14 18:33:07,045 - INFO - duration: 0.6562337759969523
MAIN: 2025-04-14 18:33:07,046 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/33'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:33:36,777 - INFO - taking picture
MAIN: 2025-04-14 18:33:36,777 - INFO - we take 1447 photos in this while loop
MAIN: 2025-04-14 18:33:36,777 - INFO - /home/pi/Desktop/images/14042025/18/33/image_14042025_18_33_36_29677.jpg
MAIN: 2025-04-14 18:33:36,778 - INFO - duration: 0.7106945769992308
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:34:06,072 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:34:06,819 - INFO - taking picture
MAIN: 2025-04-14 18:34:06,820 - INFO - we take 1448 photos in this while loop
MAIN: 2025-04-14 18:34:06,820 - INFO - /home/pi/Desktop/images/14042025/18/33/image_14042025_18_34_06_30095.jpg
MAIN: 2025-04-14 18:34:06,820 - INFO - duration: 0.6578135160016245
MAIN: 2025-04-14 18:34:06,820 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/34'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:34:36,581 - INFO - taking picture
MAIN: 2025-04-14 18:34:36,581 - INFO - we take 1449 photos in this while loop
MAIN: 2025-04-14 18:34:36,581 - INFO - /home/pi/Desktop/images/14042025/18/34/image_14042025_18_34_36_29719.jpg
MAIN: 2025-04-14 18:34:36,582 - INFO - duration: 0.699719467003888
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:35:06,095 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:35:06,628 - INFO - taking picture
MAIN: 2025-04-14 18:35:06,629 - INFO - we take 1450 photos in this while loop
MAIN: 2025-04-14 18:35:06,629 - INFO - /home/pi/Desktop/images/14042025/18/34/image_14042025_18_35_06_30021.jpg
MAIN: 2025-04-14 18:35:06,629 - INFO - duration: 0.7264519770033075
MAIN: 2025-04-14 18:35:06,630 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/35'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:35:36,457 - INFO - taking picture
MAIN: 2025-04-14 18:35:36,458 - INFO - we take 1451 photos in this while loop
MAIN: 2025-04-14 18:35:36,458 - INFO - /home/pi/Desktop/images/14042025/18/35/image_14042025_18_35_36_29846.jpg
MAIN: 2025-04-14 18:35:36,458 - INFO - duration: 0.7091191579966107
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:36:05,854 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:36:06,571 - INFO - taking picture
MAIN: 2025-04-14 18:36:06,571 - INFO - we take 1452 photos in this while loop
MAIN: 2025-04-14 18:36:06,572 - INFO - /home/pi/Desktop/images/14042025/18/35/image_14042025_18_36_06_30169.jpg
MAIN: 2025-04-14 18:36:06,572 - INFO - duration: 0.6527438249977422
MAIN: 2025-04-14 18:36:06,572 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/36'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:36:37,481 - INFO - taking picture
MAIN: 2025-04-14 18:36:37,482 - INFO - we take 1453 photos in this while loop
MAIN: 2025-04-14 18:36:37,482 - INFO - /home/pi/Desktop/images/14042025/18/36/image_14042025_18_36_37_30900.jpg
MAIN: 2025-04-14 18:36:37,482 - INFO - duration: 0.6627914319979027
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:37:05,904 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:37:07,233 - INFO - taking picture
MAIN: 2025-04-14 18:37:07,233 - INFO - we take 1454 photos in this while loop
MAIN: 2025-04-14 18:37:07,234 - INFO - /home/pi/Desktop/images/14042025/18/36/image_14042025_18_37_06_29752.jpg
MAIN: 2025-04-14 18:37:07,234 - INFO - duration: 0.6619600770063698
MAIN: 2025-04-14 18:37:07,234 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/37'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:37:36,932 - INFO - taking picture
MAIN: 2025-04-14 18:37:36,932 - INFO - we take 1455 photos in this while loop
MAIN: 2025-04-14 18:37:36,932 - INFO - /home/pi/Desktop/images/14042025/18/37/image_14042025_18_37_36_29700.jpg
MAIN: 2025-04-14 18:37:36,933 - INFO - duration: 0.6605835139998817
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:38:06,301 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:38:06,994 - INFO - taking picture
MAIN: 2025-04-14 18:38:06,995 - INFO - we take 1456 photos in this while loop
MAIN: 2025-04-14 18:38:06,995 - INFO - /home/pi/Desktop/images/14042025/18/37/image_14042025_18_38_06_30020.jpg
MAIN: 2025-04-14 18:38:06,995 - INFO - duration: 0.7024784250024823
MAIN: 2025-04-14 18:38:06,996 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/38'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:38:36,675 - INFO - taking picture
MAIN: 2025-04-14 18:38:36,675 - INFO - we take 1457 photos in this while loop
MAIN: 2025-04-14 18:38:36,676 - INFO - /home/pi/Desktop/images/14042025/18/38/image_14042025_18_38_36_29671.jpg
MAIN: 2025-04-14 18:38:36,676 - INFO - duration: 0.7110701459969277
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:39:05,828 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:39:06,767 - INFO - taking picture
MAIN: 2025-04-14 18:39:06,768 - INFO - we take 1458 photos in this while loop
MAIN: 2025-04-14 18:39:06,768 - INFO - /home/pi/Desktop/images/14042025/18/38/image_14042025_18_39_06_30158.jpg
MAIN: 2025-04-14 18:39:06,768 - INFO - duration: 0.6455664239983889
MAIN: 2025-04-14 18:39:06,769 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/39'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:39:36,580 - INFO - taking picture
MAIN: 2025-04-14 18:39:36,581 - INFO - we take 1459 photos in this while loop
MAIN: 2025-04-14 18:39:36,581 - INFO - /home/pi/Desktop/images/14042025/18/39/image_14042025_18_39_36_29760.jpg
MAIN: 2025-04-14 18:39:36,581 - INFO - duration: 0.697628057001566
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:40:06,372 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 18:40:06,777 - INFO - taking picture
MAIN: 2025-04-14 18:40:06,778 - INFO - we take 1460 photos in this while loop
MAIN: 2025-04-14 18:40:06,778 - INFO - /home/pi/Desktop/images/14042025/18/39/image_14042025_18_40_06_30187.jpg
MAIN: 2025-04-14 18:40:06,778 - INFO - duration: 0.7075569140070002
MAIN: 2025-04-14 18:40:06,779 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/40'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:40:36,504 - INFO - taking picture
MAIN: 2025-04-14 18:40:36,504 - INFO - we take 1461 photos in this while loop
MAIN: 2025-04-14 18:40:36,505 - INFO - /home/pi/Desktop/images/14042025/18/40/image_14042025_18_40_36_29727.jpg
MAIN: 2025-04-14 18:40:36,505 - INFO - duration: 0.7066658719995758
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:41:06,054 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:41:06,613 - INFO - taking picture
MAIN: 2025-04-14 18:41:06,614 - INFO - we take 1462 photos in this while loop
MAIN: 2025-04-14 18:41:06,614 - INFO - /home/pi/Desktop/images/14042025/18/40/image_14042025_18_41_06_30092.jpg
MAIN: 2025-04-14 18:41:06,614 - INFO - duration: 0.7235025440022582
MAIN: 2025-04-14 18:41:06,615 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/41'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:41:36,340 - INFO - taking picture
MAIN: 2025-04-14 18:41:36,341 - INFO - we take 1463 photos in this while loop
MAIN: 2025-04-14 18:41:36,341 - INFO - /home/pi/Desktop/images/14042025/18/41/image_14042025_18_41_35_29755.jpg
MAIN: 2025-04-14 18:41:36,341 - INFO - duration: 0.6950047740028822
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:42:06,320 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 18:42:06,561 - INFO - taking picture
MAIN: 2025-04-14 18:42:06,562 - INFO - we take 1464 photos in this while loop
MAIN: 2025-04-14 18:42:06,562 - INFO - /home/pi/Desktop/images/14042025/18/41/image_14042025_18_42_06_30214.jpg
MAIN: 2025-04-14 18:42:06,562 - INFO - duration: 0.7012473799986765
MAIN: 2025-04-14 18:42:06,563 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/42'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:42:37,490 - INFO - taking picture
MAIN: 2025-04-14 18:42:37,491 - INFO - we take 1465 photos in this while loop
MAIN: 2025-04-14 18:42:37,491 - INFO - /home/pi/Desktop/images/14042025/18/42/image_14042025_18_42_37_30916.jpg
MAIN: 2025-04-14 18:42:37,491 - INFO - duration: 0.7133795720001217
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:43:05,413 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:43:07,306 - INFO - taking picture
MAIN: 2025-04-14 18:43:07,307 - INFO - we take 1466 photos in this while loop
MAIN: 2025-04-14 18:43:07,307 - INFO - /home/pi/Desktop/images/14042025/18/42/image_14042025_18_43_06_29872.jpg
MAIN: 2025-04-14 18:43:07,308 - INFO - duration: 0.65784028100461
MAIN: 2025-04-14 18:43:07,308 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/43'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:43:37,057 - INFO - taking picture
MAIN: 2025-04-14 18:43:37,058 - INFO - we take 1467 photos in this while loop
MAIN: 2025-04-14 18:43:37,058 - INFO - /home/pi/Desktop/images/14042025/18/43/image_14042025_18_43_36_29715.jpg
MAIN: 2025-04-14 18:43:37,058 - INFO - duration: 0.6926964909944218
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
MAIN: 2025-04-14 18:44:06,292 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:44:07,304 - INFO - taking picture
MAIN: 2025-04-14 18:44:07,305 - INFO - we take 1468 photos in this while loop
MAIN: 2025-04-14 18:44:07,305 - INFO - /home/pi/Desktop/images/14042025/18/43/image_14042025_18_44_06_30296.jpg
MAIN: 2025-04-14 18:44:07,305 - INFO - duration: 0.6438553240004694
MAIN: 2025-04-14 18:44:07,306 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/44'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:44:37,127 - INFO - taking picture
MAIN: 2025-04-14 18:44:37,128 - INFO - we take 1469 photos in this while loop
MAIN: 2025-04-14 18:44:37,128 - INFO - /home/pi/Desktop/images/14042025/18/44/image_14042025_18_44_36_29769.jpg
MAIN: 2025-04-14 18:44:37,128 - INFO - duration: 0.697277571001905
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:45:06,336 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:45:07,193 - INFO - taking picture
MAIN: 2025-04-14 18:45:07,194 - INFO - we take 1470 photos in this while loop
MAIN: 2025-04-14 18:45:07,194 - INFO - /home/pi/Desktop/images/14042025/18/44/image_14042025_18_45_06_30085.jpg
MAIN: 2025-04-14 18:45:07,195 - INFO - duration: 0.678167696998571
MAIN: 2025-04-14 18:45:07,195 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/45'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:45:36,925 - INFO - taking picture
MAIN: 2025-04-14 18:45:36,925 - INFO - we take 1471 photos in this while loop
MAIN: 2025-04-14 18:45:36,925 - INFO - /home/pi/Desktop/images/14042025/18/45/image_14042025_18_45_36_29711.jpg
MAIN: 2025-04-14 18:45:36,926 - INFO - duration: 0.6978407319984399
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:46:06,207 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:46:06,858 - INFO - taking picture
MAIN: 2025-04-14 18:46:06,858 - INFO - we take 1472 photos in this while loop
MAIN: 2025-04-14 18:46:06,859 - INFO - /home/pi/Desktop/images/14042025/18/45/image_14042025_18_46_06_29927.jpg
MAIN: 2025-04-14 18:46:06,859 - INFO - duration: 0.7032579869992333
MAIN: 2025-04-14 18:46:06,859 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/46'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:46:36,546 - INFO - taking picture
MAIN: 2025-04-14 18:46:36,546 - INFO - we take 1473 photos in this while loop
MAIN: 2025-04-14 18:46:36,546 - INFO - /home/pi/Desktop/images/14042025/18/46/image_14042025_18_46_36_29692.jpg
MAIN: 2025-04-14 18:46:36,547 - INFO - duration: 0.6984119109984022
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:47:06,021 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:47:06,429 - INFO - taking picture
MAIN: 2025-04-14 18:47:06,429 - INFO - we take 1474 photos in this while loop
MAIN: 2025-04-14 18:47:06,429 - INFO - /home/pi/Desktop/images/14042025/18/46/image_14042025_18_47_06_29892.jpg
MAIN: 2025-04-14 18:47:06,430 - INFO - duration: 0.6884532279946143
MAIN: 2025-04-14 18:47:06,430 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/47'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:47:37,464 - INFO - taking picture
MAIN: 2025-04-14 18:47:37,464 - INFO - we take 1475 photos in this while loop
MAIN: 2025-04-14 18:47:37,465 - INFO - /home/pi/Desktop/images/14042025/18/47/image_14042025_18_47_37_31044.jpg
MAIN: 2025-04-14 18:47:37,465 - INFO - duration: 0.67886095099675
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
MAIN: 2025-04-14 18:48:06,507 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:48:07,323 - INFO - taking picture
MAIN: 2025-04-14 18:48:07,324 - INFO - we take 1476 photos in this while loop
MAIN: 2025-04-14 18:48:07,324 - INFO - /home/pi/Desktop/images/14042025/18/47/image_14042025_18_48_06_29894.jpg
MAIN: 2025-04-14 18:48:07,324 - INFO - duration: 0.6438529969964293
MAIN: 2025-04-14 18:48:07,324 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/48'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:48:36,944 - INFO - taking picture
MAIN: 2025-04-14 18:48:36,945 - INFO - we take 1477 photos in this while loop
MAIN: 2025-04-14 18:48:36,945 - INFO - /home/pi/Desktop/images/14042025/18/48/image_14042025_18_48_36_29568.jpg
MAIN: 2025-04-14 18:48:36,945 - INFO - duration: 0.6962422779979534
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:49:05,845 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:49:06,696 - INFO - taking picture
MAIN: 2025-04-14 18:49:06,697 - INFO - we take 1478 photos in this while loop
MAIN: 2025-04-14 18:49:06,697 - INFO - /home/pi/Desktop/images/14042025/18/48/image_14042025_18_49_06_29797.jpg
MAIN: 2025-04-14 18:49:06,697 - INFO - duration: 0.6507354150016909
MAIN: 2025-04-14 18:49:06,697 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/49'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:49:36,447 - INFO - taking picture
MAIN: 2025-04-14 18:49:36,447 - INFO - we take 1479 photos in this while loop
MAIN: 2025-04-14 18:49:36,447 - INFO - /home/pi/Desktop/images/14042025/18/49/image_14042025_18_49_36_29699.jpg
MAIN: 2025-04-14 18:49:36,447 - INFO - duration: 0.7014158940000925
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:50:06,570 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 18:50:06,789 - INFO - taking picture
MAIN: 2025-04-14 18:50:06,790 - INFO - we take 1480 photos in this while loop
MAIN: 2025-04-14 18:50:06,791 - INFO - /home/pi/Desktop/images/14042025/18/49/image_14042025_18_50_06_30350.jpg
MAIN: 2025-04-14 18:50:06,791 - INFO - duration: 0.6944653840037063
MAIN: 2025-04-14 18:50:06,792 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/50'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:50:36,368 - INFO - taking picture
MAIN: 2025-04-14 18:50:36,368 - INFO - we take 1481 photos in this while loop
MAIN: 2025-04-14 18:50:36,369 - INFO - /home/pi/Desktop/images/14042025/18/50/image_14042025_18_50_35_29580.jpg
MAIN: 2025-04-14 18:50:36,369 - INFO - duration: 0.6922257590049412
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:51:06,266 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 18:51:06,551 - INFO - taking picture
MAIN: 2025-04-14 18:51:06,551 - INFO - we take 1482 photos in this while loop
MAIN: 2025-04-14 18:51:06,551 - INFO - /home/pi/Desktop/images/14042025/18/50/image_14042025_18_51_06_30163.jpg
MAIN: 2025-04-14 18:51:06,552 - INFO - duration: 0.710934571994585
MAIN: 2025-04-14 18:51:06,552 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/51'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:51:37,459 - INFO - taking picture
MAIN: 2025-04-14 18:51:37,460 - INFO - we take 1483 photos in this while loop
MAIN: 2025-04-14 18:51:37,460 - INFO - /home/pi/Desktop/images/14042025/18/51/image_14042025_18_51_37_30917.jpg
MAIN: 2025-04-14 18:51:37,460 - INFO - duration: 0.7024317670002347
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
MAIN: 2025-04-14 18:52:06,632 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:52:07,427 - INFO - taking picture
MAIN: 2025-04-14 18:52:07,428 - INFO - we take 1484 photos in this while loop
MAIN: 2025-04-14 18:52:07,428 - INFO - /home/pi/Desktop/images/14042025/18/51/image_14042025_18_52_07_30031.jpg
MAIN: 2025-04-14 18:52:07,428 - INFO - duration: 0.6393898429960245
MAIN: 2025-04-14 18:52:07,429 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/52'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:52:37,110 - INFO - taking picture
MAIN: 2025-04-14 18:52:37,110 - INFO - we take 1485 photos in this while loop
MAIN: 2025-04-14 18:52:37,111 - INFO - /home/pi/Desktop/images/14042025/18/52/image_14042025_18_52_36_29653.jpg
MAIN: 2025-04-14 18:52:37,111 - INFO - duration: 0.6689023010039818
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
MAIN: 2025-04-14 18:53:06,178 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:53:06,923 - INFO - taking picture
MAIN: 2025-04-14 18:53:06,924 - INFO - we take 1486 photos in this while loop
MAIN: 2025-04-14 18:53:06,924 - INFO - /home/pi/Desktop/images/14042025/18/52/image_14042025_18_53_06_29814.jpg
MAIN: 2025-04-14 18:53:06,924 - INFO - duration: 0.6677853810033412
MAIN: 2025-04-14 18:53:06,925 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/53'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:53:36,637 - INFO - taking picture
MAIN: 2025-04-14 18:53:36,638 - INFO - we take 1487 photos in this while loop
MAIN: 2025-04-14 18:53:36,638 - INFO - /home/pi/Desktop/images/14042025/18/53/image_14042025_18_53_36_29680.jpg
MAIN: 2025-04-14 18:53:36,638 - INFO - duration: 0.7009997139975894
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:54:06,114 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:54:06,745 - INFO - taking picture
MAIN: 2025-04-14 18:54:06,746 - INFO - we take 1488 photos in this while loop
MAIN: 2025-04-14 18:54:06,746 - INFO - /home/pi/Desktop/images/14042025/18/53/image_14042025_18_54_06_30112.jpg
MAIN: 2025-04-14 18:54:06,746 - INFO - duration: 0.6968578980013262
MAIN: 2025-04-14 18:54:06,747 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/54'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:54:36,372 - INFO - taking picture
MAIN: 2025-04-14 18:54:36,372 - INFO - we take 1489 photos in this while loop
MAIN: 2025-04-14 18:54:36,372 - INFO - /home/pi/Desktop/images/14042025/18/54/image_14042025_18_54_35_29628.jpg
MAIN: 2025-04-14 18:54:36,373 - INFO - duration: 0.694209465997119
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:55:06,042 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 18:55:06,411 - INFO - taking picture
MAIN: 2025-04-14 18:55:06,412 - INFO - we take 1490 photos in this while loop
MAIN: 2025-04-14 18:55:06,413 - INFO - /home/pi/Desktop/images/14042025/18/54/image_14042025_18_55_05_30039.jpg
MAIN: 2025-04-14 18:55:06,413 - INFO - duration: 0.6953743679987383
MAIN: 2025-04-14 18:55:06,414 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/55'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:55:37,304 - INFO - taking picture
MAIN: 2025-04-14 18:55:37,304 - INFO - we take 1491 photos in this while loop
MAIN: 2025-04-14 18:55:37,305 - INFO - /home/pi/Desktop/images/14042025/18/55/image_14042025_18_55_36_30880.jpg
MAIN: 2025-04-14 18:55:37,305 - INFO - duration: 0.7060778129962273
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:56:06,094 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:56:07,188 - INFO - taking picture
MAIN: 2025-04-14 18:56:07,188 - INFO - we take 1492 photos in this while loop
MAIN: 2025-04-14 18:56:07,188 - INFO - /home/pi/Desktop/images/14042025/18/55/image_14042025_18_56_06_29923.jpg
MAIN: 2025-04-14 18:56:07,189 - INFO - duration: 0.6666909889972885
MAIN: 2025-04-14 18:56:07,189 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/56'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:56:36,762 - INFO - taking picture
MAIN: 2025-04-14 18:56:36,763 - INFO - we take 1493 photos in this while loop
MAIN: 2025-04-14 18:56:36,763 - INFO - /home/pi/Desktop/images/14042025/18/56/image_14042025_18_56_36_29539.jpg
MAIN: 2025-04-14 18:56:36,763 - INFO - duration: 0.7023287600022741
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:57:05,971 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:57:06,717 - INFO - taking picture
MAIN: 2025-04-14 18:57:06,718 - INFO - we take 1494 photos in this while loop
MAIN: 2025-04-14 18:57:06,718 - INFO - /home/pi/Desktop/images/14042025/18/56/image_14042025_18_57_06_30004.jpg
MAIN: 2025-04-14 18:57:06,718 - INFO - duration: 0.6527615689992672
MAIN: 2025-04-14 18:57:06,718 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/57'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:57:36,438 - INFO - taking picture
MAIN: 2025-04-14 18:57:36,438 - INFO - we take 1495 photos in this while loop
MAIN: 2025-04-14 18:57:36,438 - INFO - /home/pi/Desktop/images/14042025/18/57/image_14042025_18_57_36_29672.jpg
MAIN: 2025-04-14 18:57:36,439 - INFO - duration: 0.7006690279959003
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:58:06,484 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 18:58:06,647 - INFO - taking picture
MAIN: 2025-04-14 18:58:06,647 - INFO - we take 1496 photos in this while loop
MAIN: 2025-04-14 18:58:06,647 - INFO - /home/pi/Desktop/images/14042025/18/57/image_14042025_18_58_06_30209.jpg
MAIN: 2025-04-14 18:58:06,648 - INFO - duration: 0.6999559079995379
MAIN: 2025-04-14 18:58:06,648 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/58'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:58:37,529 - INFO - taking picture
MAIN: 2025-04-14 18:58:37,529 - INFO - we take 1497 photos in this while loop
MAIN: 2025-04-14 18:58:37,529 - INFO - /home/pi/Desktop/images/14042025/18/58/image_14042025_18_58_37_30895.jpg
MAIN: 2025-04-14 18:58:37,530 - INFO - duration: 0.6861036699992837
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 18:59:06,573 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:59:07,492 - INFO - taking picture
MAIN: 2025-04-14 18:59:07,492 - INFO - we take 1498 photos in this while loop
MAIN: 2025-04-14 18:59:07,492 - INFO - /home/pi/Desktop/images/14042025/18/58/image_14042025_18_59_07_29988.jpg
MAIN: 2025-04-14 18:59:07,493 - INFO - duration: 0.6609214280033484
MAIN: 2025-04-14 18:59:07,493 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/18/59'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 18:59:37,244 - INFO - taking picture
MAIN: 2025-04-14 18:59:37,245 - INFO - we take 1499 photos in this while loop
MAIN: 2025-04-14 18:59:37,245 - INFO - /home/pi/Desktop/images/14042025/18/59/image_14042025_18_59_36_29704.jpg
MAIN: 2025-04-14 18:59:37,245 - INFO - duration: 0.7096116500033531
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 19:00:06,972 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:00:07,449 - INFO - taking picture
MAIN: 2025-04-14 19:00:07,450 - INFO - we take 1500 photos in this while loop
MAIN: 2025-04-14 19:00:07,450 - INFO - /home/pi/Desktop/images/14042025/18/59/image_14042025_19_00_07_30212.jpg
MAIN: 2025-04-14 19:00:07,450 - INFO - duration: 0.7018571720036562
MAIN: 2025-04-14 19:00:07,451 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/00'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:00:37,116 - INFO - taking picture
MAIN: 2025-04-14 19:00:37,116 - INFO - we take 1501 photos in this while loop
MAIN: 2025-04-14 19:00:37,116 - INFO - /home/pi/Desktop/images/14042025/19/00/image_14042025_19_00_36_29666.jpg
MAIN: 2025-04-14 19:00:37,117 - INFO - duration: 0.7019550400000298
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 19:01:06,237 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:01:07,066 - INFO - taking picture
MAIN: 2025-04-14 19:01:07,066 - INFO - we take 1502 photos in this while loop
MAIN: 2025-04-14 19:01:07,066 - INFO - /home/pi/Desktop/images/14042025/19/00/image_14042025_19_01_06_29999.jpg
MAIN: 2025-04-14 19:01:07,067 - INFO - duration: 0.6521309699965059
MAIN: 2025-04-14 19:01:07,067 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/01'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:01:36,650 - INFO - taking picture
MAIN: 2025-04-14 19:01:36,651 - INFO - we take 1503 photos in this while loop
MAIN: 2025-04-14 19:01:36,651 - INFO - /home/pi/Desktop/images/14042025/19/01/image_14042025_19_01_36_29540.jpg
MAIN: 2025-04-14 19:01:36,651 - INFO - duration: 0.6965531700043357
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 19:02:05,740 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:02:06,574 - INFO - taking picture
MAIN: 2025-04-14 19:02:06,575 - INFO - we take 1504 photos in this while loop
MAIN: 2025-04-14 19:02:06,575 - INFO - /home/pi/Desktop/images/14042025/19/01/image_14042025_19_02_06_29968.jpg
MAIN: 2025-04-14 19:02:06,575 - INFO - duration: 0.6513804019996314
MAIN: 2025-04-14 19:02:06,575 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/02'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:02:37,477 - INFO - taking picture
MAIN: 2025-04-14 19:02:37,478 - INFO - we take 1505 photos in this while loop
MAIN: 2025-04-14 19:02:37,478 - INFO - /home/pi/Desktop/images/14042025/19/02/image_14042025_19_02_37_30863.jpg
MAIN: 2025-04-14 19:02:37,478 - INFO - duration: 0.6910505179985194
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 19:03:05,649 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:03:07,397 - INFO - taking picture
MAIN: 2025-04-14 19:03:07,398 - INFO - we take 1506 photos in this while loop
MAIN: 2025-04-14 19:03:07,398 - INFO - /home/pi/Desktop/images/14042025/19/02/image_14042025_19_03_07_29914.jpg
MAIN: 2025-04-14 19:03:07,398 - INFO - duration: 0.6967838540003868
MAIN: 2025-04-14 19:03:07,399 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/03'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:03:37,108 - INFO - taking picture
MAIN: 2025-04-14 19:03:37,108 - INFO - we take 1507 photos in this while loop
MAIN: 2025-04-14 19:03:37,108 - INFO - /home/pi/Desktop/images/14042025/19/03/image_14042025_19_03_36_29730.jpg
MAIN: 2025-04-14 19:03:37,109 - INFO - duration: 0.6760171319983783
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 19:04:06,490 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:04:07,160 - INFO - taking picture
MAIN: 2025-04-14 19:04:07,161 - INFO - we take 1508 photos in this while loop
MAIN: 2025-04-14 19:04:07,161 - INFO - /home/pi/Desktop/images/14042025/19/03/image_14042025_19_04_06_30036.jpg
MAIN: 2025-04-14 19:04:07,161 - INFO - duration: 0.6922267219997593
MAIN: 2025-04-14 19:04:07,162 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/04'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:04:36,782 - INFO - taking picture
MAIN: 2025-04-14 19:04:36,783 - INFO - we take 1509 photos in this while loop
MAIN: 2025-04-14 19:04:36,783 - INFO - /home/pi/Desktop/images/14042025/19/04/image_14042025_19_04_36_29607.jpg
MAIN: 2025-04-14 19:04:36,783 - INFO - duration: 0.7063365189969772
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:05:06,751 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 19:05:07,148 - INFO - taking picture
MAIN: 2025-04-14 19:05:07,149 - INFO - we take 1510 photos in this while loop
MAIN: 2025-04-14 19:05:07,149 - INFO - /home/pi/Desktop/images/14042025/19/04/image_14042025_19_05_06_30391.jpg
MAIN: 2025-04-14 19:05:07,150 - INFO - duration: 0.6819592239990016
MAIN: 2025-04-14 19:05:07,151 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/05'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:05:36,682 - INFO - taking picture
MAIN: 2025-04-14 19:05:36,683 - INFO - we take 1511 photos in this while loop
MAIN: 2025-04-14 19:05:36,683 - INFO - /home/pi/Desktop/images/14042025/19/05/image_14042025_19_05_36_29517.jpg
MAIN: 2025-04-14 19:05:36,683 - INFO - duration: 0.6983055829987279
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 19:06:06,522 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:06:07,049 - INFO - taking picture
MAIN: 2025-04-14 19:06:07,049 - INFO - we take 1512 photos in this while loop
MAIN: 2025-04-14 19:06:07,050 - INFO - /home/pi/Desktop/images/14042025/19/05/image_14042025_19_06_06_30366.jpg
MAIN: 2025-04-14 19:06:07,050 - INFO - duration: 0.6984966269956203
MAIN: 2025-04-14 19:06:07,050 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/06'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:06:36,780 - INFO - taking picture
MAIN: 2025-04-14 19:06:36,781 - INFO - we take 1513 photos in this while loop
MAIN: 2025-04-14 19:06:36,781 - INFO - /home/pi/Desktop/images/14042025/19/06/image_14042025_19_06_36_29749.jpg
MAIN: 2025-04-14 19:06:36,781 - INFO - duration: 0.6801570389943663
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 19:07:05,299 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:07:06,538 - INFO - taking picture
MAIN: 2025-04-14 19:07:06,538 - INFO - we take 1514 photos in this while loop
MAIN: 2025-04-14 19:07:06,539 - INFO - /home/pi/Desktop/images/14042025/19/06/image_14042025_19_07_06_29752.jpg
MAIN: 2025-04-14 19:07:06,539 - INFO - duration: 0.6847402200000943
MAIN: 2025-04-14 19:07:06,539 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/07'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:07:37,393 - INFO - taking picture
MAIN: 2025-04-14 19:07:37,393 - INFO - we take 1515 photos in this while loop
MAIN: 2025-04-14 19:07:37,393 - INFO - /home/pi/Desktop/images/14042025/19/07/image_14042025_19_07_37_30855.jpg
MAIN: 2025-04-14 19:07:37,394 - INFO - duration: 0.6836470950001967
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
MAIN: 2025-04-14 19:08:06,171 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:08:07,584 - INFO - taking picture
MAIN: 2025-04-14 19:08:07,584 - INFO - we take 1516 photos in this while loop
MAIN: 2025-04-14 19:08:07,584 - INFO - /home/pi/Desktop/images/14042025/19/07/image_14042025_19_08_07_30194.jpg
MAIN: 2025-04-14 19:08:07,585 - INFO - duration: 0.680018293998728
MAIN: 2025-04-14 19:08:07,585 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/08'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:08:37,280 - INFO - taking picture
MAIN: 2025-04-14 19:08:37,280 - INFO - we take 1517 photos in this while loop
MAIN: 2025-04-14 19:08:37,280 - INFO - /home/pi/Desktop/images/14042025/19/08/image_14042025_19_08_36_29678.jpg
MAIN: 2025-04-14 19:08:37,281 - INFO - duration: 0.6975352790032048
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 19:09:06,072 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:09:07,180 - INFO - taking picture
MAIN: 2025-04-14 19:09:07,180 - INFO - we take 1518 photos in this while loop
MAIN: 2025-04-14 19:09:07,181 - INFO - /home/pi/Desktop/images/14042025/19/08/image_14042025_19_09_06_29961.jpg
MAIN: 2025-04-14 19:09:07,181 - INFO - duration: 0.6367487539973808
MAIN: 2025-04-14 19:09:07,181 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/09'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:09:36,954 - INFO - taking picture
MAIN: 2025-04-14 19:09:36,955 - INFO - we take 1519 photos in this while loop
MAIN: 2025-04-14 19:09:36,955 - INFO - /home/pi/Desktop/images/14042025/19/09/image_14042025_19_09_36_29736.jpg
MAIN: 2025-04-14 19:09:36,955 - INFO - duration: 0.6748014730037539
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:10:07,030 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 19:10:07,239 - INFO - taking picture
MAIN: 2025-04-14 19:10:07,240 - INFO - we take 1520 photos in this while loop
MAIN: 2025-04-14 19:10:07,240 - INFO - /home/pi/Desktop/images/14042025/19/09/image_14042025_19_10_06_30258.jpg
MAIN: 2025-04-14 19:10:07,241 - INFO - duration: 0.7016163770022104
MAIN: 2025-04-14 19:10:07,242 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/10'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:10:36,993 - INFO - taking picture
MAIN: 2025-04-14 19:10:36,994 - INFO - we take 1521 photos in this while loop
MAIN: 2025-04-14 19:10:36,994 - INFO - /home/pi/Desktop/images/14042025/19/10/image_14042025_19_10_36_29742.jpg
MAIN: 2025-04-14 19:10:36,994 - INFO - duration: 0.7125564850066439
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 19:11:06,311 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:11:06,918 - INFO - taking picture
MAIN: 2025-04-14 19:11:06,919 - INFO - we take 1522 photos in this while loop
MAIN: 2025-04-14 19:11:06,919 - INFO - /home/pi/Desktop/images/14042025/19/10/image_14042025_19_11_06_29929.jpg
MAIN: 2025-04-14 19:11:06,919 - INFO - duration: 0.7075974210019922
MAIN: 2025-04-14 19:11:06,920 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/11'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:11:36,502 - INFO - taking picture
MAIN: 2025-04-14 19:11:36,503 - INFO - we take 1523 photos in this while loop
MAIN: 2025-04-14 19:11:36,503 - INFO - /home/pi/Desktop/images/14042025/19/11/image_14042025_19_11_36_29612.jpg
MAIN: 2025-04-14 19:11:36,504 - INFO - duration: 0.6793623630001093
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 19:12:05,526 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:12:06,403 - INFO - taking picture
MAIN: 2025-04-14 19:12:06,404 - INFO - we take 1524 photos in this while loop
MAIN: 2025-04-14 19:12:06,404 - INFO - /home/pi/Desktop/images/14042025/19/11/image_14042025_19_12_06_29944.jpg
MAIN: 2025-04-14 19:12:06,404 - INFO - duration: 0.6356948009997723
MAIN: 2025-04-14 19:12:06,404 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/12'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:12:37,448 - INFO - taking picture
MAIN: 2025-04-14 19:12:37,448 - INFO - we take 1525 photos in this while loop
MAIN: 2025-04-14 19:12:37,448 - INFO - /home/pi/Desktop/images/14042025/19/12/image_14042025_19_12_37_30978.jpg
MAIN: 2025-04-14 19:12:37,448 - INFO - duration: 0.7016878389986232
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 19:13:05,687 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:13:07,465 - INFO - taking picture
MAIN: 2025-04-14 19:13:07,465 - INFO - we take 1526 photos in this while loop
MAIN: 2025-04-14 19:13:07,466 - INFO - /home/pi/Desktop/images/14042025/19/12/image_14042025_19_13_07_30020.jpg
MAIN: 2025-04-14 19:13:07,466 - INFO - duration: 0.6984976309977355
MAIN: 2025-04-14 19:13:07,466 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/13'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:13:37,211 - INFO - taking picture
MAIN: 2025-04-14 19:13:37,211 - INFO - we take 1527 photos in this while loop
MAIN: 2025-04-14 19:13:37,212 - INFO - /home/pi/Desktop/images/14042025/19/13/image_14042025_19_13_36_29738.jpg
MAIN: 2025-04-14 19:13:37,212 - INFO - duration: 0.7064806019989192
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
MAIN: 2025-04-14 19:14:06,509 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:14:07,269 - INFO - taking picture
MAIN: 2025-04-14 19:14:07,270 - INFO - we take 1528 photos in this while loop
MAIN: 2025-04-14 19:14:07,270 - INFO - /home/pi/Desktop/images/14042025/19/13/image_14042025_19_14_06_30125.jpg
MAIN: 2025-04-14 19:14:07,270 - INFO - duration: 0.6390627729997505
MAIN: 2025-04-14 19:14:07,270 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/14'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:14:36,915 - INFO - taking picture
MAIN: 2025-04-14 19:14:36,915 - INFO - we take 1529 photos in this while loop
MAIN: 2025-04-14 19:14:36,916 - INFO - /home/pi/Desktop/images/14042025/19/14/image_14042025_19_14_36_29593.jpg
MAIN: 2025-04-14 19:14:36,916 - INFO - duration: 0.6916989849996753
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:15:06,644 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 19:15:06,921 - INFO - taking picture
MAIN: 2025-04-14 19:15:06,922 - INFO - we take 1530 photos in this while loop
MAIN: 2025-04-14 19:15:06,922 - INFO - /home/pi/Desktop/images/14042025/19/14/image_14042025_19_15_06_30022.jpg
MAIN: 2025-04-14 19:15:06,922 - INFO - duration: 0.6762641379973502
MAIN: 2025-04-14 19:15:06,923 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/15'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:15:36,504 - INFO - taking picture
MAIN: 2025-04-14 19:15:36,504 - INFO - we take 1531 photos in this while loop
MAIN: 2025-04-14 19:15:36,504 - INFO - /home/pi/Desktop/images/14042025/19/15/image_14042025_19_15_36_29572.jpg
MAIN: 2025-04-14 19:15:36,505 - INFO - duration: 0.6859572660032427
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:16:06,585 - INFO - taking picture
MAIN: 2025-04-14 19:16:06,585 - INFO - we take 1532 photos in this while loop
MAIN: 2025-04-14 19:16:06,586 - INFO - /home/pi/Desktop/images/14042025/19/15/image_14042025_19_16_06_30099.jpg
MAIN: 2025-04-14 19:16:06,586 - INFO - duration: 0.6675742399966111
MAIN: 2025-04-14 19:16:06,586 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/16'
MAIN: 2025-04-14 19:16:06,594 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:16:37,422 - INFO - taking picture
MAIN: 2025-04-14 19:16:37,423 - INFO - we take 1533 photos in this while loop
MAIN: 2025-04-14 19:16:37,423 - INFO - /home/pi/Desktop/images/14042025/19/16/image_14042025_19_16_37_30844.jpg
MAIN: 2025-04-14 19:16:37,423 - INFO - duration: 0.6602456969994819
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 19:17:05,329 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:17:07,222 - INFO - taking picture
MAIN: 2025-04-14 19:17:07,223 - INFO - we take 1534 photos in this while loop
MAIN: 2025-04-14 19:17:07,223 - INFO - /home/pi/Desktop/images/14042025/19/16/image_14042025_19_17_06_29813.jpg
MAIN: 2025-04-14 19:17:07,223 - INFO - duration: 0.6462948089974816
MAIN: 2025-04-14 19:17:07,223 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/17'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:17:36,919 - INFO - taking picture
MAIN: 2025-04-14 19:17:36,920 - INFO - we take 1535 photos in this while loop
MAIN: 2025-04-14 19:17:36,920 - INFO - /home/pi/Desktop/images/14042025/19/17/image_14042025_19_17_36_29671.jpg
MAIN: 2025-04-14 19:17:36,920 - INFO - duration: 0.6721970029975637
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 19:18:05,616 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:18:06,861 - INFO - taking picture
MAIN: 2025-04-14 19:18:06,861 - INFO - we take 1536 photos in this while loop
MAIN: 2025-04-14 19:18:06,862 - INFO - /home/pi/Desktop/images/14042025/19/17/image_14042025_19_18_06_29941.jpg
MAIN: 2025-04-14 19:18:06,862 - INFO - duration: 0.6720923949978896
MAIN: 2025-04-14 19:18:06,862 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/18'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:18:36,544 - INFO - taking picture
MAIN: 2025-04-14 19:18:36,545 - INFO - we take 1537 photos in this while loop
MAIN: 2025-04-14 19:18:36,545 - INFO - /home/pi/Desktop/images/14042025/19/18/image_14042025_19_18_36_29649.jpg
MAIN: 2025-04-14 19:18:36,545 - INFO - duration: 0.7057974039998953
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:19:06,186 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 19:19:06,452 - INFO - taking picture
MAIN: 2025-04-14 19:19:06,453 - INFO - we take 1538 photos in this while loop
MAIN: 2025-04-14 19:19:06,453 - INFO - /home/pi/Desktop/images/14042025/19/18/image_14042025_19_19_06_29953.jpg
MAIN: 2025-04-14 19:19:06,453 - INFO - duration: 0.6603606749995379
MAIN: 2025-04-14 19:19:06,454 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/19'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:19:37,483 - INFO - taking picture
MAIN: 2025-04-14 19:19:37,484 - INFO - we take 1539 photos in this while loop
MAIN: 2025-04-14 19:19:37,484 - INFO - /home/pi/Desktop/images/14042025/19/19/image_14042025_19_19_37_31016.jpg
MAIN: 2025-04-14 19:19:37,484 - INFO - duration: 0.6748322540006484
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:20:06,426 - INFO - taking picture
MAIN: 2025-04-14 19:20:06,426 - INFO - we take 1540 photos in this while loop
MAIN: 2025-04-14 19:20:06,427 - INFO - /home/pi/Desktop/images/14042025/19/19/image_14042025_19_20_06_28935.jpg
MAIN: 2025-04-14 19:20:06,427 - INFO - duration: 0.6824235210006009
MAIN: 2025-04-14 19:20:06,428 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/20'
MAIN: 2025-04-14 19:20:06,751 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:20:37,339 - INFO - taking picture
MAIN: 2025-04-14 19:20:37,339 - INFO - we take 1541 photos in this while loop
MAIN: 2025-04-14 19:20:37,340 - INFO - /home/pi/Desktop/images/14042025/19/20/image_14042025_19_20_36_30894.jpg
MAIN: 2025-04-14 19:20:37,340 - INFO - duration: 0.7001442649998353
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 19:21:06,272 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:21:07,189 - INFO - taking picture
MAIN: 2025-04-14 19:21:07,190 - INFO - we take 1542 photos in this while loop
MAIN: 2025-04-14 19:21:07,190 - INFO - /home/pi/Desktop/images/14042025/19/20/image_14042025_19_21_06_29860.jpg
MAIN: 2025-04-14 19:21:07,190 - INFO - duration: 0.6899296500050696
MAIN: 2025-04-14 19:21:07,190 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/21'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:21:36,837 - INFO - taking picture
MAIN: 2025-04-14 19:21:36,838 - INFO - we take 1543 photos in this while loop
MAIN: 2025-04-14 19:21:36,838 - INFO - /home/pi/Desktop/images/14042025/19/21/image_14042025_19_21_36_29641.jpg
MAIN: 2025-04-14 19:21:36,838 - INFO - duration: 0.6966650309987017
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 19:22:05,760 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:22:06,594 - INFO - taking picture
MAIN: 2025-04-14 19:22:06,594 - INFO - we take 1544 photos in this while loop
MAIN: 2025-04-14 19:22:06,594 - INFO - /home/pi/Desktop/images/14042025/19/21/image_14042025_19_22_06_29779.jpg
MAIN: 2025-04-14 19:22:06,595 - INFO - duration: 0.6738915620007901
MAIN: 2025-04-14 19:22:06,595 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/22'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:22:36,309 - INFO - taking picture
MAIN: 2025-04-14 19:22:36,309 - INFO - we take 1545 photos in this while loop
MAIN: 2025-04-14 19:22:36,310 - INFO - /home/pi/Desktop/images/14042025/19/22/image_14042025_19_22_35_29715.jpg
MAIN: 2025-04-14 19:22:36,310 - INFO - duration: 0.673574025000562
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 19:23:05,497 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:23:07,371 - INFO - taking picture
MAIN: 2025-04-14 19:23:07,371 - INFO - we take 1546 photos in this while loop
MAIN: 2025-04-14 19:23:07,372 - INFO - /home/pi/Desktop/images/14042025/19/22/image_14042025_19_23_06_31029.jpg
MAIN: 2025-04-14 19:23:07,372 - INFO - duration: 0.705651742995542
MAIN: 2025-04-14 19:23:07,372 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/23'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:23:37,015 - INFO - taking picture
MAIN: 2025-04-14 19:23:37,015 - INFO - we take 1547 photos in this while loop
MAIN: 2025-04-14 19:23:37,015 - INFO - /home/pi/Desktop/images/14042025/19/23/image_14042025_19_23_36_29665.jpg
MAIN: 2025-04-14 19:23:37,016 - INFO - duration: 0.6840823329985142
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 19:24:06,376 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:24:06,888 - INFO - taking picture
MAIN: 2025-04-14 19:24:06,889 - INFO - we take 1548 photos in this while loop
MAIN: 2025-04-14 19:24:06,889 - INFO - /home/pi/Desktop/images/14042025/19/23/image_14042025_19_24_06_29829.jpg
MAIN: 2025-04-14 19:24:06,889 - INFO - duration: 0.7275593179947464
MAIN: 2025-04-14 19:24:06,889 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/24'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:24:36,525 - INFO - taking picture
MAIN: 2025-04-14 19:24:36,525 - INFO - we take 1549 photos in this while loop
MAIN: 2025-04-14 19:24:36,525 - INFO - /home/pi/Desktop/images/14042025/19/24/image_14042025_19_24_36_29676.jpg
MAIN: 2025-04-14 19:24:36,526 - INFO - duration: 0.6877716270028031
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:25:06,171 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 19:25:06,582 - INFO - taking picture
MAIN: 2025-04-14 19:25:06,583 - INFO - we take 1550 photos in this while loop
MAIN: 2025-04-14 19:25:06,583 - INFO - /home/pi/Desktop/images/14042025/19/24/image_14042025_19_25_06_30048.jpg
MAIN: 2025-04-14 19:25:06,584 - INFO - duration: 0.6979806480012485
MAIN: 2025-04-14 19:25:06,585 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/25'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:25:37,454 - INFO - taking picture
MAIN: 2025-04-14 19:25:37,455 - INFO - we take 1551 photos in this while loop
MAIN: 2025-04-14 19:25:37,455 - INFO - /home/pi/Desktop/images/14042025/19/25/image_14042025_19_25_37_30920.jpg
MAIN: 2025-04-14 19:25:37,455 - INFO - duration: 0.6492380080017028
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 19:26:06,528 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:26:07,226 - INFO - taking picture
MAIN: 2025-04-14 19:26:07,227 - INFO - we take 1552 photos in this while loop
MAIN: 2025-04-14 19:26:07,227 - INFO - /home/pi/Desktop/images/14042025/19/25/image_14042025_19_26_06_29759.jpg
MAIN: 2025-04-14 19:26:07,227 - INFO - duration: 0.6610166099999333
MAIN: 2025-04-14 19:26:07,227 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/26'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:26:36,820 - INFO - taking picture
MAIN: 2025-04-14 19:26:36,821 - INFO - we take 1553 photos in this while loop
MAIN: 2025-04-14 19:26:36,821 - INFO - /home/pi/Desktop/images/14042025/19/26/image_14042025_19_26_36_29552.jpg
MAIN: 2025-04-14 19:26:36,821 - INFO - duration: 0.7021530749989324
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
MAIN: 2025-04-14 19:27:05,191 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:27:06,649 - INFO - taking picture
MAIN: 2025-04-14 19:27:06,649 - INFO - we take 1554 photos in this while loop
MAIN: 2025-04-14 19:27:06,650 - INFO - /home/pi/Desktop/images/14042025/19/26/image_14042025_19_27_06_29853.jpg
MAIN: 2025-04-14 19:27:06,650 - INFO - duration: 0.6776318359989091
MAIN: 2025-04-14 19:27:06,650 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/27'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:27:37,560 - INFO - taking picture
MAIN: 2025-04-14 19:27:37,561 - INFO - we take 1555 photos in this while loop
MAIN: 2025-04-14 19:27:37,561 - INFO - /home/pi/Desktop/images/14042025/19/27/image_14042025_19_27_37_30919.jpg
MAIN: 2025-04-14 19:27:37,561 - INFO - duration: 0.6692730939976173
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 19:28:05,767 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:28:07,507 - INFO - taking picture
MAIN: 2025-04-14 19:28:07,508 - INFO - we take 1556 photos in this while loop
MAIN: 2025-04-14 19:28:07,508 - INFO - /home/pi/Desktop/images/14042025/19/27/image_14042025_19_28_07_29924.jpg
MAIN: 2025-04-14 19:28:07,508 - INFO - duration: 0.692187216001912
MAIN: 2025-04-14 19:28:07,508 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/28'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:28:37,152 - INFO - taking picture
MAIN: 2025-04-14 19:28:37,153 - INFO - we take 1557 photos in this while loop
MAIN: 2025-04-14 19:28:37,153 - INFO - /home/pi/Desktop/images/14042025/19/28/image_14042025_19_28_36_29638.jpg
MAIN: 2025-04-14 19:28:37,154 - INFO - duration: 0.6996330570036662
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 19:29:05,689 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:29:07,467 - INFO - taking picture
MAIN: 2025-04-14 19:29:07,468 - INFO - we take 1558 photos in this while loop
MAIN: 2025-04-14 19:29:07,468 - INFO - /home/pi/Desktop/images/14042025/19/28/image_14042025_19_29_06_29872.jpg
MAIN: 2025-04-14 19:29:07,468 - INFO - duration: 1.1418291529989801
MAIN: 2025-04-14 19:29:07,468 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/29'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:29:37,285 - INFO - taking picture
MAIN: 2025-04-14 19:29:37,285 - INFO - we take 1559 photos in this while loop
MAIN: 2025-04-14 19:29:37,285 - INFO - /home/pi/Desktop/images/14042025/19/29/image_14042025_19_29_36_30269.jpg
MAIN: 2025-04-14 19:29:37,286 - INFO - duration: 0.690146196000569
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 19:30:06,613 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:30:07,246 - INFO - taking picture
MAIN: 2025-04-14 19:30:07,247 - INFO - we take 1560 photos in this while loop
MAIN: 2025-04-14 19:30:07,247 - INFO - /home/pi/Desktop/images/14042025/19/29/image_14042025_19_30_06_29943.jpg
MAIN: 2025-04-14 19:30:07,247 - INFO - duration: 0.7084111500007566
MAIN: 2025-04-14 19:30:07,248 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/30'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:30:36,764 - INFO - taking picture
MAIN: 2025-04-14 19:30:36,765 - INFO - we take 1561 photos in this while loop
MAIN: 2025-04-14 19:30:36,765 - INFO - /home/pi/Desktop/images/14042025/19/30/image_14042025_19_30_36_29554.jpg
MAIN: 2025-04-14 19:30:36,765 - INFO - duration: 0.6718740210053511
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 19:31:06,020 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:31:06,596 - INFO - taking picture
MAIN: 2025-04-14 19:31:06,596 - INFO - we take 1562 photos in this while loop
MAIN: 2025-04-14 19:31:06,596 - INFO - /home/pi/Desktop/images/14042025/19/30/image_14042025_19_31_06_29799.jpg
MAIN: 2025-04-14 19:31:06,597 - INFO - duration: 0.7043903290032176
MAIN: 2025-04-14 19:31:06,597 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/31'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:31:37,422 - INFO - taking picture
MAIN: 2025-04-14 19:31:37,423 - INFO - we take 1563 photos in this while loop
MAIN: 2025-04-14 19:31:37,423 - INFO - /home/pi/Desktop/images/14042025/19/31/image_14042025_19_31_37_30814.jpg
MAIN: 2025-04-14 19:31:37,424 - INFO - duration: 0.7170204919966636
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 19:32:05,605 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:32:07,457 - INFO - taking picture
MAIN: 2025-04-14 19:32:07,457 - INFO - we take 1564 photos in this while loop
MAIN: 2025-04-14 19:32:07,458 - INFO - /home/pi/Desktop/images/14042025/19/31/image_14042025_19_32_07_30109.jpg
MAIN: 2025-04-14 19:32:07,458 - INFO - duration: 0.6421951289958088
MAIN: 2025-04-14 19:32:07,458 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/32'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:32:37,017 - INFO - taking picture
MAIN: 2025-04-14 19:32:37,018 - INFO - we take 1565 photos in this while loop
MAIN: 2025-04-14 19:32:37,018 - INFO - /home/pi/Desktop/images/14042025/19/32/image_14042025_19_32_36_29555.jpg
MAIN: 2025-04-14 19:32:37,018 - INFO - duration: 0.647685862997605
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
MAIN: 2025-04-14 19:33:05,453 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:33:06,684 - INFO - taking picture
MAIN: 2025-04-14 19:33:06,685 - INFO - we take 1566 photos in this while loop
MAIN: 2025-04-14 19:33:06,685 - INFO - /home/pi/Desktop/images/14042025/19/32/image_14042025_19_33_06_29640.jpg
MAIN: 2025-04-14 19:33:06,685 - INFO - duration: 0.6737763889977941
MAIN: 2025-04-14 19:33:06,686 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/33'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:33:37,372 - INFO - taking picture
MAIN: 2025-04-14 19:33:37,373 - INFO - we take 1567 photos in this while loop
MAIN: 2025-04-14 19:33:37,373 - INFO - /home/pi/Desktop/images/14042025/19/33/image_14042025_19_33_36_30724.jpg
MAIN: 2025-04-14 19:33:37,374 - INFO - duration: 0.637224307996803
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
MAIN: 2025-04-14 19:34:06,304 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:34:07,392 - INFO - taking picture
MAIN: 2025-04-14 19:34:07,393 - INFO - we take 1568 photos in this while loop
MAIN: 2025-04-14 19:34:07,393 - INFO - /home/pi/Desktop/images/14042025/19/33/image_14042025_19_34_07_30015.jpg
MAIN: 2025-04-14 19:34:07,393 - INFO - duration: 0.6416898329989635
MAIN: 2025-04-14 19:34:07,394 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/34'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:34:37,094 - INFO - taking picture
MAIN: 2025-04-14 19:34:37,094 - INFO - we take 1569 photos in this while loop
MAIN: 2025-04-14 19:34:37,094 - INFO - /home/pi/Desktop/images/14042025/19/34/image_14042025_19_34_36_29641.jpg
MAIN: 2025-04-14 19:34:37,095 - INFO - duration: 0.7013022360042669
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 19:35:06,278 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:35:07,185 - INFO - taking picture
MAIN: 2025-04-14 19:35:07,186 - INFO - we take 1570 photos in this while loop
MAIN: 2025-04-14 19:35:07,186 - INFO - /home/pi/Desktop/images/14042025/19/34/image_14042025_19_35_06_30100.jpg
MAIN: 2025-04-14 19:35:07,186 - INFO - duration: 0.6920777589984937
MAIN: 2025-04-14 19:35:07,187 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/35'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:35:36,955 - INFO - taking picture
MAIN: 2025-04-14 19:35:36,956 - INFO - we take 1571 photos in this while loop
MAIN: 2025-04-14 19:35:36,956 - INFO - /home/pi/Desktop/images/14042025/19/35/image_14042025_19_35_36_29761.jpg
MAIN: 2025-04-14 19:35:36,956 - INFO - duration: 0.7006867739983136
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 19:36:06,473 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:36:07,081 - INFO - taking picture
MAIN: 2025-04-14 19:36:07,082 - INFO - we take 1572 photos in this while loop
MAIN: 2025-04-14 19:36:07,082 - INFO - /home/pi/Desktop/images/14042025/19/35/image_14042025_19_36_06_30129.jpg
MAIN: 2025-04-14 19:36:07,082 - INFO - duration: 0.6968966209969949
MAIN: 2025-04-14 19:36:07,083 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/36'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:36:36,649 - INFO - taking picture
MAIN: 2025-04-14 19:36:36,650 - INFO - we take 1573 photos in this while loop
MAIN: 2025-04-14 19:36:36,650 - INFO - /home/pi/Desktop/images/14042025/19/36/image_14042025_19_36_36_29567.jpg
MAIN: 2025-04-14 19:36:36,650 - INFO - duration: 0.6975389680010267
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 19:37:05,583 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:37:06,334 - INFO - taking picture
MAIN: 2025-04-14 19:37:06,335 - INFO - we take 1574 photos in this while loop
MAIN: 2025-04-14 19:37:06,335 - INFO - /home/pi/Desktop/images/14042025/19/36/image_14042025_19_37_05_29722.jpg
MAIN: 2025-04-14 19:37:06,335 - INFO - duration: 0.6595263109993539
MAIN: 2025-04-14 19:37:06,335 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/37'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:37:37,268 - INFO - taking picture
MAIN: 2025-04-14 19:37:37,269 - INFO - we take 1575 photos in this while loop
MAIN: 2025-04-14 19:37:37,269 - INFO - /home/pi/Desktop/images/14042025/19/37/image_14042025_19_37_36_30931.jpg
MAIN: 2025-04-14 19:37:37,269 - INFO - duration: 0.6622129809984472
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 19:38:05,873 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0

 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)MAIN: 2025-04-14 19:38:07,205 - INFO - taking picture
MAIN: 2025-04-14 19:38:07,205 - INFO - we take 1576 photos in this while loop
MAIN: 2025-04-14 19:38:07,205 - INFO - /home/pi/Desktop/images/14042025/19/37/image_14042025_19_38_06_29940.jpg
MAIN: 2025-04-14 19:38:07,206 - INFO - duration: 0.6579422529976
MAIN: 2025-04-14 19:38:07,206 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/38'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:38:36,834 - INFO - taking picture
MAIN: 2025-04-14 19:38:36,834 - INFO - we take 1577 photos in this while loop
MAIN: 2025-04-14 19:38:36,835 - INFO - /home/pi/Desktop/images/14042025/19/38/image_14042025_19_38_36_29608.jpg
MAIN: 2025-04-14 19:38:36,835 - INFO - duration: 0.6791021009994438
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 19:39:06,184 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:39:06,918 - INFO - taking picture
MAIN: 2025-04-14 19:39:06,919 - INFO - we take 1578 photos in this while loop
MAIN: 2025-04-14 19:39:06,919 - INFO - /home/pi/Desktop/images/14042025/19/38/image_14042025_19_39_06_30116.jpg
MAIN: 2025-04-14 19:39:06,919 - INFO - duration: 0.6468859019951196
MAIN: 2025-04-14 19:39:06,920 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/39'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:39:36,625 - INFO - taking picture
MAIN: 2025-04-14 19:39:36,626 - INFO - we take 1579 photos in this while loop
MAIN: 2025-04-14 19:39:36,626 - INFO - /home/pi/Desktop/images/14042025/19/39/image_14042025_19_39_36_29662.jpg
MAIN: 2025-04-14 19:39:36,626 - INFO - duration: 0.6912504920037463
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:40:06,958 - INFO - taking picture
MAIN: 2025-04-14 19:40:06,958 - INFO - we take 1580 photos in this while loop
MAIN: 2025-04-14 19:40:06,959 - INFO - /home/pi/Desktop/images/14042025/19/39/image_14042025_19_40_06_30328.jpg
MAIN: 2025-04-14 19:40:06,959 - INFO - duration: 0.6954376299981959
MAIN: 2025-04-14 19:40:06,959 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/40'
MAIN: 2025-04-14 19:40:07,022 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:40:36,555 - INFO - taking picture
MAIN: 2025-04-14 19:40:36,556 - INFO - we take 1581 photos in this while loop
MAIN: 2025-04-14 19:40:36,556 - INFO - /home/pi/Desktop/images/14042025/19/40/image_14042025_19_40_36_29585.jpg
MAIN: 2025-04-14 19:40:36,556 - INFO - duration: 0.7070127889965079
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 19:41:06,114 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:41:07,590 - INFO - taking picture
MAIN: 2025-04-14 19:41:07,591 - INFO - we take 1582 photos in this while loop
MAIN: 2025-04-14 19:41:07,591 - INFO - /home/pi/Desktop/images/14042025/19/40/image_14042025_19_41_07_31024.jpg
MAIN: 2025-04-14 19:41:07,591 - INFO - duration: 0.7174804489986855
MAIN: 2025-04-14 19:41:07,592 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/41'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:41:37,212 - INFO - taking picture
MAIN: 2025-04-14 19:41:37,212 - INFO - we take 1583 photos in this while loop
MAIN: 2025-04-14 19:41:37,212 - INFO - /home/pi/Desktop/images/14042025/19/41/image_14042025_19_41_36_29660.jpg
MAIN: 2025-04-14 19:41:37,213 - INFO - duration: 0.6781522170058452
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 19:42:06,057 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:42:07,361 - INFO - taking picture
MAIN: 2025-04-14 19:42:07,362 - INFO - we take 1584 photos in this while loop
MAIN: 2025-04-14 19:42:07,362 - INFO - /home/pi/Desktop/images/14042025/19/41/image_14042025_19_42_06_30138.jpg
MAIN: 2025-04-14 19:42:07,362 - INFO - duration: 0.689451594997081
MAIN: 2025-04-14 19:42:07,363 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/42'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:42:36,979 - INFO - taking picture
MAIN: 2025-04-14 19:42:36,980 - INFO - we take 1585 photos in this while loop
MAIN: 2025-04-14 19:42:36,980 - INFO - /home/pi/Desktop/images/14042025/19/42/image_14042025_19_42_36_29612.jpg
MAIN: 2025-04-14 19:42:36,980 - INFO - duration: 0.6953503990007448
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 19:43:05,670 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:43:06,808 - INFO - taking picture
MAIN: 2025-04-14 19:43:06,808 - INFO - we take 1586 photos in this while loop
MAIN: 2025-04-14 19:43:06,808 - INFO - /home/pi/Desktop/images/14042025/19/42/image_14042025_19_43_06_29830.jpg
MAIN: 2025-04-14 19:43:06,809 - INFO - duration: 0.6929768589980085
MAIN: 2025-04-14 19:43:06,809 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/43'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:43:36,440 - INFO - taking picture
MAIN: 2025-04-14 19:43:36,441 - INFO - we take 1587 photos in this while loop
MAIN: 2025-04-14 19:43:36,441 - INFO - /home/pi/Desktop/images/14042025/19/43/image_14042025_19_43_36_29630.jpg
MAIN: 2025-04-14 19:43:36,441 - INFO - duration: 0.6943736820030608
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:44:06,320 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 19:44:06,590 - INFO - taking picture
MAIN: 2025-04-14 19:44:06,590 - INFO - we take 1588 photos in this while loop
MAIN: 2025-04-14 19:44:06,590 - INFO - /home/pi/Desktop/images/14042025/19/43/image_14042025_19_44_06_30146.jpg
MAIN: 2025-04-14 19:44:06,591 - INFO - duration: 0.6976316540021799
MAIN: 2025-04-14 19:44:06,591 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/44'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:44:37,373 - INFO - taking picture
MAIN: 2025-04-14 19:44:37,374 - INFO - we take 1589 photos in this while loop
MAIN: 2025-04-14 19:44:37,374 - INFO - /home/pi/Desktop/images/14042025/19/44/image_14042025_19_44_36_30803.jpg
MAIN: 2025-04-14 19:44:37,374 - INFO - duration: 0.6771815999964019
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 19:45:06,601 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:45:07,321 - INFO - taking picture
MAIN: 2025-04-14 19:45:07,321 - INFO - we take 1590 photos in this while loop
MAIN: 2025-04-14 19:45:07,322 - INFO - /home/pi/Desktop/images/14042025/19/44/image_14042025_19_45_06_29973.jpg
MAIN: 2025-04-14 19:45:07,322 - INFO - duration: 0.6517534200029331
MAIN: 2025-04-14 19:45:07,322 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/45'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:45:37,015 - INFO - taking picture
MAIN: 2025-04-14 19:45:37,015 - INFO - we take 1591 photos in this while loop
MAIN: 2025-04-14 19:45:37,016 - INFO - /home/pi/Desktop/images/14042025/19/45/image_14042025_19_45_36_29665.jpg
MAIN: 2025-04-14 19:45:37,016 - INFO - duration: 0.680753894004738
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 19:46:06,317 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:46:06,990 - INFO - taking picture
MAIN: 2025-04-14 19:46:06,991 - INFO - we take 1592 photos in this while loop
MAIN: 2025-04-14 19:46:06,991 - INFO - /home/pi/Desktop/images/14042025/19/45/image_14042025_19_46_06_29957.jpg
MAIN: 2025-04-14 19:46:06,991 - INFO - duration: 0.6991149910027161
MAIN: 2025-04-14 19:46:06,992 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/46'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:46:36,684 - INFO - taking picture
MAIN: 2025-04-14 19:46:36,684 - INFO - we take 1593 photos in this while loop
MAIN: 2025-04-14 19:46:36,684 - INFO - /home/pi/Desktop/images/14042025/19/46/image_14042025_19_46_36_29681.jpg
MAIN: 2025-04-14 19:46:36,685 - INFO - duration: 0.7102254109995556
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 19:47:05,203 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:47:06,481 - INFO - taking picture
MAIN: 2025-04-14 19:47:06,481 - INFO - we take 1594 photos in this while loop
MAIN: 2025-04-14 19:47:06,482 - INFO - /home/pi/Desktop/images/14042025/19/46/image_14042025_19_47_06_29826.jpg
MAIN: 2025-04-14 19:47:06,482 - INFO - duration: 0.6807618659950094
MAIN: 2025-04-14 19:47:06,482 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/47'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:47:37,342 - INFO - taking picture
MAIN: 2025-04-14 19:47:37,343 - INFO - we take 1595 photos in this while loop
MAIN: 2025-04-14 19:47:37,343 - INFO - /home/pi/Desktop/images/14042025/19/47/image_14042025_19_47_36_30838.jpg
MAIN: 2025-04-14 19:47:37,343 - INFO - duration: 0.7043418690009275
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 19:48:06,041 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:48:07,504 - INFO - taking picture
MAIN: 2025-04-14 19:48:07,505 - INFO - we take 1596 photos in this while loop
MAIN: 2025-04-14 19:48:07,505 - INFO - /home/pi/Desktop/images/14042025/19/47/image_14042025_19_48_07_30165.jpg
MAIN: 2025-04-14 19:48:07,505 - INFO - duration: 0.7007359849958448
MAIN: 2025-04-14 19:48:07,505 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/48'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:48:37,173 - INFO - taking picture
MAIN: 2025-04-14 19:48:37,174 - INFO - we take 1597 photos in this while loop
MAIN: 2025-04-14 19:48:37,174 - INFO - /home/pi/Desktop/images/14042025/19/48/image_14042025_19_48_36_29663.jpg
MAIN: 2025-04-14 19:48:37,174 - INFO - duration: 0.706519526996999
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 19:49:06,321 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:49:06,954 - INFO - taking picture
MAIN: 2025-04-14 19:49:06,954 - INFO - we take 1598 photos in this while loop
MAIN: 2025-04-14 19:49:06,955 - INFO - /home/pi/Desktop/images/14042025/19/48/image_14042025_19_49_06_29774.jpg
MAIN: 2025-04-14 19:49:06,955 - INFO - duration: 0.7127922889994807
MAIN: 2025-04-14 19:49:06,955 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/49'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:49:36,733 - INFO - taking picture
MAIN: 2025-04-14 19:49:36,733 - INFO - we take 1599 photos in this while loop
MAIN: 2025-04-14 19:49:36,734 - INFO - /home/pi/Desktop/images/14042025/19/49/image_14042025_19_49_36_29786.jpg
MAIN: 2025-04-14 19:49:36,734 - INFO - duration: 0.7051585389999673
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:50:06,537 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 19:50:06,966 - INFO - taking picture
MAIN: 2025-04-14 19:50:06,967 - INFO - we take 1600 photos in this while loop
MAIN: 2025-04-14 19:50:06,967 - INFO - /home/pi/Desktop/images/14042025/19/49/image_14042025_19_50_06_30242.jpg
MAIN: 2025-04-14 19:50:06,967 - INFO - duration: 0.6954636939990451
MAIN: 2025-04-14 19:50:06,967 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/50'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:50:36,505 - INFO - taking picture
MAIN: 2025-04-14 19:50:36,505 - INFO - we take 1601 photos in this while loop
MAIN: 2025-04-14 19:50:36,506 - INFO - /home/pi/Desktop/images/14042025/19/50/image_14042025_19_50_36_29534.jpg
MAIN: 2025-04-14 19:50:36,506 - INFO - duration: 0.7001037480004015
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 19:51:06,210 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:51:06,710 - INFO - taking picture
MAIN: 2025-04-14 19:51:06,710 - INFO - we take 1602 photos in this while loop
MAIN: 2025-04-14 19:51:06,710 - INFO - /home/pi/Desktop/images/14042025/19/50/image_14042025_19_51_06_30183.jpg
MAIN: 2025-04-14 19:51:06,711 - INFO - duration: 0.7216820850007934
MAIN: 2025-04-14 19:51:06,711 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/51'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:51:36,359 - INFO - taking picture
MAIN: 2025-04-14 19:51:36,359 - INFO - we take 1603 photos in this while loop
MAIN: 2025-04-14 19:51:36,359 - INFO - /home/pi/Desktop/images/14042025/19/51/image_14042025_19_51_35_29676.jpg
MAIN: 2025-04-14 19:51:36,360 - INFO - duration: 0.6947591650023242
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 19:52:06,592 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:52:07,476 - INFO - taking picture
MAIN: 2025-04-14 19:52:07,477 - INFO - we take 1604 photos in this while loop
MAIN: 2025-04-14 19:52:07,477 - INFO - /home/pi/Desktop/images/14042025/19/51/image_14042025_19_52_07_31175.jpg
MAIN: 2025-04-14 19:52:07,477 - INFO - duration: 0.6369177799933823
MAIN: 2025-04-14 19:52:07,477 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/52'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:52:37,159 - INFO - taking picture
MAIN: 2025-04-14 19:52:37,159 - INFO - we take 1605 photos in this while loop
MAIN: 2025-04-14 19:52:37,160 - INFO - /home/pi/Desktop/images/14042025/19/52/image_14042025_19_52_36_29625.jpg
MAIN: 2025-04-14 19:52:37,160 - INFO - duration: 0.6940204950005864
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 19:53:05,830 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:53:06,958 - INFO - taking picture
MAIN: 2025-04-14 19:53:06,959 - INFO - we take 1606 photos in this while loop
MAIN: 2025-04-14 19:53:06,959 - INFO - /home/pi/Desktop/images/14042025/19/52/image_14042025_19_53_06_29796.jpg
MAIN: 2025-04-14 19:53:06,959 - INFO - duration: 0.6972069600014947
MAIN: 2025-04-14 19:53:06,959 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/53'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:53:36,695 - INFO - taking picture
MAIN: 2025-04-14 19:53:36,696 - INFO - we take 1607 photos in this while loop
MAIN: 2025-04-14 19:53:36,696 - INFO - /home/pi/Desktop/images/14042025/19/53/image_14042025_19_53_36_29722.jpg
MAIN: 2025-04-14 19:53:36,696 - INFO - duration: 0.712143549004395
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:54:06,598 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 19:54:06,819 - INFO - taking picture
MAIN: 2025-04-14 19:54:06,820 - INFO - we take 1608 photos in this while loop
MAIN: 2025-04-14 19:54:06,820 - INFO - /home/pi/Desktop/images/14042025/19/53/image_14042025_19_54_06_30128.jpg
MAIN: 2025-04-14 19:54:06,820 - INFO - duration: 0.7081152149985428
MAIN: 2025-04-14 19:54:06,821 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/54'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:54:36,458 - INFO - taking picture
MAIN: 2025-04-14 19:54:36,459 - INFO - we take 1609 photos in this while loop
MAIN: 2025-04-14 19:54:36,459 - INFO - /home/pi/Desktop/images/14042025/19/54/image_14042025_19_54_36_29651.jpg
MAIN: 2025-04-14 19:54:36,459 - INFO - duration: 0.6953173950023483
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:55:06,769 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 19:55:06,775 - INFO - taking picture
MAIN: 2025-04-14 19:55:06,776 - INFO - we take 1610 photos in this while loop
MAIN: 2025-04-14 19:55:06,776 - INFO - /home/pi/Desktop/images/14042025/19/54/image_14042025_19_55_06_30339.jpg
MAIN: 2025-04-14 19:55:06,777 - INFO - duration: 0.6735563359980006
MAIN: 2025-04-14 19:55:06,777 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/55'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:55:36,439 - INFO - taking picture
MAIN: 2025-04-14 19:55:36,440 - INFO - we take 1611 photos in this while loop
MAIN: 2025-04-14 19:55:36,440 - INFO - /home/pi/Desktop/images/14042025/19/55/image_14042025_19_55_36_29632.jpg
MAIN: 2025-04-14 19:55:36,440 - INFO - duration: 0.7042417020056746
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:56:06,444 - INFO - taking picture
MAIN: 2025-04-14 19:56:06,444 - INFO - we take 1612 photos in this while loop
MAIN: 2025-04-14 19:56:06,444 - INFO - /home/pi/Desktop/images/14042025/19/55/image_14042025_19_56_06_30031.jpg
MAIN: 2025-04-14 19:56:06,444 - INFO - duration: 0.6767813209953601
MAIN: 2025-04-14 19:56:06,445 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/56'
MAIN: 2025-04-14 19:56:06,625 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:56:37,316 - INFO - taking picture
MAIN: 2025-04-14 19:56:37,317 - INFO - we take 1613 photos in this while loop
MAIN: 2025-04-14 19:56:37,317 - INFO - /home/pi/Desktop/images/14042025/19/56/image_14042025_19_56_36_30849.jpg
MAIN: 2025-04-14 19:56:37,317 - INFO - duration: 0.7005246480039204
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 19:57:05,425 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:57:07,057 - INFO - taking picture
MAIN: 2025-04-14 19:57:07,058 - INFO - we take 1614 photos in this while loop
MAIN: 2025-04-14 19:57:07,058 - INFO - /home/pi/Desktop/images/14042025/19/56/image_14042025_19_57_06_29776.jpg
MAIN: 2025-04-14 19:57:07,058 - INFO - duration: 0.6648829100013245
MAIN: 2025-04-14 19:57:07,058 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/57'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:57:36,663 - INFO - taking picture
MAIN: 2025-04-14 19:57:36,664 - INFO - we take 1615 photos in this while loop
MAIN: 2025-04-14 19:57:36,664 - INFO - /home/pi/Desktop/images/14042025/19/57/image_14042025_19_57_36_29575.jpg
MAIN: 2025-04-14 19:57:36,664 - INFO - duration: 0.6960933829977876
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 19:58:06,010 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:58:06,705 - INFO - taking picture
MAIN: 2025-04-14 19:58:06,705 - INFO - we take 1616 photos in this while loop
MAIN: 2025-04-14 19:58:06,706 - INFO - /home/pi/Desktop/images/14042025/19/57/image_14042025_19_58_06_30031.jpg
MAIN: 2025-04-14 19:58:06,706 - INFO - duration: 0.7058880000040517
MAIN: 2025-04-14 19:58:06,706 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/58'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=58 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:58:36,397 - INFO - taking picture
MAIN: 2025-04-14 19:58:36,398 - INFO - we take 1617 photos in this while loop
MAIN: 2025-04-14 19:58:36,398 - INFO - /home/pi/Desktop/images/14042025/19/58/image_14042025_19_58_36_29703.jpg
MAIN: 2025-04-14 19:58:36,398 - INFO - duration: 0.6952125989992055
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 19:59:05,616 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:59:06,330 - INFO - taking picture
MAIN: 2025-04-14 19:59:06,330 - INFO - we take 1618 photos in this while loop
MAIN: 2025-04-14 19:59:06,330 - INFO - /home/pi/Desktop/images/14042025/19/58/image_14042025_19_59_05_29938.jpg
MAIN: 2025-04-14 19:59:06,331 - INFO - duration: 0.6894582969980547
MAIN: 2025-04-14 19:59:06,331 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/19/59'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 19:59:37,405 - INFO - taking picture
MAIN: 2025-04-14 19:59:37,405 - INFO - we take 1619 photos in this while loop
MAIN: 2025-04-14 19:59:37,405 - INFO - /home/pi/Desktop/images/14042025/19/59/image_14042025_19_59_37_31071.jpg
MAIN: 2025-04-14 19:59:37,406 - INFO - duration: 0.6929237450021901
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:00:06,423 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 20:00:06,624 - INFO - taking picture
MAIN: 2025-04-14 20:00:06,624 - INFO - we take 1620 photos in this while loop
MAIN: 2025-04-14 20:00:06,625 - INFO - /home/pi/Desktop/images/14042025/19/59/image_14042025_20_00_06_29222.jpg
MAIN: 2025-04-14 20:00:06,625 - INFO - duration: 0.6895262719990569
MAIN: 2025-04-14 20:00:06,625 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/00'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:00:36,338 - INFO - taking picture
MAIN: 2025-04-14 20:00:36,338 - INFO - we take 1621 photos in this while loop
MAIN: 2025-04-14 20:00:36,338 - INFO - /home/pi/Desktop/images/14042025/20/00/image_14042025_20_00_35_29694.jpg
MAIN: 2025-04-14 20:00:36,339 - INFO - duration: 0.7089834030048223
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:01:05,730 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:01:07,507 - INFO - taking picture
MAIN: 2025-04-14 20:01:07,508 - INFO - we take 1622 photos in this while loop
MAIN: 2025-04-14 20:01:07,508 - INFO - /home/pi/Desktop/images/14042025/20/00/image_14042025_20_01_07_31208.jpg
MAIN: 2025-04-14 20:01:07,508 - INFO - duration: 0.6706059550051577
MAIN: 2025-04-14 20:01:07,509 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/01'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:01:37,123 - INFO - taking picture
MAIN: 2025-04-14 20:01:37,123 - INFO - we take 1623 photos in this while loop
MAIN: 2025-04-14 20:01:37,124 - INFO - /home/pi/Desktop/images/14042025/20/01/image_14042025_20_01_36_29589.jpg
MAIN: 2025-04-14 20:01:37,124 - INFO - duration: 0.6965936659980798
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:02:06,063 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:02:07,047 - INFO - taking picture
MAIN: 2025-04-14 20:02:07,047 - INFO - we take 1624 photos in this while loop
MAIN: 2025-04-14 20:02:07,048 - INFO - /home/pi/Desktop/images/14042025/20/01/image_14042025_20_02_06_29977.jpg
MAIN: 2025-04-14 20:02:07,048 - INFO - duration: 0.6433638169983169
MAIN: 2025-04-14 20:02:07,048 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/02'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:02:36,776 - INFO - taking picture
MAIN: 2025-04-14 20:02:36,776 - INFO - we take 1625 photos in this while loop
MAIN: 2025-04-14 20:02:36,776 - INFO - /home/pi/Desktop/images/14042025/20/02/image_14042025_20_02_36_29694.jpg
MAIN: 2025-04-14 20:02:36,777 - INFO - duration: 0.6777772109999205
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:03:05,897 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:03:06,658 - INFO - taking picture
MAIN: 2025-04-14 20:03:06,658 - INFO - we take 1626 photos in this while loop
MAIN: 2025-04-14 20:03:06,659 - INFO - /home/pi/Desktop/images/14042025/20/02/image_14042025_20_03_06_29879.jpg
MAIN: 2025-04-14 20:03:06,659 - INFO - duration: 0.6808582930025295
MAIN: 2025-04-14 20:03:06,659 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/03'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:03:37,596 - INFO - taking picture
MAIN: 2025-04-14 20:03:37,597 - INFO - we take 1627 photos in this while loop
MAIN: 2025-04-14 20:03:37,597 - INFO - /home/pi/Desktop/images/14042025/20/03/image_14042025_20_03_37_30917.jpg
MAIN: 2025-04-14 20:03:37,597 - INFO - duration: 0.7019026150010177
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:04:06,246 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:04:07,307 - INFO - taking picture
MAIN: 2025-04-14 20:04:07,308 - INFO - we take 1628 photos in this while loop
MAIN: 2025-04-14 20:04:07,308 - INFO - /home/pi/Desktop/images/14042025/20/03/image_14042025_20_04_06_29775.jpg
MAIN: 2025-04-14 20:04:07,308 - INFO - duration: 0.6370929230033653
MAIN: 2025-04-14 20:04:07,309 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/04'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:04:37,131 - INFO - taking picture
MAIN: 2025-04-14 20:04:37,132 - INFO - we take 1629 photos in this while loop
MAIN: 2025-04-14 20:04:37,132 - INFO - /home/pi/Desktop/images/14042025/20/04/image_14042025_20_04_36_29751.jpg
MAIN: 2025-04-14 20:04:37,132 - INFO - duration: 0.7092771750030806
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:05:06,645 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:05:07,490 - INFO - taking picture
MAIN: 2025-04-14 20:05:07,491 - INFO - we take 1630 photos in this while loop
MAIN: 2025-04-14 20:05:07,491 - INFO - /home/pi/Desktop/images/14042025/20/04/image_14042025_20_05_07_30375.jpg
MAIN: 2025-04-14 20:05:07,491 - INFO - duration: 0.6934448089959915
MAIN: 2025-04-14 20:05:07,492 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/05'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:05:37,122 - INFO - taking picture
MAIN: 2025-04-14 20:05:37,122 - INFO - we take 1631 photos in this while loop
MAIN: 2025-04-14 20:05:37,123 - INFO - /home/pi/Desktop/images/14042025/20/05/image_14042025_20_05_36_29647.jpg
MAIN: 2025-04-14 20:05:37,123 - INFO - duration: 0.6772847880056361
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:06:05,660 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:06:06,889 - INFO - taking picture
MAIN: 2025-04-14 20:06:06,890 - INFO - we take 1632 photos in this while loop
MAIN: 2025-04-14 20:06:06,890 - INFO - /home/pi/Desktop/images/14042025/20/05/image_14042025_20_06_06_29774.jpg
MAIN: 2025-04-14 20:06:06,890 - INFO - duration: 0.6704693559950101
MAIN: 2025-04-14 20:06:06,891 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/06'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:06:36,625 - INFO - taking picture
MAIN: 2025-04-14 20:06:36,626 - INFO - we take 1633 photos in this while loop
MAIN: 2025-04-14 20:06:36,626 - INFO - /home/pi/Desktop/images/14042025/20/06/image_14042025_20_06_36_29706.jpg
MAIN: 2025-04-14 20:06:36,626 - INFO - duration: 0.7000205090007512
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:07:05,846 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:07:06,480 - INFO - taking picture
MAIN: 2025-04-14 20:07:06,481 - INFO - we take 1634 photos in this while loop
MAIN: 2025-04-14 20:07:06,481 - INFO - /home/pi/Desktop/images/14042025/20/06/image_14042025_20_07_06_29859.jpg
MAIN: 2025-04-14 20:07:06,481 - INFO - duration: 0.6959691419979208
MAIN: 2025-04-14 20:07:06,482 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/07'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:07:37,467 - INFO - taking picture
MAIN: 2025-04-14 20:07:37,467 - INFO - we take 1635 photos in this while loop
MAIN: 2025-04-14 20:07:37,467 - INFO - /home/pi/Desktop/images/14042025/20/07/image_14042025_20_07_37_30982.jpg
MAIN: 2025-04-14 20:07:37,468 - INFO - duration: 0.6998310100025265
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
MAIN: 2025-04-14 20:08:06,357 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:08:07,361 - INFO - taking picture
MAIN: 2025-04-14 20:08:07,361 - INFO - we take 1636 photos in this while loop
MAIN: 2025-04-14 20:08:07,361 - INFO - /home/pi/Desktop/images/14042025/20/07/image_14042025_20_08_06_29957.jpg
MAIN: 2025-04-14 20:08:07,362 - INFO - duration: 0.6361378419969697
MAIN: 2025-04-14 20:08:07,362 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/08'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:08:36,910 - INFO - taking picture
MAIN: 2025-04-14 20:08:36,912 - INFO - we take 1637 photos in this while loop
MAIN: 2025-04-14 20:08:36,913 - INFO - /home/pi/Desktop/images/14042025/20/08/image_14042025_20_08_36_29539.jpg
MAIN: 2025-04-14 20:08:36,913 - INFO - duration: 0.647226799002965
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:09:06,101 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:09:06,904 - INFO - taking picture
MAIN: 2025-04-14 20:09:06,905 - INFO - we take 1638 photos in this while loop
MAIN: 2025-04-14 20:09:06,905 - INFO - /home/pi/Desktop/images/14042025/20/08/image_14042025_20_09_06_29994.jpg
MAIN: 2025-04-14 20:09:06,905 - INFO - duration: 0.6447632489944226
MAIN: 2025-04-14 20:09:06,905 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/09'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:09:36,606 - INFO - taking picture
MAIN: 2025-04-14 20:09:36,607 - INFO - we take 1639 photos in this while loop
MAIN: 2025-04-14 20:09:36,607 - INFO - /home/pi/Desktop/images/14042025/20/09/image_14042025_20_09_36_29669.jpg
MAIN: 2025-04-14 20:09:36,607 - INFO - duration: 0.6768739350009128
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:10:06,481 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:10:06,981 - INFO - taking picture
MAIN: 2025-04-14 20:10:06,981 - INFO - we take 1640 photos in this while loop
MAIN: 2025-04-14 20:10:06,982 - INFO - /home/pi/Desktop/images/14042025/20/09/image_14042025_20_10_06_30339.jpg
MAIN: 2025-04-14 20:10:06,982 - INFO - duration: 0.7118269659986254
MAIN: 2025-04-14 20:10:06,982 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/10'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:10:36,689 - INFO - taking picture
MAIN: 2025-04-14 20:10:36,690 - INFO - we take 1641 photos in this while loop
MAIN: 2025-04-14 20:10:36,690 - INFO - /home/pi/Desktop/images/14042025/20/10/image_14042025_20_10_36_29720.jpg
MAIN: 2025-04-14 20:10:36,690 - INFO - duration: 0.6997976829952677
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:11:05,403 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:11:06,626 - INFO - taking picture
MAIN: 2025-04-14 20:11:06,627 - INFO - we take 1642 photos in this while loop
MAIN: 2025-04-14 20:11:06,627 - INFO - /home/pi/Desktop/images/14042025/20/10/image_14042025_20_11_06_29957.jpg
MAIN: 2025-04-14 20:11:06,627 - INFO - duration: 0.6797826680049184
MAIN: 2025-04-14 20:11:06,627 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/11'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:11:37,299 - INFO - taking picture
MAIN: 2025-04-14 20:11:37,300 - INFO - we take 1643 photos in this while loop
MAIN: 2025-04-14 20:11:37,300 - INFO - /home/pi/Desktop/images/14042025/20/11/image_14042025_20_11_36_30710.jpg
MAIN: 2025-04-14 20:11:37,300 - INFO - duration: 0.6421324879993335
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:12:05,849 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:12:07,111 - INFO - taking picture
MAIN: 2025-04-14 20:12:07,111 - INFO - we take 1644 photos in this while loop
MAIN: 2025-04-14 20:12:07,111 - INFO - /home/pi/Desktop/images/14042025/20/11/image_14042025_20_12_06_29810.jpg
MAIN: 2025-04-14 20:12:07,112 - INFO - duration: 0.6434806600009324
MAIN: 2025-04-14 20:12:07,112 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/12'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:12:36,666 - INFO - taking picture
MAIN: 2025-04-14 20:12:36,666 - INFO - we take 1645 photos in this while loop
MAIN: 2025-04-14 20:12:36,666 - INFO - /home/pi/Desktop/images/14042025/20/12/image_14042025_20_12_36_29562.jpg
MAIN: 2025-04-14 20:12:36,667 - INFO - duration: 0.636135964996356
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:13:05,975 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:13:06,533 - INFO - taking picture
MAIN: 2025-04-14 20:13:06,534 - INFO - we take 1646 photos in this while loop
MAIN: 2025-04-14 20:13:06,534 - INFO - /home/pi/Desktop/images/14042025/20/12/image_14042025_20_13_06_29851.jpg
MAIN: 2025-04-14 20:13:06,534 - INFO - duration: 0.6523487279991969
MAIN: 2025-04-14 20:13:06,535 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/13'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:13:37,381 - INFO - taking picture
MAIN: 2025-04-14 20:13:37,381 - INFO - we take 1647 photos in this while loop
MAIN: 2025-04-14 20:13:37,381 - INFO - /home/pi/Desktop/images/14042025/20/13/image_14042025_20_13_36_30824.jpg
MAIN: 2025-04-14 20:13:37,382 - INFO - duration: 0.6749724309993326
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:14:06,417 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:14:07,366 - INFO - taking picture
MAIN: 2025-04-14 20:14:07,367 - INFO - we take 1648 photos in this while loop
MAIN: 2025-04-14 20:14:07,367 - INFO - /home/pi/Desktop/images/14042025/20/13/image_14042025_20_14_06_30018.jpg
MAIN: 2025-04-14 20:14:07,367 - INFO - duration: 0.6421660070045618
MAIN: 2025-04-14 20:14:07,367 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/14'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:14:37,067 - INFO - taking picture
MAIN: 2025-04-14 20:14:37,067 - INFO - we take 1649 photos in this while loop
MAIN: 2025-04-14 20:14:37,068 - INFO - /home/pi/Desktop/images/14042025/20/14/image_14042025_20_14_36_29664.jpg
MAIN: 2025-04-14 20:14:37,068 - INFO - duration: 0.678159560993663
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:15:07,185 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 20:15:07,250 - INFO - taking picture
MAIN: 2025-04-14 20:15:07,251 - INFO - we take 1650 photos in this while loop
MAIN: 2025-04-14 20:15:07,252 - INFO - /home/pi/Desktop/images/14042025/20/14/image_14042025_20_15_06_30151.jpg
MAIN: 2025-04-14 20:15:07,252 - INFO - duration: 0.710389309002494
MAIN: 2025-04-14 20:15:07,253 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/15'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:15:36,856 - INFO - taking picture
MAIN: 2025-04-14 20:15:36,856 - INFO - we take 1651 photos in this while loop
MAIN: 2025-04-14 20:15:36,856 - INFO - /home/pi/Desktop/images/14042025/20/15/image_14042025_20_15_36_29668.jpg
MAIN: 2025-04-14 20:15:36,857 - INFO - duration: 0.6466523009949015
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:16:05,731 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:16:06,852 - INFO - taking picture
MAIN: 2025-04-14 20:16:06,853 - INFO - we take 1652 photos in this while loop
MAIN: 2025-04-14 20:16:06,853 - INFO - /home/pi/Desktop/images/14042025/20/15/image_14042025_20_16_06_29978.jpg
MAIN: 2025-04-14 20:16:06,853 - INFO - duration: 0.664691887999652
MAIN: 2025-04-14 20:16:06,854 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/16'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:16:36,584 - INFO - taking picture
MAIN: 2025-04-14 20:16:36,585 - INFO - we take 1653 photos in this while loop
MAIN: 2025-04-14 20:16:36,585 - INFO - /home/pi/Desktop/images/14042025/20/16/image_14042025_20_16_36_29711.jpg
MAIN: 2025-04-14 20:16:36,585 - INFO - duration: 0.6856304870016174
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:17:05,673 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:17:06,554 - INFO - taking picture
MAIN: 2025-04-14 20:17:06,554 - INFO - we take 1654 photos in this while loop
MAIN: 2025-04-14 20:17:06,554 - INFO - /home/pi/Desktop/images/14042025/20/16/image_14042025_20_17_06_29965.jpg
MAIN: 2025-04-14 20:17:06,555 - INFO - duration: 0.6893963710026583
MAIN: 2025-04-14 20:17:06,555 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/17'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:17:37,405 - INFO - taking picture
MAIN: 2025-04-14 20:17:37,406 - INFO - we take 1655 photos in this while loop
MAIN: 2025-04-14 20:17:37,406 - INFO - /home/pi/Desktop/images/14042025/20/17/image_14042025_20_17_37_30844.jpg
MAIN: 2025-04-14 20:17:37,406 - INFO - duration: 0.6959937140054535
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:18:05,936 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:18:07,332 - INFO - taking picture
MAIN: 2025-04-14 20:18:07,332 - INFO - we take 1656 photos in this while loop
MAIN: 2025-04-14 20:18:07,333 - INFO - /home/pi/Desktop/images/14042025/20/17/image_14042025_20_18_06_29928.jpg
MAIN: 2025-04-14 20:18:07,333 - INFO - duration: 0.6948745970003074
MAIN: 2025-04-14 20:18:07,333 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/18'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:18:36,928 - INFO - taking picture
MAIN: 2025-04-14 20:18:36,929 - INFO - we take 1657 photos in this while loop
MAIN: 2025-04-14 20:18:36,929 - INFO - /home/pi/Desktop/images/14042025/20/18/image_14042025_20_18_36_29640.jpg
MAIN: 2025-04-14 20:18:36,929 - INFO - duration: 0.650452285000938
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:19:06,224 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:19:06,797 - INFO - taking picture
MAIN: 2025-04-14 20:19:06,798 - INFO - we take 1658 photos in this while loop
MAIN: 2025-04-14 20:19:06,798 - INFO - /home/pi/Desktop/images/14042025/20/18/image_14042025_20_19_06_29831.jpg
MAIN: 2025-04-14 20:19:06,798 - INFO - duration: 0.6875824009985081
MAIN: 2025-04-14 20:19:06,798 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/19'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:19:36,550 - INFO - taking picture
MAIN: 2025-04-14 20:19:36,550 - INFO - we take 1659 photos in this while loop
MAIN: 2025-04-14 20:19:36,551 - INFO - /home/pi/Desktop/images/14042025/20/19/image_14042025_20_19_36_29798.jpg
MAIN: 2025-04-14 20:19:36,551 - INFO - duration: 0.641608684003586
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:20:06,651 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 20:20:06,921 - INFO - taking picture
MAIN: 2025-04-14 20:20:06,922 - INFO - we take 1660 photos in this while loop
MAIN: 2025-04-14 20:20:06,922 - INFO - /home/pi/Desktop/images/14042025/20/19/image_14042025_20_20_06_30322.jpg
MAIN: 2025-04-14 20:20:06,922 - INFO - duration: 0.6909531800047262
MAIN: 2025-04-14 20:20:06,923 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/20'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:20:36,637 - INFO - taking picture
MAIN: 2025-04-14 20:20:36,638 - INFO - we take 1661 photos in this while loop
MAIN: 2025-04-14 20:20:36,638 - INFO - /home/pi/Desktop/images/14042025/20/20/image_14042025_20_20_36_29726.jpg
MAIN: 2025-04-14 20:20:36,638 - INFO - duration: 0.6806634349995875
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:21:05,419 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:21:06,383 - INFO - taking picture
MAIN: 2025-04-14 20:21:06,384 - INFO - we take 1662 photos in this while loop
MAIN: 2025-04-14 20:21:06,384 - INFO - /home/pi/Desktop/images/14042025/20/20/image_14042025_20_21_06_29789.jpg
MAIN: 2025-04-14 20:21:06,384 - INFO - duration: 0.6365942490010639
MAIN: 2025-04-14 20:21:06,384 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/21'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:21:37,268 - INFO - taking picture
MAIN: 2025-04-14 20:21:37,268 - INFO - we take 1663 photos in this while loop
MAIN: 2025-04-14 20:21:37,268 - INFO - /home/pi/Desktop/images/14042025/20/21/image_14042025_20_21_36_30861.jpg
MAIN: 2025-04-14 20:21:37,269 - INFO - duration: 0.6599154020004789
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:22:05,775 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:22:07,080 - INFO - taking picture
MAIN: 2025-04-14 20:22:07,080 - INFO - we take 1664 photos in this while loop
MAIN: 2025-04-14 20:22:07,080 - INFO - /home/pi/Desktop/images/14042025/20/21/image_14042025_20_22_06_29809.jpg
MAIN: 2025-04-14 20:22:07,081 - INFO - duration: 0.6628258179989643
MAIN: 2025-04-14 20:22:07,081 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/22'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:22:36,698 - INFO - taking picture
MAIN: 2025-04-14 20:22:36,699 - INFO - we take 1665 photos in this while loop
MAIN: 2025-04-14 20:22:36,699 - INFO - /home/pi/Desktop/images/14042025/20/22/image_14042025_20_22_36_29632.jpg
MAIN: 2025-04-14 20:22:36,699 - INFO - duration: 0.6489677899953676
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:23:05,986 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:23:06,571 - INFO - taking picture
MAIN: 2025-04-14 20:23:06,572 - INFO - we take 1666 photos in this while loop
MAIN: 2025-04-14 20:23:06,572 - INFO - /home/pi/Desktop/images/14042025/20/22/image_14042025_20_23_06_29855.jpg
MAIN: 2025-04-14 20:23:06,572 - INFO - duration: 0.6661486809971393
MAIN: 2025-04-14 20:23:06,573 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/23'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:23:37,553 - INFO - taking picture
MAIN: 2025-04-14 20:23:37,553 - INFO - we take 1667 photos in this while loop
MAIN: 2025-04-14 20:23:37,553 - INFO - /home/pi/Desktop/images/14042025/20/23/image_14042025_20_23_37_30955.jpg
MAIN: 2025-04-14 20:23:37,554 - INFO - duration: 0.6923015010033851
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:24:06,379 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:24:07,395 - INFO - taking picture
MAIN: 2025-04-14 20:24:07,396 - INFO - we take 1668 photos in this while loop
MAIN: 2025-04-14 20:24:07,396 - INFO - /home/pi/Desktop/images/14042025/20/23/image_14042025_20_24_07_29890.jpg
MAIN: 2025-04-14 20:24:07,396 - INFO - duration: 0.6439997119960026
MAIN: 2025-04-14 20:24:07,397 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/24'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:24:37,058 - INFO - taking picture
MAIN: 2025-04-14 20:24:37,058 - INFO - we take 1669 photos in this while loop
MAIN: 2025-04-14 20:24:37,058 - INFO - /home/pi/Desktop/images/14042025/20/24/image_14042025_20_24_36_29606.jpg
MAIN: 2025-04-14 20:24:37,058 - INFO - duration: 0.6999336369990488
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:25:05,708 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:25:07,211 - INFO - taking picture
MAIN: 2025-04-14 20:25:07,211 - INFO - we take 1670 photos in this while loop
MAIN: 2025-04-14 20:25:07,212 - INFO - /home/pi/Desktop/images/14042025/20/24/image_14042025_20_25_06_30145.jpg
MAIN: 2025-04-14 20:25:07,212 - INFO - duration: 0.7076020240056096
MAIN: 2025-04-14 20:25:07,213 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/25'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:25:36,984 - INFO - taking picture
MAIN: 2025-04-14 20:25:36,984 - INFO - we take 1671 photos in this while loop
MAIN: 2025-04-14 20:25:36,985 - INFO - /home/pi/Desktop/images/14042025/20/25/image_14042025_20_25_36_29761.jpg
MAIN: 2025-04-14 20:25:36,985 - INFO - duration: 0.7184579640015727
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:26:05,595 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:26:06,967 - INFO - taking picture
MAIN: 2025-04-14 20:26:06,968 - INFO - we take 1672 photos in this while loop
MAIN: 2025-04-14 20:26:06,968 - INFO - /home/pi/Desktop/images/14042025/20/25/image_14042025_20_26_06_30044.jpg
MAIN: 2025-04-14 20:26:06,968 - INFO - duration: 0.6571008580067428
MAIN: 2025-04-14 20:26:06,969 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/26'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:26:36,713 - INFO - taking picture
MAIN: 2025-04-14 20:26:36,713 - INFO - we take 1673 photos in this while loop
MAIN: 2025-04-14 20:26:36,713 - INFO - /home/pi/Desktop/images/14042025/20/26/image_14042025_20_26_36_29700.jpg
MAIN: 2025-04-14 20:26:36,714 - INFO - duration: 0.701530038000783
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:27:05,546 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:27:06,534 - INFO - taking picture
MAIN: 2025-04-14 20:27:06,535 - INFO - we take 1674 photos in this while loop
MAIN: 2025-04-14 20:27:06,535 - INFO - /home/pi/Desktop/images/14042025/20/26/image_14042025_20_27_06_29865.jpg
MAIN: 2025-04-14 20:27:06,535 - INFO - duration: 0.6573026440019021
MAIN: 2025-04-14 20:27:06,536 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/27'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:27:37,391 - INFO - taking picture
MAIN: 2025-04-14 20:27:37,392 - INFO - we take 1675 photos in this while loop
MAIN: 2025-04-14 20:27:37,392 - INFO - /home/pi/Desktop/images/14042025/20/27/image_14042025_20_27_37_30811.jpg
MAIN: 2025-04-14 20:27:37,392 - INFO - duration: 0.7026881769997999
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:28:06,084 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:28:07,298 - INFO - taking picture
MAIN: 2025-04-14 20:28:07,298 - INFO - we take 1676 photos in this while loop
MAIN: 2025-04-14 20:28:07,298 - INFO - /home/pi/Desktop/images/14042025/20/27/image_14042025_20_28_06_29938.jpg
MAIN: 2025-04-14 20:28:07,299 - INFO - duration: 0.6703156790026696
MAIN: 2025-04-14 20:28:07,299 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/28'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:28:37,023 - INFO - taking picture
MAIN: 2025-04-14 20:28:37,024 - INFO - we take 1677 photos in this while loop
MAIN: 2025-04-14 20:28:37,024 - INFO - /home/pi/Desktop/images/14042025/20/28/image_14042025_20_28_36_29690.jpg
MAIN: 2025-04-14 20:28:37,025 - INFO - duration: 0.7054762629995821
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:29:05,711 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:29:06,829 - INFO - taking picture
MAIN: 2025-04-14 20:29:06,829 - INFO - we take 1678 photos in this while loop
MAIN: 2025-04-14 20:29:06,829 - INFO - /home/pi/Desktop/images/14042025/20/28/image_14042025_20_29_06_29862.jpg
MAIN: 2025-04-14 20:29:06,830 - INFO - duration: 0.6481716229973244
MAIN: 2025-04-14 20:29:06,830 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/29'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:29:36,449 - INFO - taking picture
MAIN: 2025-04-14 20:29:36,449 - INFO - we take 1679 photos in this while loop
MAIN: 2025-04-14 20:29:36,449 - INFO - /home/pi/Desktop/images/14042025/20/29/image_14042025_20_29_36_29573.jpg
MAIN: 2025-04-14 20:29:36,450 - INFO - duration: 0.6945631470007356
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:30:06,686 - INFO - taking picture
MAIN: 2025-04-14 20:30:06,687 - INFO - we take 1680 photos in this while loop
MAIN: 2025-04-14 20:30:06,687 - INFO - /home/pi/Desktop/images/14042025/20/29/image_14042025_20_30_06_30252.jpg
MAIN: 2025-04-14 20:30:06,688 - INFO - duration: 0.6797394509994774
MAIN: 2025-04-14 20:30:06,688 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/30'
MAIN: 2025-04-14 20:30:07,251 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:30:37,469 - INFO - taking picture
MAIN: 2025-04-14 20:30:37,470 - INFO - we take 1681 photos in this while loop
MAIN: 2025-04-14 20:30:37,470 - INFO - /home/pi/Desktop/images/14042025/20/30/image_14042025_20_30_37_30779.jpg
MAIN: 2025-04-14 20:30:37,470 - INFO - duration: 0.6828585710027255
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:31:05,273 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:31:07,321 - INFO - taking picture
MAIN: 2025-04-14 20:31:07,322 - INFO - we take 1682 photos in this while loop
MAIN: 2025-04-14 20:31:07,322 - INFO - /home/pi/Desktop/images/14042025/20/30/image_14042025_20_31_06_29858.jpg
MAIN: 2025-04-14 20:31:07,322 - INFO - duration: 0.6758839390022331
MAIN: 2025-04-14 20:31:07,323 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/31'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:31:37,009 - INFO - taking picture
MAIN: 2025-04-14 20:31:37,010 - INFO - we take 1683 photos in this while loop
MAIN: 2025-04-14 20:31:37,010 - INFO - /home/pi/Desktop/images/14042025/20/31/image_14042025_20_31_36_29661.jpg
MAIN: 2025-04-14 20:31:37,010 - INFO - duration: 0.7021566050025285
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:32:05,713 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:32:06,817 - INFO - taking picture
MAIN: 2025-04-14 20:32:06,818 - INFO - we take 1684 photos in this while loop
MAIN: 2025-04-14 20:32:06,818 - INFO - /home/pi/Desktop/images/14042025/20/31/image_14042025_20_32_06_29873.jpg
MAIN: 2025-04-14 20:32:06,818 - INFO - duration: 0.6366935210025986
MAIN: 2025-04-14 20:32:06,819 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/32'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:32:36,367 - INFO - taking picture
MAIN: 2025-04-14 20:32:36,367 - INFO - we take 1685 photos in this while loop
MAIN: 2025-04-14 20:32:36,367 - INFO - /home/pi/Desktop/images/14042025/20/32/image_14042025_20_32_35_29491.jpg
MAIN: 2025-04-14 20:32:36,367 - INFO - duration: 0.6947572360004415
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:33:05,852 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:33:06,427 - INFO - taking picture
MAIN: 2025-04-14 20:33:06,428 - INFO - we take 1686 photos in this while loop
MAIN: 2025-04-14 20:33:06,428 - INFO - /home/pi/Desktop/images/14042025/20/32/image_14042025_20_33_06_30042.jpg
MAIN: 2025-04-14 20:33:06,428 - INFO - duration: 0.7134700030001113
MAIN: 2025-04-14 20:33:06,429 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/33'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:33:37,289 - INFO - taking picture
MAIN: 2025-04-14 20:33:37,289 - INFO - we take 1687 photos in this while loop
MAIN: 2025-04-14 20:33:37,289 - INFO - /home/pi/Desktop/images/14042025/20/33/image_14042025_20_33_36_30879.jpg
MAIN: 2025-04-14 20:33:37,290 - INFO - duration: 0.6951093259995105
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:34:06,416 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:34:07,199 - INFO - taking picture
MAIN: 2025-04-14 20:34:07,199 - INFO - we take 1688 photos in this while loop
MAIN: 2025-04-14 20:34:07,200 - INFO - /home/pi/Desktop/images/14042025/20/33/image_14042025_20_34_06_29956.jpg
MAIN: 2025-04-14 20:34:07,200 - INFO - duration: 0.6492441099981079
MAIN: 2025-04-14 20:34:07,200 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/34'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:34:36,767 - INFO - taking picture
MAIN: 2025-04-14 20:34:36,767 - INFO - we take 1689 photos in this while loop
MAIN: 2025-04-14 20:34:36,767 - INFO - /home/pi/Desktop/images/14042025/20/34/image_14042025_20_34_36_29554.jpg
MAIN: 2025-04-14 20:34:36,768 - INFO - duration: 0.6630679170048097
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:35:06,820 - INFO - taking picture
MAIN: 2025-04-14 20:35:06,821 - INFO - we take 1690 photos in this while loop
MAIN: 2025-04-14 20:35:06,821 - INFO - /home/pi/Desktop/images/14042025/20/34/image_14042025_20_35_06_30040.jpg
MAIN: 2025-04-14 20:35:06,822 - INFO - duration: 0.6767825589995482
MAIN: 2025-04-14 20:35:06,822 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/35'
MAIN: 2025-04-14 20:35:06,955 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:35:36,386 - INFO - taking picture
MAIN: 2025-04-14 20:35:36,387 - INFO - we take 1691 photos in this while loop
MAIN: 2025-04-14 20:35:36,387 - INFO - /home/pi/Desktop/images/14042025/20/35/image_14042025_20_35_36_29547.jpg
MAIN: 2025-04-14 20:35:36,387 - INFO - duration: 0.6952913679997437
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:36:05,705 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:36:06,353 - INFO - taking picture
MAIN: 2025-04-14 20:36:06,353 - INFO - we take 1692 photos in this while loop
MAIN: 2025-04-14 20:36:06,353 - INFO - /home/pi/Desktop/images/14042025/20/35/image_14042025_20_36_05_29958.jpg
MAIN: 2025-04-14 20:36:06,354 - INFO - duration: 0.702647830999922
MAIN: 2025-04-14 20:36:06,354 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/36'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:36:37,042 - INFO - taking picture
MAIN: 2025-04-14 20:36:37,042 - INFO - we take 1693 photos in this while loop
MAIN: 2025-04-14 20:36:37,043 - INFO - /home/pi/Desktop/images/14042025/20/36/image_14042025_20_36_36_30702.jpg
MAIN: 2025-04-14 20:36:37,043 - INFO - duration: 0.6898141840065364
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:37:05,786 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:37:06,942 - INFO - taking picture
MAIN: 2025-04-14 20:37:06,942 - INFO - we take 1694 photos in this while loop
MAIN: 2025-04-14 20:37:06,943 - INFO - /home/pi/Desktop/images/14042025/20/36/image_14042025_20_37_06_29917.jpg
MAIN: 2025-04-14 20:37:06,943 - INFO - duration: 0.6719100150003214
MAIN: 2025-04-14 20:37:06,943 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/37'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:37:36,507 - INFO - taking picture
MAIN: 2025-04-14 20:37:36,507 - INFO - we take 1695 photos in this while loop
MAIN: 2025-04-14 20:37:36,508 - INFO - /home/pi/Desktop/images/14042025/20/37/image_14042025_20_37_36_29541.jpg
MAIN: 2025-04-14 20:37:36,508 - INFO - duration: 0.6952357519985526
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:38:06,141 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:38:06,579 - INFO - taking picture
MAIN: 2025-04-14 20:38:06,580 - INFO - we take 1696 photos in this while loop
MAIN: 2025-04-14 20:38:06,580 - INFO - /home/pi/Desktop/images/14042025/20/37/image_14042025_20_38_06_30039.jpg
MAIN: 2025-04-14 20:38:06,580 - INFO - duration: 0.7287208150009974
MAIN: 2025-04-14 20:38:06,581 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/38'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:38:37,478 - INFO - taking picture
MAIN: 2025-04-14 20:38:37,479 - INFO - we take 1697 photos in this while loop
MAIN: 2025-04-14 20:38:37,479 - INFO - /home/pi/Desktop/images/14042025/20/38/image_14042025_20_38_37_30948.jpg
MAIN: 2025-04-14 20:38:37,479 - INFO - duration: 0.6786171580024529
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:39:05,963 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:39:07,113 - INFO - taking picture
MAIN: 2025-04-14 20:39:07,113 - INFO - we take 1698 photos in this while loop
MAIN: 2025-04-14 20:39:07,114 - INFO - /home/pi/Desktop/images/14042025/20/38/image_14042025_20_39_06_29642.jpg
MAIN: 2025-04-14 20:39:07,114 - INFO - duration: 0.6708181469948613
MAIN: 2025-04-14 20:39:07,114 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/39'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:39:36,649 - INFO - taking picture
MAIN: 2025-04-14 20:39:36,650 - INFO - we take 1699 photos in this while loop
MAIN: 2025-04-14 20:39:36,650 - INFO - /home/pi/Desktop/images/14042025/20/39/image_14042025_20_39_36_29514.jpg
MAIN: 2025-04-14 20:39:36,650 - INFO - duration: 0.692617633001646
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:40:07,042 - INFO - taking picture
MAIN: 2025-04-14 20:40:07,043 - INFO - we take 1700 photos in this while loop
MAIN: 2025-04-14 20:40:07,043 - INFO - /home/pi/Desktop/images/14042025/20/39/image_14042025_20_40_06_30384.jpg
MAIN: 2025-04-14 20:40:07,043 - INFO - duration: 0.7006862829948659
MAIN: 2025-04-14 20:40:07,044 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/40'
MAIN: 2025-04-14 20:40:07,638 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:40:36,466 - INFO - taking picture
MAIN: 2025-04-14 20:40:36,467 - INFO - we take 1701 photos in this while loop
MAIN: 2025-04-14 20:40:36,467 - INFO - /home/pi/Desktop/images/14042025/20/40/image_14042025_20_40_36_29440.jpg
MAIN: 2025-04-14 20:40:36,467 - INFO - duration: 0.6846493530028965
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:41:05,551 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:41:06,345 - INFO - taking picture
MAIN: 2025-04-14 20:41:06,345 - INFO - we take 1702 photos in this while loop
MAIN: 2025-04-14 20:41:06,346 - INFO - /home/pi/Desktop/images/14042025/20/40/image_14042025_20_41_05_29914.jpg
MAIN: 2025-04-14 20:41:06,346 - INFO - duration: 0.6483767399986391
MAIN: 2025-04-14 20:41:06,346 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/41'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:41:37,183 - INFO - taking picture
MAIN: 2025-04-14 20:41:37,184 - INFO - we take 1703 photos in this while loop
MAIN: 2025-04-14 20:41:37,184 - INFO - /home/pi/Desktop/images/14042025/20/41/image_14042025_20_41_36_30798.jpg
MAIN: 2025-04-14 20:41:37,184 - INFO - duration: 0.6883750339984545
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:42:05,848 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:42:07,039 - INFO - taking picture
MAIN: 2025-04-14 20:42:07,040 - INFO - we take 1704 photos in this while loop
MAIN: 2025-04-14 20:42:07,040 - INFO - /home/pi/Desktop/images/14042025/20/41/image_14042025_20_42_06_29880.jpg
MAIN: 2025-04-14 20:42:07,040 - INFO - duration: 0.6639107059963862
MAIN: 2025-04-14 20:42:07,040 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/42'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:42:36,614 - INFO - taking picture
MAIN: 2025-04-14 20:42:36,615 - INFO - we take 1705 photos in this while loop
MAIN: 2025-04-14 20:42:36,615 - INFO - /home/pi/Desktop/images/14042025/20/42/image_14042025_20_42_36_29564.jpg
MAIN: 2025-04-14 20:42:36,615 - INFO - duration: 0.6744726359975175
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:43:05,884 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:43:06,616 - INFO - taking picture
MAIN: 2025-04-14 20:43:06,616 - INFO - we take 1706 photos in this while loop
MAIN: 2025-04-14 20:43:06,617 - INFO - /home/pi/Desktop/images/14042025/20/42/image_14042025_20_43_06_30017.jpg
MAIN: 2025-04-14 20:43:06,617 - INFO - duration: 0.6585298720019637
MAIN: 2025-04-14 20:43:06,617 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/43'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:43:37,383 - INFO - taking picture
MAIN: 2025-04-14 20:43:37,384 - INFO - we take 1707 photos in this while loop
MAIN: 2025-04-14 20:43:37,384 - INFO - /home/pi/Desktop/images/14042025/20/43/image_14042025_20_43_37_30752.jpg
MAIN: 2025-04-14 20:43:37,384 - INFO - duration: 0.6732159710009
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:44:06,312 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:44:07,207 - INFO - taking picture
MAIN: 2025-04-14 20:44:07,207 - INFO - we take 1708 photos in this while loop
MAIN: 2025-04-14 20:44:07,208 - INFO - /home/pi/Desktop/images/14042025/20/43/image_14042025_20_44_06_29853.jpg
MAIN: 2025-04-14 20:44:07,208 - INFO - duration: 0.6427464320004219
MAIN: 2025-04-14 20:44:07,208 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/44'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:44:36,919 - INFO - taking picture
MAIN: 2025-04-14 20:44:36,920 - INFO - we take 1709 photos in this while loop
MAIN: 2025-04-14 20:44:36,920 - INFO - /home/pi/Desktop/images/14042025/20/44/image_14042025_20_44_36_29644.jpg
MAIN: 2025-04-14 20:44:36,920 - INFO - duration: 0.7103694729958079
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:45:06,691 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 20:45:07,034 - INFO - taking picture
MAIN: 2025-04-14 20:45:07,034 - INFO - we take 1710 photos in this while loop
MAIN: 2025-04-14 20:45:07,035 - INFO - /home/pi/Desktop/images/14042025/20/44/image_14042025_20_45_06_30135.jpg
MAIN: 2025-04-14 20:45:07,035 - INFO - duration: 0.6894061339990003
MAIN: 2025-04-14 20:45:07,035 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/45'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:45:36,600 - INFO - taking picture
MAIN: 2025-04-14 20:45:36,601 - INFO - we take 1711 photos in this while loop
MAIN: 2025-04-14 20:45:36,601 - INFO - /home/pi/Desktop/images/14042025/20/45/image_14042025_20_45_36_29562.jpg
MAIN: 2025-04-14 20:45:36,601 - INFO - duration: 0.693447229998128
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:46:06,638 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 20:46:06,671 - INFO - taking picture
MAIN: 2025-04-14 20:46:06,672 - INFO - we take 1712 photos in this while loop
MAIN: 2025-04-14 20:46:06,672 - INFO - /home/pi/Desktop/images/14042025/20/45/image_14042025_20_46_06_30087.jpg
MAIN: 2025-04-14 20:46:06,672 - INFO - duration: 0.67686446600419
MAIN: 2025-04-14 20:46:06,673 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/46'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:46:37,565 - INFO - taking picture
MAIN: 2025-04-14 20:46:37,566 - INFO - we take 1713 photos in this while loop
MAIN: 2025-04-14 20:46:37,566 - INFO - /home/pi/Desktop/images/14042025/20/46/image_14042025_20_46_37_30875.jpg
MAIN: 2025-04-14 20:46:37,566 - INFO - duration: 0.6955305130031775
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
MAIN: 2025-04-14 20:47:05,383 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:47:07,430 - INFO - taking picture
MAIN: 2025-04-14 20:47:07,431 - INFO - we take 1714 photos in this while loop
MAIN: 2025-04-14 20:47:07,431 - INFO - /home/pi/Desktop/images/14042025/20/46/image_14042025_20_47_07_29865.jpg
MAIN: 2025-04-14 20:47:07,432 - INFO - duration: 0.6959727540015592
MAIN: 2025-04-14 20:47:07,432 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/47'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:47:37,140 - INFO - taking picture
MAIN: 2025-04-14 20:47:37,141 - INFO - we take 1715 photos in this while loop
MAIN: 2025-04-14 20:47:37,141 - INFO - /home/pi/Desktop/images/14042025/20/47/image_14042025_20_47_36_29713.jpg
MAIN: 2025-04-14 20:47:37,141 - INFO - duration: 0.6918418170025689
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:48:05,702 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:48:07,065 - INFO - taking picture
MAIN: 2025-04-14 20:48:07,065 - INFO - we take 1716 photos in this while loop
MAIN: 2025-04-14 20:48:07,065 - INFO - /home/pi/Desktop/images/14042025/20/47/image_14042025_20_48_06_29936.jpg
MAIN: 2025-04-14 20:48:07,066 - INFO - duration: 0.6795569169989903
MAIN: 2025-04-14 20:48:07,066 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/48'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:48:36,694 - INFO - taking picture
MAIN: 2025-04-14 20:48:36,694 - INFO - we take 1717 photos in this while loop
MAIN: 2025-04-14 20:48:36,694 - INFO - /home/pi/Desktop/images/14042025/20/48/image_14042025_20_48_36_29623.jpg
MAIN: 2025-04-14 20:48:36,695 - INFO - duration: 0.6854523370056995
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:49:05,682 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:49:06,586 - INFO - taking picture
MAIN: 2025-04-14 20:49:06,587 - INFO - we take 1718 photos in this while loop
MAIN: 2025-04-14 20:49:06,587 - INFO - /home/pi/Desktop/images/14042025/20/48/image_14042025_20_49_06_29892.jpg
MAIN: 2025-04-14 20:49:06,587 - INFO - duration: 0.6851008779995027
MAIN: 2025-04-14 20:49:06,587 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/49'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:49:37,595 - INFO - taking picture
MAIN: 2025-04-14 20:49:37,595 - INFO - we take 1719 photos in this while loop
MAIN: 2025-04-14 20:49:37,596 - INFO - /home/pi/Desktop/images/14042025/20/49/image_14042025_20_49_37_30994.jpg
MAIN: 2025-04-14 20:49:37,596 - INFO - duration: 0.6990401020011632
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:50:06,790 - INFO - taking picture
MAIN: 2025-04-14 20:50:06,791 - INFO - we take 1720 photos in this while loop
MAIN: 2025-04-14 20:50:06,791 - INFO - /home/pi/Desktop/images/14042025/20/49/image_14042025_20_50_06_29223.jpg
MAIN: 2025-04-14 20:50:06,792 - INFO - duration: 0.6718641560000833
MAIN: 2025-04-14 20:50:06,793 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/50'
MAIN: 2025-04-14 20:50:07,579 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:50:36,358 - INFO - taking picture
MAIN: 2025-04-14 20:50:36,359 - INFO - we take 1721 photos in this while loop
MAIN: 2025-04-14 20:50:36,359 - INFO - /home/pi/Desktop/images/14042025/20/50/image_14042025_20_50_35_29545.jpg
MAIN: 2025-04-14 20:50:36,359 - INFO - duration: 0.693666976003442
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:51:06,256 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:51:07,495 - INFO - taking picture
MAIN: 2025-04-14 20:51:07,495 - INFO - we take 1722 photos in this while loop
MAIN: 2025-04-14 20:51:07,495 - INFO - /home/pi/Desktop/images/14042025/20/50/image_14042025_20_51_07_31133.jpg
MAIN: 2025-04-14 20:51:07,495 - INFO - duration: 0.6958831230003852
MAIN: 2025-04-14 20:51:07,496 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/51'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:51:37,152 - INFO - taking picture
MAIN: 2025-04-14 20:51:37,152 - INFO - we take 1723 photos in this while loop
MAIN: 2025-04-14 20:51:37,152 - INFO - /home/pi/Desktop/images/14042025/20/51/image_14042025_20_51_36_29657.jpg
MAIN: 2025-04-14 20:51:37,153 - INFO - duration: 0.6954145820054691
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:52:05,728 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:52:07,099 - INFO - taking picture
MAIN: 2025-04-14 20:52:07,099 - INFO - we take 1724 photos in this while loop
MAIN: 2025-04-14 20:52:07,100 - INFO - /home/pi/Desktop/images/14042025/20/51/image_14042025_20_52_06_29941.jpg
MAIN: 2025-04-14 20:52:07,100 - INFO - duration: 0.7005848430053447
MAIN: 2025-04-14 20:52:07,100 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/52'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:52:36,758 - INFO - taking picture
MAIN: 2025-04-14 20:52:36,759 - INFO - we take 1725 photos in this while loop
MAIN: 2025-04-14 20:52:36,759 - INFO - /home/pi/Desktop/images/14042025/20/52/image_14042025_20_52_36_29669.jpg
MAIN: 2025-04-14 20:52:36,759 - INFO - duration: 0.6911328630012576
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:53:05,342 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:53:06,574 - INFO - taking picture
MAIN: 2025-04-14 20:53:06,574 - INFO - we take 1726 photos in this while loop
MAIN: 2025-04-14 20:53:06,575 - INFO - /home/pi/Desktop/images/14042025/20/52/image_14042025_20_53_06_29833.jpg
MAIN: 2025-04-14 20:53:06,575 - INFO - duration: 0.6732411900011357
MAIN: 2025-04-14 20:53:06,575 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/53'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:53:37,440 - INFO - taking picture
MAIN: 2025-04-14 20:53:37,440 - INFO - we take 1727 photos in this while loop
MAIN: 2025-04-14 20:53:37,441 - INFO - /home/pi/Desktop/images/14042025/20/53/image_14042025_20_53_37_30860.jpg
MAIN: 2025-04-14 20:53:37,441 - INFO - duration: 0.6784149949962739
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:54:06,249 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:54:07,436 - INFO - taking picture
MAIN: 2025-04-14 20:54:07,436 - INFO - we take 1728 photos in this while loop
MAIN: 2025-04-14 20:54:07,437 - INFO - /home/pi/Desktop/images/14042025/20/53/image_14042025_20_54_07_30006.jpg
MAIN: 2025-04-14 20:54:07,437 - INFO - duration: 0.6684423879996757
MAIN: 2025-04-14 20:54:07,437 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/54'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:54:37,132 - INFO - taking picture
MAIN: 2025-04-14 20:54:37,133 - INFO - we take 1729 photos in this while loop
MAIN: 2025-04-14 20:54:37,133 - INFO - /home/pi/Desktop/images/14042025/20/54/image_14042025_20_54_36_29696.jpg
MAIN: 2025-04-14 20:54:37,134 - INFO - duration: 0.668230303999735
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:55:06,603 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:55:07,357 - INFO - taking picture
MAIN: 2025-04-14 20:55:07,358 - INFO - we take 1730 photos in this while loop
MAIN: 2025-04-14 20:55:07,358 - INFO - /home/pi/Desktop/images/14042025/20/54/image_14042025_20_55_06_30203.jpg
MAIN: 2025-04-14 20:55:07,358 - INFO - duration: 0.6896285930051818
MAIN: 2025-04-14 20:55:07,359 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/55'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:55:37,109 - INFO - taking picture
MAIN: 2025-04-14 20:55:37,110 - INFO - we take 1731 photos in this while loop
MAIN: 2025-04-14 20:55:37,110 - INFO - /home/pi/Desktop/images/14042025/20/55/image_14042025_20_55_36_29746.jpg
MAIN: 2025-04-14 20:55:37,110 - INFO - duration: 0.6953059899969958
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:56:05,964 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:56:06,971 - INFO - taking picture
MAIN: 2025-04-14 20:56:06,971 - INFO - we take 1732 photos in this while loop
MAIN: 2025-04-14 20:56:06,972 - INFO - /home/pi/Desktop/images/14042025/20/55/image_14042025_20_56_06_29921.jpg
MAIN: 2025-04-14 20:56:06,972 - INFO - duration: 0.635830763996637
MAIN: 2025-04-14 20:56:06,972 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/56'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:56:36,616 - INFO - taking picture
MAIN: 2025-04-14 20:56:36,616 - INFO - we take 1733 photos in this while loop
MAIN: 2025-04-14 20:56:36,617 - INFO - /home/pi/Desktop/images/14042025/20/56/image_14042025_20_56_36_29582.jpg
MAIN: 2025-04-14 20:56:36,617 - INFO - duration: 0.6978552630025661
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:57:06,240 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:57:06,832 - INFO - taking picture
MAIN: 2025-04-14 20:57:06,833 - INFO - we take 1734 photos in this while loop
MAIN: 2025-04-14 20:57:06,833 - INFO - /home/pi/Desktop/images/14042025/20/56/image_14042025_20_57_06_30201.jpg
MAIN: 2025-04-14 20:57:06,833 - INFO - duration: 0.7125653709954349
MAIN: 2025-04-14 20:57:06,833 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/57'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:57:36,525 - INFO - taking picture
MAIN: 2025-04-14 20:57:36,526 - INFO - we take 1735 photos in this while loop
MAIN: 2025-04-14 20:57:36,526 - INFO - /home/pi/Desktop/images/14042025/20/57/image_14042025_20_57_36_29693.jpg
MAIN: 2025-04-14 20:57:36,526 - INFO - duration: 0.7118895900057396
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:58:05,528 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:58:06,378 - INFO - taking picture
MAIN: 2025-04-14 20:58:06,379 - INFO - we take 1736 photos in this while loop
MAIN: 2025-04-14 20:58:06,379 - INFO - /home/pi/Desktop/images/14042025/20/57/image_14042025_20_58_05_29918.jpg
MAIN: 2025-04-14 20:58:06,379 - INFO - duration: 0.6461911840015091
MAIN: 2025-04-14 20:58:06,380 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/58'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:58:37,093 - INFO - taking picture
MAIN: 2025-04-14 20:58:37,094 - INFO - we take 1737 photos in this while loop
MAIN: 2025-04-14 20:58:37,094 - INFO - /home/pi/Desktop/images/14042025/20/58/image_14042025_20_58_36_30676.jpg
MAIN: 2025-04-14 20:58:37,094 - INFO - duration: 0.6849664050023421
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 20:59:05,468 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:59:06,938 - INFO - taking picture
MAIN: 2025-04-14 20:59:06,938 - INFO - we take 1738 photos in this while loop
MAIN: 2025-04-14 20:59:06,939 - INFO - /home/pi/Desktop/images/14042025/20/58/image_14042025_20_59_06_29851.jpg
MAIN: 2025-04-14 20:59:06,939 - INFO - duration: 0.6783079139931942
MAIN: 2025-04-14 20:59:06,939 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/20/59'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 20:59:36,600 - INFO - taking picture
MAIN: 2025-04-14 20:59:36,601 - INFO - we take 1739 photos in this while loop
MAIN: 2025-04-14 20:59:36,601 - INFO - /home/pi/Desktop/images/14042025/20/59/image_14042025_20_59_36_29642.jpg
MAIN: 2025-04-14 20:59:36,601 - INFO - duration: 0.6984034929992049
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:00:06,985 - INFO - taking picture
MAIN: 2025-04-14 21:00:06,986 - INFO - we take 1740 photos in this while loop
MAIN: 2025-04-14 21:00:06,986 - INFO - /home/pi/Desktop/images/14042025/20/59/image_14042025_21_00_06_30408.jpg
MAIN: 2025-04-14 21:00:06,987 - INFO - duration: 0.6750335899996571
MAIN: 2025-04-14 21:00:06,987 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/00'
MAIN: 2025-04-14 21:00:07,296 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:00:36,585 - INFO - taking picture
MAIN: 2025-04-14 21:00:36,585 - INFO - we take 1741 photos in this while loop
MAIN: 2025-04-14 21:00:36,585 - INFO - /home/pi/Desktop/images/14042025/21/00/image_14042025_21_00_36_29567.jpg
MAIN: 2025-04-14 21:00:36,586 - INFO - duration: 0.7063339119995362
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 21:01:06,065 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:01:06,556 - INFO - taking picture
MAIN: 2025-04-14 21:01:06,557 - INFO - we take 1742 photos in this while loop
MAIN: 2025-04-14 21:01:06,557 - INFO - /home/pi/Desktop/images/14042025/21/00/image_14042025_21_01_06_30013.jpg
MAIN: 2025-04-14 21:01:06,557 - INFO - duration: 0.6643608259983012
MAIN: 2025-04-14 21:01:06,558 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/01'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:01:37,488 - INFO - taking picture
MAIN: 2025-04-14 21:01:37,488 - INFO - we take 1743 photos in this while loop
MAIN: 2025-04-14 21:01:37,488 - INFO - /home/pi/Desktop/images/14042025/21/01/image_14042025_21_01_37_30905.jpg
MAIN: 2025-04-14 21:01:37,489 - INFO - duration: 0.6904448970017256
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 21:02:05,521 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:02:07,327 - INFO - taking picture
MAIN: 2025-04-14 21:02:07,328 - INFO - we take 1744 photos in this while loop
MAIN: 2025-04-14 21:02:07,328 - INFO - /home/pi/Desktop/images/14042025/21/01/image_14042025_21_02_06_29835.jpg
MAIN: 2025-04-14 21:02:07,328 - INFO - duration: 0.6939706789999036
MAIN: 2025-04-14 21:02:07,328 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/02'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:02:36,901 - INFO - taking picture
MAIN: 2025-04-14 21:02:36,901 - INFO - we take 1745 photos in this while loop
MAIN: 2025-04-14 21:02:36,902 - INFO - /home/pi/Desktop/images/14042025/21/02/image_14042025_21_02_36_29579.jpg
MAIN: 2025-04-14 21:02:36,902 - INFO - duration: 0.6882455220038537
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
MAIN: 2025-04-14 21:03:05,404 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:03:06,511 - INFO - taking picture
MAIN: 2025-04-14 21:03:06,512 - INFO - we take 1746 photos in this while loop
MAIN: 2025-04-14 21:03:06,512 - INFO - /home/pi/Desktop/images/14042025/21/02/image_14042025_21_03_06_29634.jpg
MAIN: 2025-04-14 21:03:06,512 - INFO - duration: 0.6647633269967628
MAIN: 2025-04-14 21:03:06,513 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/03'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:03:37,446 - INFO - taking picture
MAIN: 2025-04-14 21:03:37,447 - INFO - we take 1747 photos in this while loop
MAIN: 2025-04-14 21:03:37,447 - INFO - /home/pi/Desktop/images/14042025/21/03/image_14042025_21_03_37_30929.jpg
MAIN: 2025-04-14 21:03:37,447 - INFO - duration: 0.6697239540008013
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 21:04:05,753 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:04:06,319 - INFO - taking picture
MAIN: 2025-04-14 21:04:06,320 - INFO - we take 1748 photos in this while loop
MAIN: 2025-04-14 21:04:06,320 - INFO - /home/pi/Desktop/images/14042025/21/03/image_14042025_21_04_05_28854.jpg
MAIN: 2025-04-14 21:04:06,320 - INFO - duration: 0.6883166670013452
MAIN: 2025-04-14 21:04:06,321 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/04'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:04:37,164 - INFO - taking picture
MAIN: 2025-04-14 21:04:37,165 - INFO - we take 1749 photos in this while loop
MAIN: 2025-04-14 21:04:37,165 - INFO - /home/pi/Desktop/images/14042025/21/04/image_14042025_21_04_36_30895.jpg
MAIN: 2025-04-14 21:04:37,165 - INFO - duration: 0.6374296729991329
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 21:05:06,727 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:05:07,155 - INFO - taking picture
MAIN: 2025-04-14 21:05:07,155 - INFO - we take 1750 photos in this while loop
MAIN: 2025-04-14 21:05:07,156 - INFO - /home/pi/Desktop/images/14042025/21/04/image_14042025_21_05_06_29930.jpg
MAIN: 2025-04-14 21:05:07,156 - INFO - duration: 0.6978330780038959
MAIN: 2025-04-14 21:05:07,156 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/05'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:05:36,762 - INFO - taking picture
MAIN: 2025-04-14 21:05:36,762 - INFO - we take 1751 photos in this while loop
MAIN: 2025-04-14 21:05:36,763 - INFO - /home/pi/Desktop/images/14042025/21/05/image_14042025_21_05_36_29627.jpg
MAIN: 2025-04-14 21:05:36,763 - INFO - duration: 0.677376040002855
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 21:06:06,241 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:06:06,802 - INFO - taking picture
MAIN: 2025-04-14 21:06:06,802 - INFO - we take 1752 photos in this while loop
MAIN: 2025-04-14 21:06:06,803 - INFO - /home/pi/Desktop/images/14042025/21/05/image_14042025_21_06_06_29994.jpg
MAIN: 2025-04-14 21:06:06,803 - INFO - duration: 0.7228590739978245
MAIN: 2025-04-14 21:06:06,803 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/06'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:06:36,386 - INFO - taking picture
MAIN: 2025-04-14 21:06:36,386 - INFO - we take 1753 photos in this while loop
MAIN: 2025-04-14 21:06:36,386 - INFO - /home/pi/Desktop/images/14042025/21/06/image_14042025_21_06_36_29611.jpg
MAIN: 2025-04-14 21:06:36,386 - INFO - duration: 0.6951058369959355
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 21:07:05,912 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:07:07,351 - INFO - taking picture
MAIN: 2025-04-14 21:07:07,351 - INFO - we take 1754 photos in this while loop
MAIN: 2025-04-14 21:07:07,352 - INFO - /home/pi/Desktop/images/14042025/21/06/image_14042025_21_07_06_30961.jpg
MAIN: 2025-04-14 21:07:07,352 - INFO - duration: 0.699303338995378
MAIN: 2025-04-14 21:07:07,352 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/07'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:07:37,011 - INFO - taking picture
MAIN: 2025-04-14 21:07:37,012 - INFO - we take 1755 photos in this while loop
MAIN: 2025-04-14 21:07:37,012 - INFO - /home/pi/Desktop/images/14042025/21/07/image_14042025_21_07_36_29699.jpg
MAIN: 2025-04-14 21:07:37,012 - INFO - duration: 0.6605231180001283
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 21:08:06,481 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:08:06,998 - INFO - taking picture
MAIN: 2025-04-14 21:08:06,999 - INFO - we take 1756 photos in this while loop
MAIN: 2025-04-14 21:08:06,999 - INFO - /home/pi/Desktop/images/14042025/21/07/image_14042025_21_08_06_29987.jpg
MAIN: 2025-04-14 21:08:06,999 - INFO - duration: 0.6601265550052631
MAIN: 2025-04-14 21:08:07,000 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/08'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:08:36,786 - INFO - taking picture
MAIN: 2025-04-14 21:08:36,787 - INFO - we take 1757 photos in this while loop
MAIN: 2025-04-14 21:08:36,787 - INFO - /home/pi/Desktop/images/14042025/21/08/image_14042025_21_08_36_29779.jpg
MAIN: 2025-04-14 21:08:36,787 - INFO - duration: 0.668090569000924
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 21:09:05,510 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:09:06,601 - INFO - taking picture
MAIN: 2025-04-14 21:09:06,601 - INFO - we take 1758 photos in this while loop
MAIN: 2025-04-14 21:09:06,602 - INFO - /home/pi/Desktop/images/14042025/21/08/image_14042025_21_09_06_29805.jpg
MAIN: 2025-04-14 21:09:06,602 - INFO - duration: 0.6777547379970201
MAIN: 2025-04-14 21:09:06,602 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/09'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:09:37,580 - INFO - taking picture
MAIN: 2025-04-14 21:09:37,580 - INFO - we take 1759 photos in this while loop
MAIN: 2025-04-14 21:09:37,580 - INFO - /home/pi/Desktop/images/14042025/21/09/image_14042025_21_09_37_30958.jpg
MAIN: 2025-04-14 21:09:37,581 - INFO - duration: 0.6984360980059137
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:10:06,741 - INFO - taking picture
MAIN: 2025-04-14 21:10:06,742 - INFO - we take 1760 photos in this while loop
MAIN: 2025-04-14 21:10:06,742 - INFO - /home/pi/Desktop/images/14042025/21/09/image_14042025_21_10_06_29193.jpg
MAIN: 2025-04-14 21:10:06,742 - INFO - duration: 0.6666051520005567
MAIN: 2025-04-14 21:10:06,743 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/10'
MAIN: 2025-04-14 21:10:06,796 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:10:37,471 - INFO - taking picture
MAIN: 2025-04-14 21:10:37,472 - INFO - we take 1761 photos in this while loop
MAIN: 2025-04-14 21:10:37,472 - INFO - /home/pi/Desktop/images/14042025/21/10/image_14042025_21_10_37_30735.jpg
MAIN: 2025-04-14 21:10:37,472 - INFO - duration: 0.6610832219957956
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 21:11:05,738 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:11:07,396 - INFO - taking picture
MAIN: 2025-04-14 21:11:07,397 - INFO - we take 1762 photos in this while loop
MAIN: 2025-04-14 21:11:07,397 - INFO - /home/pi/Desktop/images/14042025/21/10/image_14042025_21_11_07_29937.jpg
MAIN: 2025-04-14 21:11:07,397 - INFO - duration: 0.6485193120024633
MAIN: 2025-04-14 21:11:07,397 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/11'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:11:37,132 - INFO - taking picture
MAIN: 2025-04-14 21:11:37,132 - INFO - we take 1763 photos in this while loop
MAIN: 2025-04-14 21:11:37,132 - INFO - /home/pi/Desktop/images/14042025/21/11/image_14042025_21_11_36_29740.jpg
MAIN: 2025-04-14 21:11:37,133 - INFO - duration: 0.6434193110035267
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 21:12:06,214 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:12:06,848 - INFO - taking picture
MAIN: 2025-04-14 21:12:06,848 - INFO - we take 1764 photos in this while loop
MAIN: 2025-04-14 21:12:06,848 - INFO - /home/pi/Desktop/images/14042025/21/11/image_14042025_21_12_06_29720.jpg
MAIN: 2025-04-14 21:12:06,848 - INFO - duration: 0.6384885810039123
MAIN: 2025-04-14 21:12:06,849 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/12'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:12:36,498 - INFO - taking picture
MAIN: 2025-04-14 21:12:36,498 - INFO - we take 1765 photos in this while loop
MAIN: 2025-04-14 21:12:36,499 - INFO - /home/pi/Desktop/images/14042025/21/12/image_14042025_21_12_36_29595.jpg
MAIN: 2025-04-14 21:12:36,499 - INFO - duration: 0.6930558370004292
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 21:13:05,909 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:13:07,429 - INFO - taking picture
MAIN: 2025-04-14 21:13:07,429 - INFO - we take 1766 photos in this while loop
MAIN: 2025-04-14 21:13:07,429 - INFO - /home/pi/Desktop/images/14042025/21/12/image_14042025_21_13_07_30917.jpg
MAIN: 2025-04-14 21:13:07,430 - INFO - duration: 0.7067343309972784
MAIN: 2025-04-14 21:13:07,430 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/13'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:13:36,836 - INFO - taking picture
MAIN: 2025-04-14 21:13:36,837 - INFO - we take 1767 photos in this while loop
MAIN: 2025-04-14 21:13:36,837 - INFO - /home/pi/Desktop/images/14042025/21/13/image_14042025_21_13_36_29445.jpg
MAIN: 2025-04-14 21:13:36,837 - INFO - duration: 0.668474423000589
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 21:14:05,387 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:14:06,555 - INFO - taking picture
MAIN: 2025-04-14 21:14:06,556 - INFO - we take 1768 photos in this while loop
MAIN: 2025-04-14 21:14:06,556 - INFO - /home/pi/Desktop/images/14042025/21/13/image_14042025_21_14_06_29714.jpg
MAIN: 2025-04-14 21:14:06,557 - INFO - duration: 0.6736403619943303
MAIN: 2025-04-14 21:14:06,557 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/14'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:14:37,460 - INFO - taking picture
MAIN: 2025-04-14 21:14:37,461 - INFO - we take 1769 photos in this while loop
MAIN: 2025-04-14 21:14:37,461 - INFO - /home/pi/Desktop/images/14042025/21/14/image_14042025_21_14_37_30912.jpg
MAIN: 2025-04-14 21:14:37,461 - INFO - duration: 0.6654022869988694
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:15:06,199 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 21:15:06,383 - INFO - taking picture
MAIN: 2025-04-14 21:15:06,384 - INFO - we take 1770 photos in this while loop
MAIN: 2025-04-14 21:15:06,385 - INFO - /home/pi/Desktop/images/14042025/21/14/image_14042025_21_15_05_28879.jpg
MAIN: 2025-04-14 21:15:06,386 - INFO - duration: 0.7103181860002223
MAIN: 2025-04-14 21:15:06,387 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/15'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:15:37,399 - INFO - taking picture
MAIN: 2025-04-14 21:15:37,399 - INFO - we take 1771 photos in this while loop
MAIN: 2025-04-14 21:15:37,400 - INFO - /home/pi/Desktop/images/14042025/21/15/image_14042025_21_15_37_31035.jpg
MAIN: 2025-04-14 21:15:37,400 - INFO - duration: 0.6896258880005917
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
MAIN: 2025-04-14 21:16:05,684 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:16:07,397 - INFO - taking picture
MAIN: 2025-04-14 21:16:07,397 - INFO - we take 1772 photos in this while loop
MAIN: 2025-04-14 21:16:07,397 - INFO - /home/pi/Desktop/images/14042025/21/15/image_14042025_21_16_07_29997.jpg
MAIN: 2025-04-14 21:16:07,398 - INFO - duration: 0.6899330240048585
MAIN: 2025-04-14 21:16:07,398 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/16'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:16:37,076 - INFO - taking picture
MAIN: 2025-04-14 21:16:37,076 - INFO - we take 1773 photos in this while loop
MAIN: 2025-04-14 21:16:37,076 - INFO - /home/pi/Desktop/images/14042025/21/16/image_14042025_21_16_36_29669.jpg
MAIN: 2025-04-14 21:16:37,077 - INFO - duration: 0.6999547450031969
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 21:17:05,905 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:17:06,797 - INFO - taking picture
MAIN: 2025-04-14 21:17:06,798 - INFO - we take 1774 photos in this while loop
MAIN: 2025-04-14 21:17:06,798 - INFO - /home/pi/Desktop/images/14042025/21/16/image_14042025_21_17_06_29779.jpg
MAIN: 2025-04-14 21:17:06,798 - INFO - duration: 0.6423262910029734
MAIN: 2025-04-14 21:17:06,799 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/17'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:17:36,343 - INFO - taking picture
MAIN: 2025-04-14 21:17:36,344 - INFO - we take 1775 photos in this while loop
MAIN: 2025-04-14 21:17:36,344 - INFO - /home/pi/Desktop/images/14042025/21/17/image_14042025_21_17_35_29477.jpg
MAIN: 2025-04-14 21:17:36,345 - INFO - duration: 0.7114112589988508
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:18:06,111 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 21:18:06,461 - INFO - taking picture
MAIN: 2025-04-14 21:18:06,462 - INFO - we take 1776 photos in this while loop
MAIN: 2025-04-14 21:18:06,462 - INFO - /home/pi/Desktop/images/14042025/21/17/image_14042025_21_18_06_30103.jpg
MAIN: 2025-04-14 21:18:06,462 - INFO - duration: 0.7254058469989104
MAIN: 2025-04-14 21:18:06,462 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/18'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:18:37,463 - INFO - taking picture
MAIN: 2025-04-14 21:18:37,464 - INFO - we take 1777 photos in this while loop
MAIN: 2025-04-14 21:18:37,464 - INFO - /home/pi/Desktop/images/14042025/21/18/image_14042025_21_18_37_31053.jpg
MAIN: 2025-04-14 21:18:37,464 - INFO - duration: 0.6737585390001186
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 21:19:05,980 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:19:07,268 - INFO - taking picture
MAIN: 2025-04-14 21:19:07,269 - INFO - we take 1778 photos in this while loop
MAIN: 2025-04-14 21:19:07,269 - INFO - /home/pi/Desktop/images/14042025/21/18/image_14042025_21_19_06_29785.jpg
MAIN: 2025-04-14 21:19:07,269 - INFO - duration: 0.692845681005565
MAIN: 2025-04-14 21:19:07,270 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/19'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:19:36,777 - INFO - taking picture
MAIN: 2025-04-14 21:19:36,778 - INFO - we take 1779 photos in this while loop
MAIN: 2025-04-14 21:19:36,778 - INFO - /home/pi/Desktop/images/14042025/21/19/image_14042025_21_19_36_29526.jpg
MAIN: 2025-04-14 21:19:36,778 - INFO - duration: 0.675009165002848
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:20:07,111 - INFO - taking picture
MAIN: 2025-04-14 21:20:07,112 - INFO - we take 1780 photos in this while loop
MAIN: 2025-04-14 21:20:07,112 - INFO - /home/pi/Desktop/images/14042025/21/19/image_14042025_21_20_06_30332.jpg
MAIN: 2025-04-14 21:20:07,113 - INFO - duration: 0.6769067180066486
MAIN: 2025-04-14 21:20:07,113 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/20'
MAIN: 2025-04-14 21:20:07,380 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:20:36,855 - INFO - taking picture
MAIN: 2025-04-14 21:20:36,856 - INFO - we take 1781 photos in this while loop
MAIN: 2025-04-14 21:20:36,856 - INFO - /home/pi/Desktop/images/14042025/21/20/image_14042025_21_20_36_29716.jpg
MAIN: 2025-04-14 21:20:36,857 - INFO - duration: 0.7044039660031558
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 21:21:05,481 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:21:06,530 - INFO - taking picture
MAIN: 2025-04-14 21:21:06,531 - INFO - we take 1782 photos in this while loop
MAIN: 2025-04-14 21:21:06,531 - INFO - /home/pi/Desktop/images/14042025/21/20/image_14042025_21_21_06_29723.jpg
MAIN: 2025-04-14 21:21:06,531 - INFO - duration: 0.6557856700019329
MAIN: 2025-04-14 21:21:06,531 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/21'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:21:37,484 - INFO - taking picture
MAIN: 2025-04-14 21:21:37,484 - INFO - we take 1783 photos in this while loop
MAIN: 2025-04-14 21:21:37,485 - INFO - /home/pi/Desktop/images/14042025/21/21/image_14042025_21_21_37_30912.jpg
MAIN: 2025-04-14 21:21:37,485 - INFO - duration: 0.6972496930029592
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:22:06,044 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 21:22:06,377 - INFO - taking picture
MAIN: 2025-04-14 21:22:06,377 - INFO - we take 1784 photos in this while loop
MAIN: 2025-04-14 21:22:06,378 - INFO - /home/pi/Desktop/images/14042025/21/21/image_14042025_21_22_05_28879.jpg
MAIN: 2025-04-14 21:22:06,378 - INFO - duration: 0.7105181340011768
MAIN: 2025-04-14 21:22:06,378 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/22'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:22:37,294 - INFO - taking picture
MAIN: 2025-04-14 21:22:37,295 - INFO - we take 1785 photos in this while loop
MAIN: 2025-04-14 21:22:37,295 - INFO - /home/pi/Desktop/images/14042025/21/22/image_14042025_21_22_36_30933.jpg
MAIN: 2025-04-14 21:22:37,295 - INFO - duration: 0.6948882330034394
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
MAIN: 2025-04-14 21:23:05,607 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:23:06,809 - INFO - taking picture
MAIN: 2025-04-14 21:23:06,810 - INFO - we take 1786 photos in this while loop
MAIN: 2025-04-14 21:23:06,810 - INFO - /home/pi/Desktop/images/14042025/21/22/image_14042025_21_23_06_29540.jpg
MAIN: 2025-04-14 21:23:06,810 - INFO - duration: 0.6688201010038028
MAIN: 2025-04-14 21:23:06,810 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/23'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:23:36,318 - INFO - taking picture
MAIN: 2025-04-14 21:23:36,319 - INFO - we take 1787 photos in this while loop
MAIN: 2025-04-14 21:23:36,319 - INFO - /home/pi/Desktop/images/14042025/21/23/image_14042025_21_23_35_29507.jpg
MAIN: 2025-04-14 21:23:36,319 - INFO - duration: 0.6700116119973245
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 21:24:06,548 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:24:07,410 - INFO - taking picture
MAIN: 2025-04-14 21:24:07,411 - INFO - we take 1788 photos in this while loop
MAIN: 2025-04-14 21:24:07,411 - INFO - /home/pi/Desktop/images/14042025/21/23/image_14042025_21_24_07_31118.jpg
MAIN: 2025-04-14 21:24:07,411 - INFO - duration: 0.6435775930003729
MAIN: 2025-04-14 21:24:07,412 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/24'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:24:37,029 - INFO - taking picture
MAIN: 2025-04-14 21:24:37,029 - INFO - we take 1789 photos in this while loop
MAIN: 2025-04-14 21:24:37,029 - INFO - /home/pi/Desktop/images/14042025/21/24/image_14042025_21_24_36_29567.jpg
MAIN: 2025-04-14 21:24:37,030 - INFO - duration: 0.6949517230023048
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 21:25:06,730 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:25:07,269 - INFO - taking picture
MAIN: 2025-04-14 21:25:07,270 - INFO - we take 1790 photos in this while loop
MAIN: 2025-04-14 21:25:07,270 - INFO - /home/pi/Desktop/images/14042025/21/24/image_14042025_21_25_06_30231.jpg
MAIN: 2025-04-14 21:25:07,270 - INFO - duration: 0.7040581840046798
MAIN: 2025-04-14 21:25:07,271 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/25'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:25:36,858 - INFO - taking picture
MAIN: 2025-04-14 21:25:36,859 - INFO - we take 1791 photos in this while loop
MAIN: 2025-04-14 21:25:36,859 - INFO - /home/pi/Desktop/images/14042025/21/25/image_14042025_21_25_36_29593.jpg
MAIN: 2025-04-14 21:25:36,859 - INFO - duration: 0.6996898489960586
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 21:26:05,687 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:26:06,792 - INFO - taking picture
MAIN: 2025-04-14 21:26:06,793 - INFO - we take 1792 photos in this while loop
MAIN: 2025-04-14 21:26:06,793 - INFO - /home/pi/Desktop/images/14042025/21/25/image_14042025_21_26_06_29996.jpg
MAIN: 2025-04-14 21:26:06,793 - INFO - duration: 0.6373405080012162
MAIN: 2025-04-14 21:26:06,794 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/26'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:26:36,372 - INFO - taking picture
MAIN: 2025-04-14 21:26:36,373 - INFO - we take 1793 photos in this while loop
MAIN: 2025-04-14 21:26:36,373 - INFO - /home/pi/Desktop/images/14042025/21/26/image_14042025_21_26_35_29537.jpg
MAIN: 2025-04-14 21:26:36,373 - INFO - duration: 0.6796534379973309
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 21:27:05,710 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:27:07,489 - INFO - taking picture
MAIN: 2025-04-14 21:27:07,489 - INFO - we take 1794 photos in this while loop
MAIN: 2025-04-14 21:27:07,489 - INFO - /home/pi/Desktop/images/14042025/21/26/image_14042025_21_27_07_31080.jpg
MAIN: 2025-04-14 21:27:07,490 - INFO - duration: 0.7157692819964723
MAIN: 2025-04-14 21:27:07,490 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/27'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:27:37,193 - INFO - taking picture
MAIN: 2025-04-14 21:27:37,194 - INFO - we take 1795 photos in this while loop
MAIN: 2025-04-14 21:27:37,194 - INFO - /home/pi/Desktop/images/14042025/21/27/image_14042025_21_27_36_29720.jpg
MAIN: 2025-04-14 21:27:37,194 - INFO - duration: 0.6998990680003772
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
MAIN: 2025-04-14 21:28:06,279 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:28:07,084 - INFO - taking picture
MAIN: 2025-04-14 21:28:07,084 - INFO - we take 1796 photos in this while loop
MAIN: 2025-04-14 21:28:07,084 - INFO - /home/pi/Desktop/images/14042025/21/27/image_14042025_21_28_06_29939.jpg
MAIN: 2025-04-14 21:28:07,085 - INFO - duration: 0.6501807200038456
MAIN: 2025-04-14 21:28:07,085 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/28'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:28:36,759 - INFO - taking picture
MAIN: 2025-04-14 21:28:36,760 - INFO - we take 1797 photos in this while loop
MAIN: 2025-04-14 21:28:36,760 - INFO - /home/pi/Desktop/images/14042025/21/28/image_14042025_21_28_36_29632.jpg
MAIN: 2025-04-14 21:28:36,760 - INFO - duration: 0.6938603689995944
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 21:29:05,992 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:29:06,778 - INFO - taking picture
MAIN: 2025-04-14 21:29:06,778 - INFO - we take 1798 photos in this while loop
MAIN: 2025-04-14 21:29:06,778 - INFO - /home/pi/Desktop/images/14042025/21/28/image_14042025_21_29_06_30072.jpg
MAIN: 2025-04-14 21:29:06,779 - INFO - duration: 0.639678476996778
MAIN: 2025-04-14 21:29:06,779 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/29'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:29:36,431 - INFO - taking picture
MAIN: 2025-04-14 21:29:36,432 - INFO - we take 1799 photos in this while loop
MAIN: 2025-04-14 21:29:36,432 - INFO - /home/pi/Desktop/images/14042025/21/29/image_14042025_21_29_36_29598.jpg
MAIN: 2025-04-14 21:29:36,432 - INFO - duration: 0.6947110990004148
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:30:06,684 - INFO - taking picture
MAIN: 2025-04-14 21:30:06,684 - INFO - we take 1800 photos in this while loop
MAIN: 2025-04-14 21:30:06,685 - INFO - /home/pi/Desktop/images/14042025/21/29/image_14042025_21_30_06_30250.jpg
MAIN: 2025-04-14 21:30:06,685 - INFO - duration: 0.6972307859978173
MAIN: 2025-04-14 21:30:06,685 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/30'
MAIN: 2025-04-14 21:30:07,271 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:30:36,327 - INFO - taking picture
MAIN: 2025-04-14 21:30:36,327 - INFO - we take 1801 photos in this while loop
MAIN: 2025-04-14 21:30:36,328 - INFO - /home/pi/Desktop/images/14042025/21/30/image_14042025_21_30_35_29638.jpg
MAIN: 2025-04-14 21:30:36,328 - INFO - duration: 0.7022258409997448
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 21:31:05,576 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:31:07,526 - INFO - taking picture
MAIN: 2025-04-14 21:31:07,527 - INFO - we take 1802 photos in this while loop
MAIN: 2025-04-14 21:31:07,527 - INFO - /home/pi/Desktop/images/14042025/21/30/image_14042025_21_31_07_31209.jpg
MAIN: 2025-04-14 21:31:07,527 - INFO - duration: 0.6919048999989172
MAIN: 2025-04-14 21:31:07,528 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/31'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:31:37,106 - INFO - taking picture
MAIN: 2025-04-14 21:31:37,106 - INFO - we take 1803 photos in this while loop
MAIN: 2025-04-14 21:31:37,106 - INFO - /home/pi/Desktop/images/14042025/21/31/image_14042025_21_31_36_29586.jpg
MAIN: 2025-04-14 21:31:37,107 - INFO - duration: 0.6850810430041747
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 21:32:06,105 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:32:06,890 - INFO - taking picture
MAIN: 2025-04-14 21:32:06,890 - INFO - we take 1804 photos in this while loop
MAIN: 2025-04-14 21:32:06,890 - INFO - /home/pi/Desktop/images/14042025/21/31/image_14042025_21_32_06_29831.jpg
MAIN: 2025-04-14 21:32:06,891 - INFO - duration: 0.6372896219982067
MAIN: 2025-04-14 21:32:06,891 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/32'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:32:36,571 - INFO - taking picture
MAIN: 2025-04-14 21:32:36,571 - INFO - we take 1805 photos in this while loop
MAIN: 2025-04-14 21:32:36,572 - INFO - /home/pi/Desktop/images/14042025/21/32/image_14042025_21_32_36_29620.jpg
MAIN: 2025-04-14 21:32:36,572 - INFO - duration: 0.6976425050015678
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
MAIN: 2025-04-14 21:33:05,650 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:33:06,404 - INFO - taking picture
MAIN: 2025-04-14 21:33:06,404 - INFO - we take 1806 photos in this while loop
MAIN: 2025-04-14 21:33:06,404 - INFO - /home/pi/Desktop/images/14042025/21/32/image_14042025_21_33_06_29892.jpg
MAIN: 2025-04-14 21:33:06,404 - INFO - duration: 0.6378306640035589
MAIN: 2025-04-14 21:33:06,405 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/33'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:33:37,297 - INFO - taking picture
MAIN: 2025-04-14 21:33:37,297 - INFO - we take 1807 photos in this while loop
MAIN: 2025-04-14 21:33:37,298 - INFO - /home/pi/Desktop/images/14042025/21/33/image_14042025_21_33_36_30837.jpg
MAIN: 2025-04-14 21:33:37,298 - INFO - duration: 0.6937012540001888
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 21:34:06,081 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:34:07,163 - INFO - taking picture
MAIN: 2025-04-14 21:34:07,163 - INFO - we take 1808 photos in this while loop
MAIN: 2025-04-14 21:34:07,164 - INFO - /home/pi/Desktop/images/14042025/21/33/image_14042025_21_34_06_29892.jpg
MAIN: 2025-04-14 21:34:07,164 - INFO - duration: 0.6673663499968825
MAIN: 2025-04-14 21:34:07,164 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/34'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:34:36,865 - INFO - taking picture
MAIN: 2025-04-14 21:34:36,866 - INFO - we take 1809 photos in this while loop
MAIN: 2025-04-14 21:34:36,866 - INFO - /home/pi/Desktop/images/14042025/21/34/image_14042025_21_34_36_29684.jpg
MAIN: 2025-04-14 21:34:36,866 - INFO - duration: 0.6853542049939279
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:35:06,877 - INFO - taking picture
MAIN: 2025-04-14 21:35:06,878 - INFO - we take 1810 photos in this while loop
MAIN: 2025-04-14 21:35:06,879 - INFO - /home/pi/Desktop/images/14042025/21/34/image_14042025_21_35_06_30021.jpg
MAIN: 2025-04-14 21:35:06,879 - INFO - duration: 0.6765065790023073
MAIN: 2025-04-14 21:35:06,880 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/35'
MAIN: 2025-04-14 21:35:06,959 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:35:36,513 - INFO - taking picture
MAIN: 2025-04-14 21:35:36,514 - INFO - we take 1811 photos in this while loop
MAIN: 2025-04-14 21:35:36,514 - INFO - /home/pi/Desktop/images/14042025/21/35/image_14042025_21_35_36_29609.jpg
MAIN: 2025-04-14 21:35:36,514 - INFO - duration: 0.7017274779936997
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:36:06,323 - INFO - taking picture
MAIN: 2025-04-14 21:36:06,324 - INFO - we take 1812 photos in this while loop
MAIN: 2025-04-14 21:36:06,324 - INFO - /home/pi/Desktop/images/14042025/21/35/image_14042025_21_36_05_29838.jpg
MAIN: 2025-04-14 21:36:06,324 - INFO - duration: 0.672735793996253
MAIN: 2025-04-14 21:36:06,325 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/36'
MAIN: 2025-04-14 21:36:06,458 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:36:37,181 - INFO - taking picture
MAIN: 2025-04-14 21:36:37,182 - INFO - we take 1813 photos in this while loop
MAIN: 2025-04-14 21:36:37,182 - INFO - /home/pi/Desktop/images/14042025/21/36/image_14042025_21_36_36_30842.jpg
MAIN: 2025-04-14 21:36:37,182 - INFO - duration: 0.6878784669970628
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 21:37:05,460 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:37:06,886 - INFO - taking picture
MAIN: 2025-04-14 21:37:06,887 - INFO - we take 1814 photos in this while loop
MAIN: 2025-04-14 21:37:06,887 - INFO - /home/pi/Desktop/images/14042025/21/36/image_14042025_21_37_06_29702.jpg
MAIN: 2025-04-14 21:37:06,887 - INFO - duration: 0.6904480709999916
MAIN: 2025-04-14 21:37:06,888 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/37'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:37:36,370 - INFO - taking picture
MAIN: 2025-04-14 21:37:36,370 - INFO - we take 1815 photos in this while loop
MAIN: 2025-04-14 21:37:36,371 - INFO - /home/pi/Desktop/images/14042025/21/37/image_14042025_21_37_35_29468.jpg
MAIN: 2025-04-14 21:37:36,371 - INFO - duration: 0.705415794000146
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:38:06,221 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 21:38:06,477 - INFO - taking picture
MAIN: 2025-04-14 21:38:06,478 - INFO - we take 1816 photos in this while loop
MAIN: 2025-04-14 21:38:06,478 - INFO - /home/pi/Desktop/images/14042025/21/37/image_14042025_21_38_06_30108.jpg
MAIN: 2025-04-14 21:38:06,478 - INFO - duration: 0.7040364909989876
MAIN: 2025-04-14 21:38:06,479 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/38'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:38:37,381 - INFO - taking picture
MAIN: 2025-04-14 21:38:37,381 - INFO - we take 1817 photos in this while loop
MAIN: 2025-04-14 21:38:37,382 - INFO - /home/pi/Desktop/images/14042025/21/38/image_14042025_21_38_37_30928.jpg
MAIN: 2025-04-14 21:38:37,382 - INFO - duration: 0.6790999009972438
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 21:39:05,858 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:39:07,135 - INFO - taking picture
MAIN: 2025-04-14 21:39:07,136 - INFO - we take 1818 photos in this while loop
MAIN: 2025-04-14 21:39:07,136 - INFO - /home/pi/Desktop/images/14042025/21/38/image_14042025_21_39_06_29763.jpg
MAIN: 2025-04-14 21:39:07,136 - INFO - duration: 0.6703218979964731
MAIN: 2025-04-14 21:39:07,137 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/39'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:39:36,736 - INFO - taking picture
MAIN: 2025-04-14 21:39:36,741 - INFO - we take 1819 photos in this while loop
MAIN: 2025-04-14 21:39:36,742 - INFO - /home/pi/Desktop/images/14042025/21/39/image_14042025_21_39_36_29575.jpg
MAIN: 2025-04-14 21:39:36,742 - INFO - duration: 0.700684095005272
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:40:07,231 - INFO - taking picture
MAIN: 2025-04-14 21:40:07,232 - INFO - we take 1820 photos in this while loop
MAIN: 2025-04-14 21:40:07,233 - INFO - /home/pi/Desktop/images/14042025/21/39/image_14042025_21_40_06_30515.jpg
MAIN: 2025-04-14 21:40:07,234 - INFO - duration: 0.6772704680042807
MAIN: 2025-04-14 21:40:07,235 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/40'
MAIN: 2025-04-14 21:40:07,601 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:40:36,769 - INFO - taking picture
MAIN: 2025-04-14 21:40:36,770 - INFO - we take 1821 photos in this while loop
MAIN: 2025-04-14 21:40:36,770 - INFO - /home/pi/Desktop/images/14042025/21/40/image_14042025_21_40_36_29521.jpg
MAIN: 2025-04-14 21:40:36,770 - INFO - duration: 0.6923136039986275
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 21:41:06,298 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:41:06,685 - INFO - taking picture
MAIN: 2025-04-14 21:41:06,685 - INFO - we take 1822 photos in this while loop
MAIN: 2025-04-14 21:41:06,685 - INFO - /home/pi/Desktop/images/14042025/21/40/image_14042025_21_41_06_29909.jpg
MAIN: 2025-04-14 21:41:06,686 - INFO - duration: 0.6979257529965253
MAIN: 2025-04-14 21:41:06,686 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/41'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:41:37,460 - INFO - taking picture
MAIN: 2025-04-14 21:41:37,460 - INFO - we take 1823 photos in this while loop
MAIN: 2025-04-14 21:41:37,460 - INFO - /home/pi/Desktop/images/14042025/21/41/image_14042025_21_41_37_30793.jpg
MAIN: 2025-04-14 21:41:37,461 - INFO - duration: 0.6798054540049634
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 21:42:05,953 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:42:07,499 - INFO - taking picture
MAIN: 2025-04-14 21:42:07,499 - INFO - we take 1824 photos in this while loop
MAIN: 2025-04-14 21:42:07,500 - INFO - /home/pi/Desktop/images/14042025/21/41/image_14042025_21_42_07_30028.jpg
MAIN: 2025-04-14 21:42:07,500 - INFO - duration: 0.6901943710035994
MAIN: 2025-04-14 21:42:07,500 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/42'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:42:37,130 - INFO - taking picture
MAIN: 2025-04-14 21:42:37,131 - INFO - we take 1825 photos in this while loop
MAIN: 2025-04-14 21:42:37,131 - INFO - /home/pi/Desktop/images/14042025/21/42/image_14042025_21_42_36_29627.jpg
MAIN: 2025-04-14 21:42:37,131 - INFO - duration: 0.6936916220001876
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 21:43:05,972 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:43:06,839 - INFO - taking picture
MAIN: 2025-04-14 21:43:06,840 - INFO - we take 1826 photos in this while loop
MAIN: 2025-04-14 21:43:06,840 - INFO - /home/pi/Desktop/images/14042025/21/42/image_14042025_21_43_06_29770.jpg
MAIN: 2025-04-14 21:43:06,840 - INFO - duration: 0.6320789270030218
MAIN: 2025-04-14 21:43:06,841 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/43'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:43:36,497 - INFO - taking picture
MAIN: 2025-04-14 21:43:36,497 - INFO - we take 1827 photos in this while loop
MAIN: 2025-04-14 21:43:36,497 - INFO - /home/pi/Desktop/images/14042025/21/43/image_14042025_21_43_36_29623.jpg
MAIN: 2025-04-14 21:43:36,498 - INFO - duration: 0.6660009650004213
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 21:44:05,938 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:44:06,685 - INFO - taking picture
MAIN: 2025-04-14 21:44:06,686 - INFO - we take 1828 photos in this while loop
MAIN: 2025-04-14 21:44:06,686 - INFO - /home/pi/Desktop/images/14042025/21/43/image_14042025_21_44_06_30207.jpg
MAIN: 2025-04-14 21:44:06,686 - INFO - duration: 0.6467040479983552
MAIN: 2025-04-14 21:44:06,687 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/44'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:44:36,338 - INFO - taking picture
MAIN: 2025-04-14 21:44:36,339 - INFO - we take 1829 photos in this while loop
MAIN: 2025-04-14 21:44:36,339 - INFO - /home/pi/Desktop/images/14042025/21/44/image_14042025_21_44_35_29610.jpg
MAIN: 2025-04-14 21:44:36,339 - INFO - duration: 0.6893475979959476
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:45:06,397 - INFO - taking picture
MAIN: 2025-04-14 21:45:06,397 - INFO - we take 1830 photos in this while loop
MAIN: 2025-04-14 21:45:06,397 - INFO - /home/pi/Desktop/images/14042025/21/44/image_14042025_21_45_05_30047.jpg
MAIN: 2025-04-14 21:45:06,398 - INFO - duration: 0.7007713550046901
MAIN: 2025-04-14 21:45:06,521 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/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: 2025-04-14 21:45:07,556 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:45:37,206 - INFO - taking picture
MAIN: 2025-04-14 21:45:37,207 - INFO - we take 1831 photos in this while loop
MAIN: 2025-04-14 21:45:37,207 - INFO - /home/pi/Desktop/images/14042025/21/45/image_14042025_21_45_36_30804.jpg
MAIN: 2025-04-14 21:45:37,207 - INFO - duration: 0.706000791004044
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 21:46:05,612 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:46:07,525 - INFO - taking picture
MAIN: 2025-04-14 21:46:07,526 - INFO - we take 1832 photos in this while loop
MAIN: 2025-04-14 21:46:07,526 - INFO - /home/pi/Desktop/images/14042025/21/45/image_14042025_21_46_07_30327.jpg
MAIN: 2025-04-14 21:46:07,526 - INFO - duration: 0.6973377249960322
MAIN: 2025-04-14 21:46:07,526 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/46'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:46:37,048 - INFO - taking picture
MAIN: 2025-04-14 21:46:37,048 - INFO - we take 1833 photos in this while loop
MAIN: 2025-04-14 21:46:37,049 - INFO - /home/pi/Desktop/images/14042025/21/46/image_14042025_21_46_36_29574.jpg
MAIN: 2025-04-14 21:46:37,049 - INFO - duration: 0.6452100220049033
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
MAIN: 2025-04-14 21:47:05,500 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:47:06,793 - INFO - taking picture
MAIN: 2025-04-14 21:47:06,793 - INFO - we take 1834 photos in this while loop
MAIN: 2025-04-14 21:47:06,793 - INFO - /home/pi/Desktop/images/14042025/21/46/image_14042025_21_47_06_29713.jpg
MAIN: 2025-04-14 21:47:06,794 - INFO - duration: 0.6763244040048448
MAIN: 2025-04-14 21:47:06,794 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/47'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:47:36,351 - INFO - taking picture
MAIN: 2025-04-14 21:47:36,351 - INFO - we take 1835 photos in this while loop
MAIN: 2025-04-14 21:47:36,352 - INFO - /home/pi/Desktop/images/14042025/21/47/image_14042025_21_47_35_29565.jpg
MAIN: 2025-04-14 21:47:36,352 - INFO - duration: 0.6694245139951818
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 21:48:06,044 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:48:06,561 - INFO - taking picture
MAIN: 2025-04-14 21:48:06,561 - INFO - we take 1836 photos in this while loop
MAIN: 2025-04-14 21:48:06,562 - INFO - /home/pi/Desktop/images/14042025/21/47/image_14042025_21_48_06_30162.jpg
MAIN: 2025-04-14 21:48:06,562 - INFO - duration: 0.716619835999154
MAIN: 2025-04-14 21:48:06,562 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/48'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:48:37,455 - INFO - taking picture
MAIN: 2025-04-14 21:48:37,455 - INFO - we take 1837 photos in this while loop
MAIN: 2025-04-14 21:48:37,455 - INFO - /home/pi/Desktop/images/14042025/21/48/image_14042025_21_48_37_30905.jpg
MAIN: 2025-04-14 21:48:37,456 - INFO - duration: 0.7052189550013281
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
MAIN: 2025-04-14 21:49:05,977 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:49:07,231 - INFO - taking picture
MAIN: 2025-04-14 21:49:07,231 - INFO - we take 1838 photos in this while loop
MAIN: 2025-04-14 21:49:07,231 - INFO - /home/pi/Desktop/images/14042025/21/48/image_14042025_21_49_06_29808.jpg
MAIN: 2025-04-14 21:49:07,232 - INFO - duration: 0.6728834370005643
MAIN: 2025-04-14 21:49:07,232 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/49'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:49:36,953 - INFO - taking picture
MAIN: 2025-04-14 21:49:36,954 - INFO - we take 1839 photos in this while loop
MAIN: 2025-04-14 21:49:36,954 - INFO - /home/pi/Desktop/images/14042025/21/49/image_14042025_21_49_36_29708.jpg
MAIN: 2025-04-14 21:49:36,954 - INFO - duration: 0.6862491189967841
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:50:07,438 - INFO - taking picture
MAIN: 2025-04-14 21:50:07,439 - INFO - we take 1840 photos in this while loop
MAIN: 2025-04-14 21:50:07,439 - INFO - /home/pi/Desktop/images/14042025/21/49/image_14042025_21_50_07_30476.jpg
MAIN: 2025-04-14 21:50:07,439 - INFO - duration: 0.6945619890029775
MAIN: 2025-04-14 21:50:07,440 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/50'
MAIN: 2025-04-14 21:50:07,482 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:50:37,120 - INFO - taking picture
MAIN: 2025-04-14 21:50:37,121 - INFO - we take 1841 photos in this while loop
MAIN: 2025-04-14 21:50:37,121 - INFO - /home/pi/Desktop/images/14042025/21/50/image_14042025_21_50_36_29691.jpg
MAIN: 2025-04-14 21:50:37,121 - INFO - duration: 0.6847641279964591
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 21:51:05,542 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:51:07,142 - INFO - taking picture
MAIN: 2025-04-14 21:51:07,142 - INFO - we take 1842 photos in this while loop
MAIN: 2025-04-14 21:51:07,142 - INFO - /home/pi/Desktop/images/14042025/21/50/image_14042025_21_51_06_30009.jpg
MAIN: 2025-04-14 21:51:07,142 - INFO - duration: 0.6963342899980489
MAIN: 2025-04-14 21:51:07,143 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/51'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:51:36,851 - INFO - taking picture
MAIN: 2025-04-14 21:51:36,852 - INFO - we take 1843 photos in this while loop
MAIN: 2025-04-14 21:51:36,852 - INFO - /home/pi/Desktop/images/14042025/21/51/image_14042025_21_51_36_29702.jpg
MAIN: 2025-04-14 21:51:36,852 - INFO - duration: 0.7035505439998815
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 21:52:05,652 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:52:06,758 - INFO - taking picture
MAIN: 2025-04-14 21:52:06,758 - INFO - we take 1844 photos in this while loop
MAIN: 2025-04-14 21:52:06,759 - INFO - /home/pi/Desktop/images/14042025/21/51/image_14042025_21_52_06_29921.jpg
MAIN: 2025-04-14 21:52:06,759 - INFO - duration: 0.6886187240015715
MAIN: 2025-04-14 21:52:06,759 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/52'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:52:36,388 - INFO - taking picture
MAIN: 2025-04-14 21:52:36,388 - INFO - we take 1845 photos in this while loop
MAIN: 2025-04-14 21:52:36,389 - INFO - /home/pi/Desktop/images/14042025/21/52/image_14042025_21_52_36_29612.jpg
MAIN: 2025-04-14 21:52:36,389 - INFO - duration: 0.7058596669958206
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 21:53:05,744 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:53:07,493 - INFO - taking picture
MAIN: 2025-04-14 21:53:07,494 - INFO - we take 1846 photos in this while loop
MAIN: 2025-04-14 21:53:07,494 - INFO - /home/pi/Desktop/images/14042025/21/52/image_14042025_21_53_07_31168.jpg
MAIN: 2025-04-14 21:53:07,494 - INFO - duration: 0.6421517459966708
MAIN: 2025-04-14 21:53:07,494 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/53'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:53:37,161 - INFO - taking picture
MAIN: 2025-04-14 21:53:37,161 - INFO - we take 1847 photos in this while loop
MAIN: 2025-04-14 21:53:37,161 - INFO - /home/pi/Desktop/images/14042025/21/53/image_14042025_21_53_36_29664.jpg
MAIN: 2025-04-14 21:53:37,162 - INFO - duration: 0.6453203429991845
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 21:54:06,271 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:54:06,988 - INFO - taking picture
MAIN: 2025-04-14 21:54:06,988 - INFO - we take 1848 photos in this while loop
MAIN: 2025-04-14 21:54:06,988 - INFO - /home/pi/Desktop/images/14042025/21/53/image_14042025_21_54_06_29832.jpg
MAIN: 2025-04-14 21:54:06,989 - INFO - duration: 0.6398824790012441
MAIN: 2025-04-14 21:54:06,989 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/54'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:54:36,609 - INFO - taking picture
MAIN: 2025-04-14 21:54:36,609 - INFO - we take 1849 photos in this while loop
MAIN: 2025-04-14 21:54:36,610 - INFO - /home/pi/Desktop/images/14042025/21/54/image_14042025_21_54_36_29615.jpg
MAIN: 2025-04-14 21:54:36,610 - INFO - duration: 0.64515914900403
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:55:06,954 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 21:55:06,972 - INFO - taking picture
MAIN: 2025-04-14 21:55:06,973 - INFO - we take 1850 photos in this while loop
MAIN: 2025-04-14 21:55:06,974 - INFO - /home/pi/Desktop/images/14042025/21/54/image_14042025_21_55_06_30331.jpg
MAIN: 2025-04-14 21:55:06,974 - INFO - duration: 0.6780415000030189
MAIN: 2025-04-14 21:55:06,975 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/55'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:55:36,565 - INFO - taking picture
MAIN: 2025-04-14 21:55:36,565 - INFO - we take 1851 photos in this while loop
MAIN: 2025-04-14 21:55:36,566 - INFO - /home/pi/Desktop/images/14042025/21/55/image_14042025_21_55_36_29582.jpg
MAIN: 2025-04-14 21:55:36,566 - INFO - duration: 0.6874780149955768
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 21:56:05,745 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:56:06,427 - INFO - taking picture
MAIN: 2025-04-14 21:56:06,427 - INFO - we take 1852 photos in this while loop
MAIN: 2025-04-14 21:56:06,427 - INFO - /home/pi/Desktop/images/14042025/21/55/image_14042025_21_56_06_29836.jpg
MAIN: 2025-04-14 21:56:06,428 - INFO - duration: 0.7127699470001971
MAIN: 2025-04-14 21:56:06,428 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/56'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:56:37,322 - INFO - taking picture
MAIN: 2025-04-14 21:56:37,323 - INFO - we take 1853 photos in this while loop
MAIN: 2025-04-14 21:56:37,323 - INFO - /home/pi/Desktop/images/14042025/21/56/image_14042025_21_56_36_30905.jpg
MAIN: 2025-04-14 21:56:37,323 - INFO - duration: 0.702485522000643
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 21:57:05,507 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:57:07,195 - INFO - taking picture
MAIN: 2025-04-14 21:57:07,196 - INFO - we take 1854 photos in this while loop
MAIN: 2025-04-14 21:57:07,196 - INFO - /home/pi/Desktop/images/14042025/21/56/image_14042025_21_57_06_29928.jpg
MAIN: 2025-04-14 21:57:07,196 - INFO - duration: 0.6469646819969057
MAIN: 2025-04-14 21:57:07,196 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/57'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:57:36,702 - INFO - taking picture
MAIN: 2025-04-14 21:57:36,703 - INFO - we take 1855 photos in this while loop
MAIN: 2025-04-14 21:57:36,703 - INFO - /home/pi/Desktop/images/14042025/21/57/image_14042025_21_57_36_29485.jpg
MAIN: 2025-04-14 21:57:36,704 - INFO - duration: 0.6689481760040508
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 21:58:05,787 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:58:06,450 - INFO - taking picture
MAIN: 2025-04-14 21:58:06,451 - INFO - we take 1856 photos in this while loop
MAIN: 2025-04-14 21:58:06,451 - INFO - /home/pi/Desktop/images/14042025/21/57/image_14042025_21_58_06_29749.jpg
MAIN: 2025-04-14 21:58:06,452 - INFO - duration: 0.6670041150064208
MAIN: 2025-04-14 21:58:06,452 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/58'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:58:37,426 - INFO - taking picture
MAIN: 2025-04-14 21:58:37,427 - INFO - we take 1857 photos in this while loop
MAIN: 2025-04-14 21:58:37,427 - INFO - /home/pi/Desktop/images/14042025/21/58/image_14042025_21_58_37_30930.jpg
MAIN: 2025-04-14 21:58:37,427 - INFO - duration: 0.7122657910003909
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 21:59:06,235 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:59:07,260 - INFO - taking picture
MAIN: 2025-04-14 21:59:07,261 - INFO - we take 1858 photos in this while loop
MAIN: 2025-04-14 21:59:07,261 - INFO - /home/pi/Desktop/images/14042025/21/58/image_14042025_21_59_06_29874.jpg
MAIN: 2025-04-14 21:59:07,261 - INFO - duration: 0.6718089619971579
MAIN: 2025-04-14 21:59:07,261 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/21/59'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 21:59:36,808 - INFO - taking picture
MAIN: 2025-04-14 21:59:36,809 - INFO - we take 1859 photos in this while loop
MAIN: 2025-04-14 21:59:36,809 - INFO - /home/pi/Desktop/images/14042025/21/59/image_14042025_21_59_36_29522.jpg
MAIN: 2025-04-14 21:59:36,809 - INFO - duration: 0.6971636040034355
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:00:06,091 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:00:06,955 - INFO - taking picture
MAIN: 2025-04-14 22:00:06,955 - INFO - we take 1860 photos in this while loop
MAIN: 2025-04-14 22:00:06,956 - INFO - /home/pi/Desktop/images/14042025/21/59/image_14042025_22_00_06_30175.jpg
MAIN: 2025-04-14 22:00:06,956 - INFO - duration: 0.6681497469980968
MAIN: 2025-04-14 22:00:06,956 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/00'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:00:36,566 - INFO - taking picture
MAIN: 2025-04-14 22:00:36,566 - INFO - we take 1861 photos in this while loop
MAIN: 2025-04-14 22:00:36,567 - INFO - /home/pi/Desktop/images/14042025/22/00/image_14042025_22_00_36_29591.jpg
MAIN: 2025-04-14 22:00:36,567 - INFO - duration: 0.6877503229989088
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:01:05,529 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:01:06,349 - INFO - taking picture
MAIN: 2025-04-14 22:01:06,349 - INFO - we take 1862 photos in this while loop
MAIN: 2025-04-14 22:01:06,349 - INFO - /home/pi/Desktop/images/14042025/22/00/image_14042025_22_01_05_29813.jpg
MAIN: 2025-04-14 22:01:06,350 - INFO - duration: 0.6575889660016401
MAIN: 2025-04-14 22:01:06,350 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/01'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:01:37,291 - INFO - taking picture
MAIN: 2025-04-14 22:01:37,292 - INFO - we take 1863 photos in this while loop
MAIN: 2025-04-14 22:01:37,292 - INFO - /home/pi/Desktop/images/14042025/22/01/image_14042025_22_01_36_30914.jpg
MAIN: 2025-04-14 22:01:37,292 - INFO - duration: 0.6857455870049307
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:02:06,157 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:02:07,099 - INFO - taking picture
MAIN: 2025-04-14 22:02:07,100 - INFO - we take 1864 photos in this while loop
MAIN: 2025-04-14 22:02:07,100 - INFO - /home/pi/Desktop/images/14042025/22/01/image_14042025_22_02_06_29859.jpg
MAIN: 2025-04-14 22:02:07,100 - INFO - duration: 0.6348461509987828
MAIN: 2025-04-14 22:02:07,101 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/02'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:02:36,742 - INFO - taking picture
MAIN: 2025-04-14 22:02:36,743 - INFO - we take 1865 photos in this while loop
MAIN: 2025-04-14 22:02:36,743 - INFO - /home/pi/Desktop/images/14042025/22/02/image_14042025_22_02_36_29582.jpg
MAIN: 2025-04-14 22:02:36,743 - INFO - duration: 0.6950504329943215
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:03:05,846 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:03:06,586 - INFO - taking picture
MAIN: 2025-04-14 22:03:06,586 - INFO - we take 1866 photos in this while loop
MAIN: 2025-04-14 22:03:06,586 - INFO - /home/pi/Desktop/images/14042025/22/02/image_14042025_22_03_06_29865.jpg
MAIN: 2025-04-14 22:03:06,587 - INFO - duration: 0.6729523059984786
MAIN: 2025-04-14 22:03:06,587 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/03'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:03:37,557 - INFO - taking picture
MAIN: 2025-04-14 22:03:37,557 - INFO - we take 1867 photos in this while loop
MAIN: 2025-04-14 22:03:37,558 - INFO - /home/pi/Desktop/images/14042025/22/03/image_14042025_22_03_37_30950.jpg
MAIN: 2025-04-14 22:03:37,558 - INFO - duration: 0.6933458010025788
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:04:06,712 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:04:07,416 - INFO - taking picture
MAIN: 2025-04-14 22:04:07,417 - INFO - we take 1868 photos in this while loop
MAIN: 2025-04-14 22:04:07,417 - INFO - /home/pi/Desktop/images/14042025/22/03/image_14042025_22_04_07_29857.jpg
MAIN: 2025-04-14 22:04:07,417 - INFO - duration: 0.6950451760058058
MAIN: 2025-04-14 22:04:07,417 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/04'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:04:37,049 - INFO - taking picture
MAIN: 2025-04-14 22:04:37,049 - INFO - we take 1869 photos in this while loop
MAIN: 2025-04-14 22:04:37,049 - INFO - /home/pi/Desktop/images/14042025/22/04/image_14042025_22_04_36_29630.jpg
MAIN: 2025-04-14 22:04:37,050 - INFO - duration: 0.6969837189972168
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:05:06,715 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 22:05:07,053 - INFO - taking picture
MAIN: 2025-04-14 22:05:07,054 - INFO - we take 1870 photos in this while loop
MAIN: 2025-04-14 22:05:07,055 - INFO - /home/pi/Desktop/images/14042025/22/04/image_14042025_22_05_06_29977.jpg
MAIN: 2025-04-14 22:05:07,056 - INFO - duration: 0.7253065370023251
MAIN: 2025-04-14 22:05:07,057 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/05'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:05:36,656 - INFO - taking picture
MAIN: 2025-04-14 22:05:36,657 - INFO - we take 1871 photos in this while loop
MAIN: 2025-04-14 22:05:36,657 - INFO - /home/pi/Desktop/images/14042025/22/05/image_14042025_22_05_36_29633.jpg
MAIN: 2025-04-14 22:05:36,657 - INFO - duration: 0.693573511998693
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:06:05,483 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:06:06,492 - INFO - taking picture
MAIN: 2025-04-14 22:06:06,493 - INFO - we take 1872 photos in this while loop
MAIN: 2025-04-14 22:06:06,493 - INFO - /home/pi/Desktop/images/14042025/22/05/image_14042025_22_06_06_29893.jpg
MAIN: 2025-04-14 22:06:06,493 - INFO - duration: 0.6354517830041004
MAIN: 2025-04-14 22:06:06,493 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/06'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:06:37,338 - INFO - taking picture
MAIN: 2025-04-14 22:06:37,338 - INFO - we take 1873 photos in this while loop
MAIN: 2025-04-14 22:06:37,339 - INFO - /home/pi/Desktop/images/14042025/22/06/image_14042025_22_06_36_30802.jpg
MAIN: 2025-04-14 22:06:37,339 - INFO - duration: 0.6789854369999375
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:07:05,524 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:07:07,326 - INFO - taking picture
MAIN: 2025-04-14 22:07:07,327 - INFO - we take 1874 photos in this while loop
MAIN: 2025-04-14 22:07:07,327 - INFO - /home/pi/Desktop/images/14042025/22/06/image_14042025_22_07_06_29976.jpg
MAIN: 2025-04-14 22:07:07,327 - INFO - duration: 0.6909207529970445
MAIN: 2025-04-14 22:07:07,327 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/07'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:07:36,768 - INFO - taking picture
MAIN: 2025-04-14 22:07:36,769 - INFO - we take 1875 photos in this while loop
MAIN: 2025-04-14 22:07:36,769 - INFO - /home/pi/Desktop/images/14042025/22/07/image_14042025_22_07_36_29447.jpg
MAIN: 2025-04-14 22:07:36,769 - INFO - duration: 0.6858461700030603
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:08:06,007 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:08:06,687 - INFO - taking picture
MAIN: 2025-04-14 22:08:06,688 - INFO - we take 1876 photos in this while loop
MAIN: 2025-04-14 22:08:06,688 - INFO - /home/pi/Desktop/images/14042025/22/07/image_14042025_22_08_06_29907.jpg
MAIN: 2025-04-14 22:08:06,688 - INFO - duration: 0.6979669009961071
MAIN: 2025-04-14 22:08:06,689 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/08'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:08:37,573 - INFO - taking picture
MAIN: 2025-04-14 22:08:37,573 - INFO - we take 1877 photos in this while loop
MAIN: 2025-04-14 22:08:37,574 - INFO - /home/pi/Desktop/images/14042025/22/08/image_14042025_22_08_37_30881.jpg
MAIN: 2025-04-14 22:08:37,574 - INFO - duration: 0.7022075800050516
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:09:06,127 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:09:07,464 - INFO - taking picture
MAIN: 2025-04-14 22:09:07,465 - INFO - we take 1878 photos in this while loop
MAIN: 2025-04-14 22:09:07,465 - INFO - /home/pi/Desktop/images/14042025/22/08/image_14042025_22_09_07_29888.jpg
MAIN: 2025-04-14 22:09:07,465 - INFO - duration: 0.705122293002205
MAIN: 2025-04-14 22:09:07,466 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/09'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:09:37,055 - INFO - taking picture
MAIN: 2025-04-14 22:09:37,055 - INFO - we take 1879 photos in this while loop
MAIN: 2025-04-14 22:09:37,056 - INFO - /home/pi/Desktop/images/14042025/22/09/image_14042025_22_09_36_29600.jpg
MAIN: 2025-04-14 22:09:37,056 - INFO - duration: 0.6947752620035317
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:10:06,821 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:10:08,063 - INFO - taking picture
MAIN: 2025-04-14 22:10:08,064 - INFO - we take 1880 photos in this while loop
MAIN: 2025-04-14 22:10:08,065 - INFO - /home/pi/Desktop/images/14042025/22/09/image_14042025_22_10_06_30258.jpg
MAIN: 2025-04-14 22:10:08,066 - INFO - duration: 1.4458545470042736
MAIN: 2025-04-14 22:10:08,067 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/10'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:10:36,669 - INFO - taking picture
MAIN: 2025-04-14 22:10:36,670 - INFO - we take 1881 photos in this while loop
MAIN: 2025-04-14 22:10:36,670 - INFO - /home/pi/Desktop/images/14042025/22/10/image_14042025_22_10_36_29216.jpg
MAIN: 2025-04-14 22:10:36,670 - INFO - duration: 0.8338704429988866
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:11:05,469 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:11:06,580 - INFO - taking picture
MAIN: 2025-04-14 22:11:06,580 - INFO - we take 1882 photos in this while loop
MAIN: 2025-04-14 22:11:06,581 - INFO - /home/pi/Desktop/images/14042025/22/10/image_14042025_22_11_06_30049.jpg
MAIN: 2025-04-14 22:11:06,581 - INFO - duration: 0.6951868819960509
MAIN: 2025-04-14 22:11:06,581 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/11'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:11:37,558 - INFO - taking picture
MAIN: 2025-04-14 22:11:37,559 - INFO - we take 1883 photos in this while loop
MAIN: 2025-04-14 22:11:37,559 - INFO - /home/pi/Desktop/images/14042025/22/11/image_14042025_22_11_37_30979.jpg
MAIN: 2025-04-14 22:11:37,559 - INFO - duration: 0.693417923997913
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:12:05,719 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:12:07,513 - INFO - taking picture
MAIN: 2025-04-14 22:12:07,514 - INFO - we take 1884 photos in this while loop
MAIN: 2025-04-14 22:12:07,514 - INFO - /home/pi/Desktop/images/14042025/22/11/image_14042025_22_12_07_29956.jpg
MAIN: 2025-04-14 22:12:07,514 - INFO - duration: 0.6922220919950632
MAIN: 2025-04-14 22:12:07,515 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/12'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:12:37,206 - INFO - taking picture
MAIN: 2025-04-14 22:12:37,206 - INFO - we take 1885 photos in this while loop
MAIN: 2025-04-14 22:12:37,206 - INFO - /home/pi/Desktop/images/14042025/22/12/image_14042025_22_12_36_29691.jpg
MAIN: 2025-04-14 22:12:37,207 - INFO - duration: 0.6930245939947781
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:13:05,507 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:13:07,087 - INFO - taking picture
MAIN: 2025-04-14 22:13:07,087 - INFO - we take 1886 photos in this while loop
MAIN: 2025-04-14 22:13:07,087 - INFO - /home/pi/Desktop/images/14042025/22/12/image_14042025_22_13_06_29860.jpg
MAIN: 2025-04-14 22:13:07,088 - INFO - duration: 0.7140536080041784
MAIN: 2025-04-14 22:13:07,088 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/13'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:13:36,632 - INFO - taking picture
MAIN: 2025-04-14 22:13:36,632 - INFO - we take 1887 photos in this while loop
MAIN: 2025-04-14 22:13:36,633 - INFO - /home/pi/Desktop/images/14042025/22/13/image_14042025_22_13_36_29582.jpg
MAIN: 2025-04-14 22:13:36,633 - INFO - duration: 0.676829905998602
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:14:06,693 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 22:14:06,815 - INFO - taking picture
MAIN: 2025-04-14 22:14:06,815 - INFO - we take 1888 photos in this while loop
MAIN: 2025-04-14 22:14:06,816 - INFO - /home/pi/Desktop/images/14042025/22/13/image_14042025_22_14_06_30155.jpg
MAIN: 2025-04-14 22:14:06,816 - INFO - duration: 0.704088557002251
MAIN: 2025-04-14 22:14:06,816 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/14'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:14:36,363 - INFO - taking picture
MAIN: 2025-04-14 22:14:36,363 - INFO - we take 1889 photos in this while loop
MAIN: 2025-04-14 22:14:36,364 - INFO - /home/pi/Desktop/images/14042025/22/14/image_14042025_22_14_35_29580.jpg
MAIN: 2025-04-14 22:14:36,364 - INFO - duration: 0.671882563001418
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:15:06,248 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:15:07,478 - INFO - taking picture
MAIN: 2025-04-14 22:15:07,479 - INFO - we take 1890 photos in this while loop
MAIN: 2025-04-14 22:15:07,479 - INFO - /home/pi/Desktop/images/14042025/22/14/image_14042025_22_15_07_31113.jpg
MAIN: 2025-04-14 22:15:07,479 - INFO - duration: 0.6741567310018581
MAIN: 2025-04-14 22:15:07,480 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/15'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:15:37,063 - INFO - taking picture
MAIN: 2025-04-14 22:15:37,063 - INFO - we take 1891 photos in this while loop
MAIN: 2025-04-14 22:15:37,064 - INFO - /home/pi/Desktop/images/14042025/22/15/image_14042025_22_15_36_29564.jpg
MAIN: 2025-04-14 22:15:37,064 - INFO - duration: 0.6941450169979362
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:16:06,248 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0

 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)MAIN: 2025-04-14 22:16:06,967 - INFO - taking picture
MAIN: 2025-04-14 22:16:06,967 - INFO - we take 1892 photos in this while loop
MAIN: 2025-04-14 22:16:06,967 - INFO - /home/pi/Desktop/images/14042025/22/15/image_14042025_22_16_06_29925.jpg
MAIN: 2025-04-14 22:16:06,968 - INFO - duration: 0.6725494410056854
MAIN: 2025-04-14 22:16:06,968 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/16'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:16:36,502 - INFO - taking picture
MAIN: 2025-04-14 22:16:36,503 - INFO - we take 1893 photos in this while loop
MAIN: 2025-04-14 22:16:36,503 - INFO - /home/pi/Desktop/images/14042025/22/16/image_14042025_22_16_36_29537.jpg
MAIN: 2025-04-14 22:16:36,503 - INFO - duration: 0.6701315760001307
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:17:05,232 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:17:06,478 - INFO - taking picture
MAIN: 2025-04-14 22:17:06,479 - INFO - we take 1894 photos in this while loop
MAIN: 2025-04-14 22:17:06,479 - INFO - /home/pi/Desktop/images/14042025/22/16/image_14042025_22_17_06_29959.jpg
MAIN: 2025-04-14 22:17:06,479 - INFO - duration: 0.6868685070003266
MAIN: 2025-04-14 22:17:06,480 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/17'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:17:37,275 - INFO - taking picture
MAIN: 2025-04-14 22:17:37,275 - INFO - we take 1895 photos in this while loop
MAIN: 2025-04-14 22:17:37,276 - INFO - /home/pi/Desktop/images/14042025/22/17/image_14042025_22_17_36_30793.jpg
MAIN: 2025-04-14 22:17:37,276 - INFO - duration: 0.6896943929968984
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:18:05,723 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:18:07,562 - INFO - taking picture
MAIN: 2025-04-14 22:18:07,562 - INFO - we take 1896 photos in this while loop
MAIN: 2025-04-14 22:18:07,562 - INFO - /home/pi/Desktop/images/14042025/22/17/image_14042025_22_18_07_30282.jpg
MAIN: 2025-04-14 22:18:07,563 - INFO - duration: 0.6935981450005784
MAIN: 2025-04-14 22:18:07,563 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/18'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:18:37,073 - INFO - taking picture
MAIN: 2025-04-14 22:18:37,073 - INFO - we take 1897 photos in this while loop
MAIN: 2025-04-14 22:18:37,074 - INFO - /home/pi/Desktop/images/14042025/22/18/image_14042025_22_18_36_29502.jpg
MAIN: 2025-04-14 22:18:37,074 - INFO - duration: 0.7022081469986006
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:19:06,070 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:19:06,976 - INFO - taking picture
MAIN: 2025-04-14 22:19:06,977 - INFO - we take 1898 photos in this while loop
MAIN: 2025-04-14 22:19:06,977 - INFO - /home/pi/Desktop/images/14042025/22/18/image_14042025_22_19_06_29962.jpg
MAIN: 2025-04-14 22:19:06,977 - INFO - duration: 0.6433838140001171
MAIN: 2025-04-14 22:19:06,978 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/19'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:19:36,754 - INFO - taking picture
MAIN: 2025-04-14 22:19:36,754 - INFO - we take 1899 photos in this while loop
MAIN: 2025-04-14 22:19:36,755 - INFO - /home/pi/Desktop/images/14042025/22/19/image_14042025_22_19_36_29720.jpg
MAIN: 2025-04-14 22:19:36,755 - INFO - duration: 0.70048939800472
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:20:06,521 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 22:20:06,851 - INFO - taking picture
MAIN: 2025-04-14 22:20:06,852 - INFO - we take 1900 photos in this while loop
MAIN: 2025-04-14 22:20:06,852 - INFO - /home/pi/Desktop/images/14042025/22/19/image_14042025_22_20_06_30117.jpg
MAIN: 2025-04-14 22:20:06,852 - INFO - duration: 0.6799376760027371
MAIN: 2025-04-14 22:20:06,853 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/20'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:20:36,430 - INFO - taking picture
MAIN: 2025-04-14 22:20:36,431 - INFO - we take 1901 photos in this while loop
MAIN: 2025-04-14 22:20:36,431 - INFO - /home/pi/Desktop/images/14042025/22/20/image_14042025_22_20_36_29575.jpg
MAIN: 2025-04-14 22:20:36,431 - INFO - duration: 0.6831357499977457
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:21:05,969 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 22:21:06,346 - INFO - taking picture
MAIN: 2025-04-14 22:21:06,347 - INFO - we take 1902 photos in this while loop
MAIN: 2025-04-14 22:21:06,347 - INFO - /home/pi/Desktop/images/14042025/22/20/image_14042025_22_21_05_29897.jpg
MAIN: 2025-04-14 22:21:06,347 - INFO - duration: 0.7017502320013591
MAIN: 2025-04-14 22:21:06,347 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/21'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:21:37,164 - INFO - taking picture
MAIN: 2025-04-14 22:21:37,165 - INFO - we take 1903 photos in this while loop
MAIN: 2025-04-14 22:21:37,165 - INFO - /home/pi/Desktop/images/14042025/22/21/image_14042025_22_21_36_30819.jpg
MAIN: 2025-04-14 22:21:37,165 - INFO - duration: 0.7000450769992312
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:22:06,559 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:22:07,163 - INFO - taking picture
MAIN: 2025-04-14 22:22:07,164 - INFO - we take 1904 photos in this while loop
MAIN: 2025-04-14 22:22:07,164 - INFO - /home/pi/Desktop/images/14042025/22/21/image_14042025_22_22_06_29986.jpg
MAIN: 2025-04-14 22:22:07,164 - INFO - duration: 0.7119212249963311
MAIN: 2025-04-14 22:22:07,164 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/22'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:22:36,897 - INFO - taking picture
MAIN: 2025-04-14 22:22:36,897 - INFO - we take 1905 photos in this while loop
MAIN: 2025-04-14 22:22:36,897 - INFO - /home/pi/Desktop/images/14042025/22/22/image_14042025_22_22_36_29745.jpg
MAIN: 2025-04-14 22:22:36,898 - INFO - duration: 0.6995468480017735
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:23:05,407 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:23:07,067 - INFO - taking picture
MAIN: 2025-04-14 22:23:07,067 - INFO - we take 1906 photos in this while loop
MAIN: 2025-04-14 22:23:07,068 - INFO - /home/pi/Desktop/images/14042025/22/22/image_14042025_22_23_06_30176.jpg
MAIN: 2025-04-14 22:23:07,068 - INFO - duration: 0.6936644509987673
MAIN: 2025-04-14 22:23:07,068 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/23'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:23:36,632 - INFO - taking picture
MAIN: 2025-04-14 22:23:36,633 - INFO - we take 1907 photos in this while loop
MAIN: 2025-04-14 22:23:36,633 - INFO - /home/pi/Desktop/images/14042025/22/23/image_14042025_22_23_36_29586.jpg
MAIN: 2025-04-14 22:23:36,633 - INFO - duration: 0.6727756459949887
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:24:06,079 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:24:06,694 - INFO - taking picture
MAIN: 2025-04-14 22:24:06,694 - INFO - we take 1908 photos in this while loop
MAIN: 2025-04-14 22:24:06,695 - INFO - /home/pi/Desktop/images/14042025/22/23/image_14042025_22_24_06_30035.jpg
MAIN: 2025-04-14 22:24:06,695 - INFO - duration: 0.6993454430048587
MAIN: 2025-04-14 22:24:06,695 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/24'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:24:36,451 - INFO - taking picture
MAIN: 2025-04-14 22:24:36,452 - INFO - we take 1909 photos in this while loop
MAIN: 2025-04-14 22:24:36,452 - INFO - /home/pi/Desktop/images/14042025/22/24/image_14042025_22_24_36_29754.jpg
MAIN: 2025-04-14 22:24:36,452 - INFO - duration: 0.7015339330027928
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:25:06,241 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 22:25:06,567 - INFO - taking picture
MAIN: 2025-04-14 22:25:06,568 - INFO - we take 1910 photos in this while loop
MAIN: 2025-04-14 22:25:06,568 - INFO - /home/pi/Desktop/images/14042025/22/24/image_14042025_22_25_06_30123.jpg
MAIN: 2025-04-14 22:25:06,569 - INFO - duration: 0.6944495050047408
MAIN: 2025-04-14 22:25:06,569 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/25'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:25:37,435 - INFO - taking picture
MAIN: 2025-04-14 22:25:37,435 - INFO - we take 1911 photos in this while loop
MAIN: 2025-04-14 22:25:37,436 - INFO - /home/pi/Desktop/images/14042025/22/25/image_14042025_22_25_37_30859.jpg
MAIN: 2025-04-14 22:25:37,436 - INFO - duration: 0.702196329999424
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
MAIN: 2025-04-14 22:26:06,400 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:26:07,366 - INFO - taking picture
MAIN: 2025-04-14 22:26:07,367 - INFO - we take 1912 photos in this while loop
MAIN: 2025-04-14 22:26:07,367 - INFO - /home/pi/Desktop/images/14042025/22/25/image_14042025_22_26_06_29990.jpg
MAIN: 2025-04-14 22:26:07,367 - INFO - duration: 0.6436004330025753
MAIN: 2025-04-14 22:26:07,368 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/26'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:26:37,015 - INFO - taking picture
MAIN: 2025-04-14 22:26:37,015 - INFO - we take 1913 photos in this while loop
MAIN: 2025-04-14 22:26:37,015 - INFO - /home/pi/Desktop/images/14042025/22/26/image_14042025_22_26_36_29590.jpg
MAIN: 2025-04-14 22:26:37,016 - INFO - duration: 0.7018867989972932
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:27:06,344 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:27:07,027 - INFO - taking picture
MAIN: 2025-04-14 22:27:07,028 - INFO - we take 1914 photos in this while loop
MAIN: 2025-04-14 22:27:07,028 - INFO - /home/pi/Desktop/images/14042025/22/26/image_14042025_22_27_06_30005.jpg
MAIN: 2025-04-14 22:27:07,028 - INFO - duration: 0.709074612997938
MAIN: 2025-04-14 22:27:07,029 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/27'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:27:36,629 - INFO - taking picture
MAIN: 2025-04-14 22:27:36,630 - INFO - we take 1915 photos in this while loop
MAIN: 2025-04-14 22:27:36,630 - INFO - /home/pi/Desktop/images/14042025/22/27/image_14042025_22_27_36_29639.jpg
MAIN: 2025-04-14 22:27:36,630 - INFO - duration: 0.6710915329967975
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:28:06,533 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 22:28:06,811 - INFO - taking picture
MAIN: 2025-04-14 22:28:06,812 - INFO - we take 1916 photos in this while loop
MAIN: 2025-04-14 22:28:06,812 - INFO - /home/pi/Desktop/images/14042025/22/27/image_14042025_22_28_06_30173.jpg
MAIN: 2025-04-14 22:28:06,812 - INFO - duration: 0.6797295560027123
MAIN: 2025-04-14 22:28:06,813 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/28'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:28:36,369 - INFO - taking picture
MAIN: 2025-04-14 22:28:36,369 - INFO - we take 1917 photos in this while loop
MAIN: 2025-04-14 22:28:36,370 - INFO - /home/pi/Desktop/images/14042025/22/28/image_14042025_22_28_35_29545.jpg
MAIN: 2025-04-14 22:28:36,370 - INFO - duration: 0.6921691410025232
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:29:05,626 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:29:06,340 - INFO - taking picture
MAIN: 2025-04-14 22:29:06,340 - INFO - we take 1918 photos in this while loop
MAIN: 2025-04-14 22:29:06,341 - INFO - /home/pi/Desktop/images/14042025/22/28/image_14042025_22_29_05_29967.jpg
MAIN: 2025-04-14 22:29:06,341 - INFO - duration: 0.695453672997246
MAIN: 2025-04-14 22:29:06,341 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/29'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:29:37,117 - INFO - taking picture
MAIN: 2025-04-14 22:29:37,117 - INFO - we take 1919 photos in this while loop
MAIN: 2025-04-14 22:29:37,118 - INFO - /home/pi/Desktop/images/14042025/22/29/image_14042025_22_29_36_30801.jpg
MAIN: 2025-04-14 22:29:37,118 - INFO - duration: 0.6707043459973647
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
MAIN: 2025-04-14 22:30:06,150 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:30:07,118 - INFO - taking picture
MAIN: 2025-04-14 22:30:07,119 - INFO - we take 1920 photos in this while loop
MAIN: 2025-04-14 22:30:07,119 - INFO - /home/pi/Desktop/images/14042025/22/29/image_14042025_22_30_06_29996.jpg
MAIN: 2025-04-14 22:30:07,119 - INFO - duration: 0.6756052330019884
MAIN: 2025-04-14 22:30:07,120 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/30'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:30:36,713 - INFO - taking picture
MAIN: 2025-04-14 22:30:36,714 - INFO - we take 1921 photos in this while loop
MAIN: 2025-04-14 22:30:36,714 - INFO - /home/pi/Desktop/images/14042025/22/30/image_14042025_22_30_36_29590.jpg
MAIN: 2025-04-14 22:30:36,714 - INFO - duration: 0.6805664839994279
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:31:05,947 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:31:06,541 - INFO - taking picture
MAIN: 2025-04-14 22:31:06,542 - INFO - we take 1922 photos in this while loop
MAIN: 2025-04-14 22:31:06,542 - INFO - /home/pi/Desktop/images/14042025/22/30/image_14042025_22_31_06_29824.jpg
MAIN: 2025-04-14 22:31:06,542 - INFO - duration: 0.6838511719979579
MAIN: 2025-04-14 22:31:06,542 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/31'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:31:37,497 - INFO - taking picture
MAIN: 2025-04-14 22:31:37,497 - INFO - we take 1923 photos in this while loop
MAIN: 2025-04-14 22:31:37,497 - INFO - /home/pi/Desktop/images/14042025/22/31/image_14042025_22_31_37_30949.jpg
MAIN: 2025-04-14 22:31:37,498 - INFO - duration: 0.6895055479981238
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:32:06,183 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:32:07,248 - INFO - taking picture
MAIN: 2025-04-14 22:32:07,249 - INFO - we take 1924 photos in this while loop
MAIN: 2025-04-14 22:32:07,249 - INFO - /home/pi/Desktop/images/14042025/22/31/image_14042025_22_32_06_29762.jpg
MAIN: 2025-04-14 22:32:07,249 - INFO - duration: 0.6780639319986221
MAIN: 2025-04-14 22:32:07,249 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/32'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:32:36,891 - INFO - taking picture
MAIN: 2025-04-14 22:32:36,891 - INFO - we take 1925 photos in this while loop
MAIN: 2025-04-14 22:32:36,891 - INFO - /home/pi/Desktop/images/14042025/22/32/image_14042025_22_32_36_29630.jpg
MAIN: 2025-04-14 22:32:36,892 - INFO - duration: 0.6904134649957996
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:33:06,009 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:33:06,724 - INFO - taking picture
MAIN: 2025-04-14 22:33:06,724 - INFO - we take 1926 photos in this while loop
MAIN: 2025-04-14 22:33:06,725 - INFO - /home/pi/Desktop/images/14042025/22/32/image_14042025_22_33_06_29850.jpg
MAIN: 2025-04-14 22:33:06,725 - INFO - duration: 0.6734785660009948
MAIN: 2025-04-14 22:33:06,725 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/33'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:33:36,309 - INFO - taking picture
MAIN: 2025-04-14 22:33:36,310 - INFO - we take 1927 photos in this while loop
MAIN: 2025-04-14 22:33:36,310 - INFO - /home/pi/Desktop/images/14042025/22/33/image_14042025_22_33_35_29590.jpg
MAIN: 2025-04-14 22:33:36,310 - INFO - duration: 0.668459554995934
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:34:07,116 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:34:07,557 - INFO - taking picture
MAIN: 2025-04-14 22:34:07,557 - INFO - we take 1928 photos in this while loop
MAIN: 2025-04-14 22:34:07,557 - INFO - /home/pi/Desktop/images/14042025/22/33/image_14042025_22_34_07_31203.jpg
MAIN: 2025-04-14 22:34:07,558 - INFO - duration: 0.7120805009981268
MAIN: 2025-04-14 22:34:07,558 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/34'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:34:37,270 - INFO - taking picture
MAIN: 2025-04-14 22:34:37,271 - INFO - we take 1929 photos in this while loop
MAIN: 2025-04-14 22:34:37,271 - INFO - /home/pi/Desktop/images/14042025/22/34/image_14042025_22_34_36_29729.jpg
MAIN: 2025-04-14 22:34:37,271 - INFO - duration: 0.6959345610011951
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:35:05,903 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:35:07,453 - INFO - taking picture
MAIN: 2025-04-14 22:35:07,453 - INFO - we take 1930 photos in this while loop
MAIN: 2025-04-14 22:35:07,454 - INFO - /home/pi/Desktop/images/14042025/22/34/image_14042025_22_35_07_30200.jpg
MAIN: 2025-04-14 22:35:07,454 - INFO - duration: 0.6788252860060311
MAIN: 2025-04-14 22:35:07,454 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/35'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:35:37,074 - INFO - taking picture
MAIN: 2025-04-14 22:35:37,075 - INFO - we take 1931 photos in this while loop
MAIN: 2025-04-14 22:35:37,075 - INFO - /home/pi/Desktop/images/14042025/22/35/image_14042025_22_35_36_29653.jpg
MAIN: 2025-04-14 22:35:37,075 - INFO - duration: 0.6470311140001286
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:36:05,616 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:36:06,841 - INFO - taking picture
MAIN: 2025-04-14 22:36:06,842 - INFO - we take 1932 photos in this while loop
MAIN: 2025-04-14 22:36:06,842 - INFO - /home/pi/Desktop/images/14042025/22/35/image_14042025_22_36_06_29777.jpg
MAIN: 2025-04-14 22:36:06,842 - INFO - duration: 0.636521320004249
MAIN: 2025-04-14 22:36:06,842 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/36'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:36:36,512 - INFO - taking picture
MAIN: 2025-04-14 22:36:36,513 - INFO - we take 1933 photos in this while loop
MAIN: 2025-04-14 22:36:36,513 - INFO - /home/pi/Desktop/images/14042025/22/36/image_14042025_22_36_36_29670.jpg
MAIN: 2025-04-14 22:36:36,513 - INFO - duration: 0.637402830994688
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:37:05,767 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:37:06,437 - INFO - taking picture
MAIN: 2025-04-14 22:37:06,437 - INFO - we take 1934 photos in this while loop
MAIN: 2025-04-14 22:37:06,437 - INFO - /home/pi/Desktop/images/14042025/22/36/image_14042025_22_37_06_29874.jpg
MAIN: 2025-04-14 22:37:06,438 - INFO - duration: 0.6869110170009662
MAIN: 2025-04-14 22:37:06,438 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/37'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:37:37,415 - INFO - taking picture
MAIN: 2025-04-14 22:37:37,416 - INFO - we take 1935 photos in this while loop
MAIN: 2025-04-14 22:37:37,416 - INFO - /home/pi/Desktop/images/14042025/22/37/image_14042025_22_37_37_30971.jpg
MAIN: 2025-04-14 22:37:37,416 - INFO - duration: 0.694328363002569
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:38:06,402 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:38:07,355 - INFO - taking picture
MAIN: 2025-04-14 22:38:07,355 - INFO - we take 1936 photos in this while loop
MAIN: 2025-04-14 22:38:07,355 - INFO - /home/pi/Desktop/images/14042025/22/37/image_14042025_22_38_06_29989.jpg
MAIN: 2025-04-14 22:38:07,356 - INFO - duration: 0.644342207997397
MAIN: 2025-04-14 22:38:07,356 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/38'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:38:37,135 - INFO - taking picture
MAIN: 2025-04-14 22:38:37,136 - INFO - we take 1937 photos in this while loop
MAIN: 2025-04-14 22:38:37,136 - INFO - /home/pi/Desktop/images/14042025/22/38/image_14042025_22_38_36_29716.jpg
MAIN: 2025-04-14 22:38:37,136 - INFO - duration: 0.7080732100002933
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:39:06,265 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:39:07,241 - INFO - taking picture
MAIN: 2025-04-14 22:39:07,242 - INFO - we take 1938 photos in this while loop
MAIN: 2025-04-14 22:39:07,242 - INFO - /home/pi/Desktop/images/14042025/22/38/image_14042025_22_39_06_30177.jpg
MAIN: 2025-04-14 22:39:07,242 - INFO - duration: 0.63638428899867
MAIN: 2025-04-14 22:39:07,242 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/39'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:39:36,742 - INFO - taking picture
MAIN: 2025-04-14 22:39:36,743 - INFO - we take 1939 photos in this while loop
MAIN: 2025-04-14 22:39:36,743 - INFO - /home/pi/Desktop/images/14042025/22/39/image_14042025_22_39_36_29485.jpg
MAIN: 2025-04-14 22:39:36,744 - INFO - duration: 0.6525066359972698
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:40:06,109 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:40:06,591 - INFO - taking picture
MAIN: 2025-04-14 22:40:06,591 - INFO - we take 1940 photos in this while loop
MAIN: 2025-04-14 22:40:06,592 - INFO - /home/pi/Desktop/images/14042025/22/39/image_14042025_22_40_06_29787.jpg
MAIN: 2025-04-14 22:40:06,592 - INFO - duration: 0.7131456589995651
MAIN: 2025-04-14 22:40:06,592 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/40'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:40:37,486 - INFO - taking picture
MAIN: 2025-04-14 22:40:37,487 - INFO - we take 1941 photos in this while loop
MAIN: 2025-04-14 22:40:37,487 - INFO - /home/pi/Desktop/images/14042025/22/40/image_14042025_22_40_37_30912.jpg
MAIN: 2025-04-14 22:40:37,487 - INFO - duration: 0.6959844569937559
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:41:05,582 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:41:07,488 - INFO - taking picture
MAIN: 2025-04-14 22:41:07,489 - INFO - we take 1942 photos in this while loop
MAIN: 2025-04-14 22:41:07,489 - INFO - /home/pi/Desktop/images/14042025/22/40/image_14042025_22_41_07_30015.jpg
MAIN: 2025-04-14 22:41:07,489 - INFO - duration: 0.6823025799967581
MAIN: 2025-04-14 22:41:07,490 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/41'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:41:37,116 - INFO - taking picture
MAIN: 2025-04-14 22:41:37,117 - INFO - we take 1943 photos in this while loop
MAIN: 2025-04-14 22:41:37,117 - INFO - /home/pi/Desktop/images/14042025/22/41/image_14042025_22_41_36_29639.jpg
MAIN: 2025-04-14 22:41:37,117 - INFO - duration: 0.6711199740020675
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:42:06,046 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:42:07,055 - INFO - taking picture
MAIN: 2025-04-14 22:42:07,056 - INFO - we take 1944 photos in this while loop
MAIN: 2025-04-14 22:42:07,056 - INFO - /home/pi/Desktop/images/14042025/22/41/image_14042025_22_42_06_29934.jpg
MAIN: 2025-04-14 22:42:07,056 - INFO - duration: 0.675765391002642
MAIN: 2025-04-14 22:42:07,057 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/42'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:42:36,727 - INFO - taking picture
MAIN: 2025-04-14 22:42:36,728 - INFO - we take 1945 photos in this while loop
MAIN: 2025-04-14 22:42:36,728 - INFO - /home/pi/Desktop/images/14042025/22/42/image_14042025_22_42_36_29640.jpg
MAIN: 2025-04-14 22:42:36,728 - INFO - duration: 0.7067323239898542
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:43:06,146 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-04-14 22:43:06,530 - INFO - taking picture
MAIN: 2025-04-14 22:43:06,531 - INFO - we take 1946 photos in this while loop
MAIN: 2025-04-14 22:43:06,531 - INFO - /home/pi/Desktop/images/14042025/22/42/image_14042025_22_43_06_29802.jpg
MAIN: 2025-04-14 22:43:06,531 - INFO - duration: 0.707309160992736
MAIN: 2025-04-14 22:43:06,531 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/43'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:43:37,265 - INFO - taking picture
MAIN: 2025-04-14 22:43:37,266 - INFO - we take 1947 photos in this while loop
MAIN: 2025-04-14 22:43:37,266 - INFO - /home/pi/Desktop/images/14042025/22/43/image_14042025_22_43_36_30798.jpg
MAIN: 2025-04-14 22:43:37,266 - INFO - duration: 0.6435993240011157
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:44:06,658 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:44:07,244 - INFO - taking picture
MAIN: 2025-04-14 22:44:07,245 - INFO - we take 1948 photos in this while loop
MAIN: 2025-04-14 22:44:07,245 - INFO - /home/pi/Desktop/images/14042025/22/43/image_14042025_22_44_06_29973.jpg
MAIN: 2025-04-14 22:44:07,245 - INFO - duration: 0.6486838609998813
MAIN: 2025-04-14 22:44:07,245 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/44'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:44:36,997 - INFO - taking picture
MAIN: 2025-04-14 22:44:36,997 - INFO - we take 1949 photos in this while loop
MAIN: 2025-04-14 22:44:36,997 - INFO - /home/pi/Desktop/images/14042025/22/44/image_14042025_22_44_36_29731.jpg
MAIN: 2025-04-14 22:44:36,998 - INFO - duration: 0.6694552740082145
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:45:06,563 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:45:07,095 - INFO - taking picture
MAIN: 2025-04-14 22:45:07,096 - INFO - we take 1950 photos in this while loop
MAIN: 2025-04-14 22:45:07,096 - INFO - /home/pi/Desktop/images/14042025/22/44/image_14042025_22_45_06_30082.jpg
MAIN: 2025-04-14 22:45:07,097 - INFO - duration: 0.6863790299976245
MAIN: 2025-04-14 22:45:07,098 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/45'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:45:36,571 - INFO - taking picture
MAIN: 2025-04-14 22:45:36,572 - INFO - we take 1951 photos in this while loop
MAIN: 2025-04-14 22:45:36,572 - INFO - /home/pi/Desktop/images/14042025/22/45/image_14042025_22_45_36_29468.jpg
MAIN: 2025-04-14 22:45:36,572 - INFO - duration: 0.6927345559961395
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:46:05,410 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:46:06,436 - INFO - taking picture
MAIN: 2025-04-14 22:46:06,437 - INFO - we take 1952 photos in this while loop
MAIN: 2025-04-14 22:46:06,437 - INFO - /home/pi/Desktop/images/14042025/22/45/image_14042025_22_46_06_29865.jpg
MAIN: 2025-04-14 22:46:06,437 - INFO - duration: 0.6919104480039096
MAIN: 2025-04-14 22:46:06,438 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/46'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:46:37,255 - INFO - taking picture
MAIN: 2025-04-14 22:46:37,256 - INFO - we take 1953 photos in this while loop
MAIN: 2025-04-14 22:46:37,256 - INFO - /home/pi/Desktop/images/14042025/22/46/image_14042025_22_46_36_30814.jpg
MAIN: 2025-04-14 22:46:37,256 - INFO - duration: 0.6960530570067931
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:47:05,425 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:47:07,318 - INFO - taking picture
MAIN: 2025-04-14 22:47:07,319 - INFO - we take 1954 photos in this while loop
MAIN: 2025-04-14 22:47:07,319 - INFO - /home/pi/Desktop/images/14042025/22/46/image_14042025_22_47_06_30067.jpg
MAIN: 2025-04-14 22:47:07,319 - INFO - duration: 0.691784936003387
MAIN: 2025-04-14 22:47:07,320 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/47'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:47:36,901 - INFO - taking picture
MAIN: 2025-04-14 22:47:36,902 - INFO - we take 1955 photos in this while loop
MAIN: 2025-04-14 22:47:36,902 - INFO - /home/pi/Desktop/images/14042025/22/47/image_14042025_22_47_36_29559.jpg
MAIN: 2025-04-14 22:47:36,902 - INFO - duration: 0.7157940050092293
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
MAIN: 2025-04-14 22:48:05,949 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:48:06,762 - INFO - taking picture
MAIN: 2025-04-14 22:48:06,762 - INFO - we take 1956 photos in this while loop
MAIN: 2025-04-14 22:48:06,763 - INFO - /home/pi/Desktop/images/14042025/22/47/image_14042025_22_48_06_29932.jpg
MAIN: 2025-04-14 22:48:06,763 - INFO - duration: 0.6443258270010119
MAIN: 2025-04-14 22:48:06,763 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/48'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:48:36,338 - INFO - taking picture
MAIN: 2025-04-14 22:48:36,339 - INFO - we take 1957 photos in this while loop
MAIN: 2025-04-14 22:48:36,339 - INFO - /home/pi/Desktop/images/14042025/22/48/image_14042025_22_48_35_29573.jpg
MAIN: 2025-04-14 22:48:36,339 - INFO - duration: 0.6471793200034881
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
MAIN: 2025-04-14 22:49:06,376 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:49:07,350 - INFO - taking picture
MAIN: 2025-04-14 22:49:07,351 - INFO - we take 1958 photos in this while loop
MAIN: 2025-04-14 22:49:07,351 - INFO - /home/pi/Desktop/images/14042025/22/48/image_14042025_22_49_06_30979.jpg
MAIN: 2025-04-14 22:49:07,351 - INFO - duration: 0.6803541699919151
MAIN: 2025-04-14 22:49:07,352 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/49'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:49:36,969 - INFO - taking picture
MAIN: 2025-04-14 22:49:36,969 - INFO - we take 1959 photos in this while loop
MAIN: 2025-04-14 22:49:36,969 - INFO - /home/pi/Desktop/images/14042025/22/49/image_14042025_22_49_36_29619.jpg
MAIN: 2025-04-14 22:49:36,970 - INFO - duration: 0.6785667250078404
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:50:07,164 - INFO - taking picture
MAIN: 2025-04-14 22:50:07,164 - INFO - we take 1960 photos in this while loop
MAIN: 2025-04-14 22:50:07,165 - INFO - /home/pi/Desktop/images/14042025/22/49/image_14042025_22_50_06_30198.jpg
MAIN: 2025-04-14 22:50:07,165 - INFO - duration: 0.6757957389927469
MAIN: 2025-04-14 22:50:07,165 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/50'
MAIN: 2025-04-14 22:50:07,340 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:50:36,858 - INFO - taking picture
MAIN: 2025-04-14 22:50:36,859 - INFO - we take 1961 photos in this while loop
MAIN: 2025-04-14 22:50:36,859 - INFO - /home/pi/Desktop/images/14042025/22/50/image_14042025_22_50_36_29673.jpg
MAIN: 2025-04-14 22:50:36,859 - INFO - duration: 0.6969836609932827
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
MAIN: 2025-04-14 22:51:05,267 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:51:06,429 - INFO - taking picture
MAIN: 2025-04-14 22:51:06,429 - INFO - we take 1962 photos in this while loop
MAIN: 2025-04-14 22:51:06,430 - INFO - /home/pi/Desktop/images/14042025/22/50/image_14042025_22_51_06_29598.jpg
MAIN: 2025-04-14 22:51:06,430 - INFO - duration: 0.6695542339875828
MAIN: 2025-04-14 22:51:06,430 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/51'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:51:37,158 - INFO - taking picture
MAIN: 2025-04-14 22:51:37,158 - INFO - we take 1963 photos in this while loop
MAIN: 2025-04-14 22:51:37,158 - INFO - /home/pi/Desktop/images/14042025/22/51/image_14042025_22_51_36_30708.jpg
MAIN: 2025-04-14 22:51:37,159 - INFO - duration: 0.6893996550061274
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:52:05,643 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:52:06,812 - INFO - taking picture
MAIN: 2025-04-14 22:52:06,812 - INFO - we take 1964 photos in this while loop
MAIN: 2025-04-14 22:52:06,813 - INFO - /home/pi/Desktop/images/14042025/22/51/image_14042025_22_52_06_29670.jpg
MAIN: 2025-04-14 22:52:06,813 - INFO - duration: 0.6733752290019765
MAIN: 2025-04-14 22:52:06,813 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/52'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:52:36,428 - INFO - taking picture
MAIN: 2025-04-14 22:52:36,429 - INFO - we take 1965 photos in this while loop
MAIN: 2025-04-14 22:52:36,429 - INFO - /home/pi/Desktop/images/14042025/22/52/image_14042025_22_52_36_29596.jpg
MAIN: 2025-04-14 22:52:36,429 - INFO - duration: 0.6936287239950616
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:53:05,606 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:53:07,344 - INFO - taking picture
MAIN: 2025-04-14 22:53:07,344 - INFO - we take 1966 photos in this while loop
MAIN: 2025-04-14 22:53:07,345 - INFO - /home/pi/Desktop/images/14042025/22/52/image_14042025_22_53_06_30963.jpg
MAIN: 2025-04-14 22:53:07,345 - INFO - duration: 0.6450565850100247
MAIN: 2025-04-14 22:53:07,345 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/53'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:53:37,077 - INFO - taking picture
MAIN: 2025-04-14 22:53:37,077 - INFO - we take 1967 photos in this while loop
MAIN: 2025-04-14 22:53:37,078 - INFO - /home/pi/Desktop/images/14042025/22/53/image_14042025_22_53_36_29733.jpg
MAIN: 2025-04-14 22:53:37,078 - INFO - duration: 0.6446367430035025
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:54:06,299 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:54:07,148 - INFO - taking picture
MAIN: 2025-04-14 22:54:07,148 - INFO - we take 1968 photos in this while loop
MAIN: 2025-04-14 22:54:07,148 - INFO - /home/pi/Desktop/images/14042025/22/53/image_14042025_22_54_06_30079.jpg
MAIN: 2025-04-14 22:54:07,149 - INFO - duration: 0.6358642959967256
MAIN: 2025-04-14 22:54:07,149 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/54'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:54:36,806 - INFO - taking picture
MAIN: 2025-04-14 22:54:36,806 - INFO - we take 1969 photos in this while loop
MAIN: 2025-04-14 22:54:36,806 - INFO - /home/pi/Desktop/images/14042025/22/54/image_14042025_22_54_36_29617.jpg
MAIN: 2025-04-14 22:54:36,807 - INFO - duration: 0.676399042000412
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:55:06,177 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:55:06,748 - INFO - taking picture
MAIN: 2025-04-14 22:55:06,748 - INFO - we take 1970 photos in this while loop
MAIN: 2025-04-14 22:55:06,748 - INFO - /home/pi/Desktop/images/14042025/22/54/image_14042025_22_55_06_29926.jpg
MAIN: 2025-04-14 22:55:06,749 - INFO - duration: 0.6923122230073204
MAIN: 2025-04-14 22:55:06,749 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/55'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:55:36,294 - INFO - taking picture
MAIN: 2025-04-14 22:55:36,295 - INFO - we take 1971 photos in this while loop
MAIN: 2025-04-14 22:55:36,295 - INFO - /home/pi/Desktop/images/14042025/22/55/image_14042025_22_55_35_29569.jpg
MAIN: 2025-04-14 22:55:36,295 - INFO - duration: 0.6694374299986521
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:56:06,086 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:56:07,525 - INFO - taking picture
MAIN: 2025-04-14 22:56:07,526 - INFO - we take 1972 photos in this while loop
MAIN: 2025-04-14 22:56:07,526 - INFO - /home/pi/Desktop/images/14042025/22/55/image_14042025_22_56_07_31187.jpg
MAIN: 2025-04-14 22:56:07,526 - INFO - duration: 0.7125130109925522
MAIN: 2025-04-14 22:56:07,526 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/56'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:56:37,254 - INFO - taking picture
MAIN: 2025-04-14 22:56:37,255 - INFO - we take 1973 photos in this while loop
MAIN: 2025-04-14 22:56:37,255 - INFO - /home/pi/Desktop/images/14042025/22/56/image_14042025_22_56_36_29749.jpg
MAIN: 2025-04-14 22:56:37,255 - INFO - duration: 0.6919674359960482
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:57:06,221 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:57:07,071 - INFO - taking picture
MAIN: 2025-04-14 22:57:07,072 - INFO - we take 1974 photos in this while loop
MAIN: 2025-04-14 22:57:07,072 - INFO - /home/pi/Desktop/images/14042025/22/56/image_14042025_22_57_06_29839.jpg
MAIN: 2025-04-14 22:57:07,072 - INFO - duration: 0.669242383009987
MAIN: 2025-04-14 22:57:07,073 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/57'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:57:36,702 - INFO - taking picture
MAIN: 2025-04-14 22:57:36,703 - INFO - we take 1975 photos in this while loop
MAIN: 2025-04-14 22:57:36,703 - INFO - /home/pi/Desktop/images/14042025/22/57/image_14042025_22_57_36_29635.jpg
MAIN: 2025-04-14 22:57:36,703 - INFO - duration: 0.6642941539903404
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:58:05,594 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:58:06,551 - INFO - taking picture
MAIN: 2025-04-14 22:58:06,551 - INFO - we take 1976 photos in this while loop
MAIN: 2025-04-14 22:58:06,552 - INFO - /home/pi/Desktop/images/14042025/22/57/image_14042025_22_58_06_29849.jpg
MAIN: 2025-04-14 22:58:06,552 - INFO - duration: 0.6631551449972903
MAIN: 2025-04-14 22:58:06,552 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/58'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:58:36,354 - INFO - taking picture
MAIN: 2025-04-14 22:58:36,354 - INFO - we take 1977 photos in this while loop
MAIN: 2025-04-14 22:58:36,354 - INFO - /home/pi/Desktop/images/14042025/22/58/image_14042025_22_58_35_29809.jpg
MAIN: 2025-04-14 22:58:36,355 - INFO - duration: 0.6563940519990865
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-04-14 22:59:05,834 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:59:06,349 - INFO - taking picture
MAIN: 2025-04-14 22:59:06,350 - INFO - we take 1978 photos in this while loop
MAIN: 2025-04-14 22:59:06,350 - INFO - /home/pi/Desktop/images/14042025/22/58/image_14042025_22_59_05_30001.jpg
MAIN: 2025-04-14 22:59:06,350 - INFO - duration: 0.6499408219970064
MAIN: 2025-04-14 22:59:06,350 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/14042025/22/59'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 22:59:37,200 - INFO - taking picture
MAIN: 2025-04-14 22:59:37,200 - INFO - we take 1979 photos in this while loop
MAIN: 2025-04-14 22:59:37,200 - INFO - /home/pi/Desktop/images/14042025/22/59/image_14042025_22_59_36_30831.jpg
MAIN: 2025-04-14 22:59:37,201 - INFO - duration: 0.6688330140023027
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:00:07,045 - INFO - taking picture
MAIN: 2025-04-14 23:00:07,045 - INFO - we take 1980 photos in this while loop
MAIN: 2025-04-14 23:00:07,046 - INFO - /home/pi/Desktop/images/14042025/22/59/image_14042025_23_00_06_29847.jpg
MAIN: 2025-04-14 23:00:07,046 - INFO - duration: 0.6661960350029403
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:00:36,599 - INFO - taking picture
MAIN: 2025-04-14 23:00:36,599 - INFO - we take 1981 photos in this while loop
MAIN: 2025-04-14 23:00:36,600 - INFO - /home/pi/Desktop/images/14042025/23/00/image_14042025_23_00_36_29529.jpg
MAIN: 2025-04-14 23:00:36,600 - INFO - duration: 0.6909809880016837
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:01:06,442 - INFO - taking picture
MAIN: 2025-04-14 23:01:06,443 - INFO - we take 1982 photos in this while loop
MAIN: 2025-04-14 23:01:06,443 - INFO - /home/pi/Desktop/images/14042025/23/00/image_14042025_23_01_06_29853.jpg
MAIN: 2025-04-14 23:01:06,444 - INFO - duration: 0.6811376530095004
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:01:37,311 - INFO - taking picture
MAIN: 2025-04-14 23:01:37,311 - INFO - we take 1983 photos in this while loop
MAIN: 2025-04-14 23:01:37,312 - INFO - /home/pi/Desktop/images/14042025/23/01/image_14042025_23_01_36_30902.jpg
MAIN: 2025-04-14 23:01:37,312 - INFO - duration: 0.6470462430006592
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:02:06,958 - INFO - taking picture
MAIN: 2025-04-14 23:02:06,958 - INFO - we take 1984 photos in this while loop
MAIN: 2025-04-14 23:02:06,958 - INFO - /home/pi/Desktop/images/14042025/23/01/image_14042025_23_02_06_29650.jpg
MAIN: 2025-04-14 23:02:06,959 - INFO - duration: 0.6432271280064015
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:02:36,459 - INFO - taking picture
MAIN: 2025-04-14 23:02:36,459 - INFO - we take 1985 photos in this while loop
MAIN: 2025-04-14 23:02:36,460 - INFO - /home/pi/Desktop/images/14042025/23/02/image_14042025_23_02_36_29495.jpg
MAIN: 2025-04-14 23:02:36,460 - INFO - duration: 0.649423171998933
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:03:07,406 - INFO - taking picture
MAIN: 2025-04-14 23:03:07,407 - INFO - we take 1986 photos in this while loop
MAIN: 2025-04-14 23:03:07,407 - INFO - /home/pi/Desktop/images/14042025/23/02/image_14042025_23_03_07_30896.jpg
MAIN: 2025-04-14 23:03:07,407 - INFO - duration: 0.6999523990089074
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:03:37,060 - INFO - taking picture
MAIN: 2025-04-14 23:03:37,060 - INFO - we take 1987 photos in this while loop
MAIN: 2025-04-14 23:03:37,060 - INFO - /home/pi/Desktop/images/14042025/23/03/image_14042025_23_03_36_29648.jpg
MAIN: 2025-04-14 23:03:37,061 - INFO - duration: 0.7043142229958903
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:04:06,788 - INFO - taking picture
MAIN: 2025-04-14 23:04:06,789 - INFO - we take 1988 photos in this while loop
MAIN: 2025-04-14 23:04:06,789 - INFO - /home/pi/Desktop/images/14042025/23/03/image_14042025_23_04_06_29758.jpg
MAIN: 2025-04-14 23:04:06,789 - INFO - duration: 0.6750469270045869
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:04:36,311 - INFO - taking picture
MAIN: 2025-04-14 23:04:36,312 - INFO - we take 1989 photos in this while loop
MAIN: 2025-04-14 23:04:36,312 - INFO - /home/pi/Desktop/images/14042025/23/04/image_14042025_23_04_35_29507.jpg
MAIN: 2025-04-14 23:04:36,312 - INFO - duration: 0.6904405240056803
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:05:07,483 - INFO - taking picture
MAIN: 2025-04-14 23:05:07,484 - INFO - we take 1990 photos in this while loop
MAIN: 2025-04-14 23:05:07,484 - INFO - /home/pi/Desktop/images/14042025/23/04/image_14042025_23_05_07_31194.jpg
MAIN: 2025-04-14 23:05:07,484 - INFO - duration: 0.6683194799988996
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:05:37,127 - INFO - taking picture
MAIN: 2025-04-14 23:05:37,128 - INFO - we take 1991 photos in this while loop
MAIN: 2025-04-14 23:05:37,128 - INFO - /home/pi/Desktop/images/14042025/23/05/image_14042025_23_05_36_29612.jpg
MAIN: 2025-04-14 23:05:37,128 - INFO - duration: 0.6999304749915609
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:06:06,928 - INFO - taking picture
MAIN: 2025-04-14 23:06:06,929 - INFO - we take 1992 photos in this while loop
MAIN: 2025-04-14 23:06:06,929 - INFO - /home/pi/Desktop/images/14042025/23/05/image_14042025_23_06_06_29842.jpg
MAIN: 2025-04-14 23:06:06,929 - INFO - duration: 0.6579853649891447
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:06:36,611 - INFO - taking picture
MAIN: 2025-04-14 23:06:36,612 - INFO - we take 1993 photos in this while loop
MAIN: 2025-04-14 23:06:36,612 - INFO - /home/pi/Desktop/images/14042025/23/06/image_14042025_23_06_36_29637.jpg
MAIN: 2025-04-14 23:06:36,612 - INFO - duration: 0.7031833410001127
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:07:06,466 - INFO - taking picture
MAIN: 2025-04-14 23:07:06,467 - INFO - we take 1994 photos in this while loop
MAIN: 2025-04-14 23:07:06,467 - INFO - /home/pi/Desktop/images/14042025/23/06/image_14042025_23_07_06_29897.jpg
MAIN: 2025-04-14 23:07:06,467 - INFO - duration: 0.6610134389920859
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:07:37,433 - INFO - taking picture
MAIN: 2025-04-14 23:07:37,433 - INFO - we take 1995 photos in this while loop
MAIN: 2025-04-14 23:07:37,433 - INFO - /home/pi/Desktop/images/14042025/23/07/image_14042025_23_07_37_30941.jpg
MAIN: 2025-04-14 23:07:37,434 - INFO - duration: 0.6860347970068688
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:08:07,083 - INFO - taking picture
MAIN: 2025-04-14 23:08:07,084 - INFO - we take 1996 photos in this while loop
MAIN: 2025-04-14 23:08:07,084 - INFO - /home/pi/Desktop/images/14042025/23/07/image_14042025_23_08_06_29641.jpg
MAIN: 2025-04-14 23:08:07,084 - INFO - duration: 0.6947554759972263
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:08:36,698 - INFO - taking picture
MAIN: 2025-04-14 23:08:36,699 - INFO - we take 1997 photos in this while loop
MAIN: 2025-04-14 23:08:36,699 - INFO - /home/pi/Desktop/images/14042025/23/08/image_14042025_23_08_36_29613.jpg
MAIN: 2025-04-14 23:08:36,699 - INFO - duration: 0.6962190189951798
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:09:06,570 - INFO - taking picture
MAIN: 2025-04-14 23:09:06,571 - INFO - we take 1998 photos in this while loop
MAIN: 2025-04-14 23:09:06,571 - INFO - /home/pi/Desktop/images/14042025/23/08/image_14042025_23_09_06_29879.jpg
MAIN: 2025-04-14 23:09:06,571 - INFO - duration: 0.6890747470024507
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:09:37,503 - INFO - taking picture
MAIN: 2025-04-14 23:09:37,504 - INFO - we take 1999 photos in this while loop
MAIN: 2025-04-14 23:09:37,504 - INFO - /home/pi/Desktop/images/14042025/23/09/image_14042025_23_09_37_30921.jpg
MAIN: 2025-04-14 23:09:37,504 - INFO - duration: 0.7006890209886478
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:10:07,479 - INFO - taking picture
MAIN: 2025-04-14 23:10:07,480 - INFO - we take 2000 photos in this while loop
MAIN: 2025-04-14 23:10:07,480 - INFO - /home/pi/Desktop/images/14042025/23/09/image_14042025_23_10_07_30011.jpg
MAIN: 2025-04-14 23:10:07,480 - INFO - duration: 0.6648149519896833
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:10:37,195 - INFO - taking picture
MAIN: 2025-04-14 23:10:37,196 - INFO - we take 2001 photos in this while loop
MAIN: 2025-04-14 23:10:37,196 - INFO - /home/pi/Desktop/images/14042025/23/10/image_14042025_23_10_36_29680.jpg
MAIN: 2025-04-14 23:10:37,196 - INFO - duration: 0.7006270939891692
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:11:06,889 - INFO - taking picture
MAIN: 2025-04-14 23:11:06,890 - INFO - we take 2002 photos in this while loop
MAIN: 2025-04-14 23:11:06,890 - INFO - /home/pi/Desktop/images/14042025/23/10/image_14042025_23_11_06_29700.jpg
MAIN: 2025-04-14 23:11:06,890 - INFO - duration: 0.6939157909946516
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:11:36,504 - INFO - taking picture
MAIN: 2025-04-14 23:11:36,504 - INFO - we take 2003 photos in this while loop
MAIN: 2025-04-14 23:11:36,505 - INFO - /home/pi/Desktop/images/14042025/23/11/image_14042025_23_11_36_29613.jpg
MAIN: 2025-04-14 23:11:36,505 - INFO - duration: 0.6952217810030561
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:12:06,564 - INFO - taking picture
MAIN: 2025-04-14 23:12:06,564 - INFO - we take 2004 photos in this while loop
MAIN: 2025-04-14 23:12:06,564 - INFO - /home/pi/Desktop/images/14042025/23/11/image_14042025_23_12_06_30057.jpg
MAIN: 2025-04-14 23:12:06,565 - INFO - duration: 0.6977574590127915
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:12:37,355 - INFO - taking picture
MAIN: 2025-04-14 23:12:37,355 - INFO - we take 2005 photos in this while loop
MAIN: 2025-04-14 23:12:37,356 - INFO - /home/pi/Desktop/images/14042025/23/12/image_14042025_23_12_36_30817.jpg
MAIN: 2025-04-14 23:12:37,356 - INFO - duration: 0.6714097980002407
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:13:06,954 - INFO - taking picture
MAIN: 2025-04-14 23:13:06,955 - INFO - we take 2006 photos in this while loop
MAIN: 2025-04-14 23:13:06,955 - INFO - /home/pi/Desktop/images/14042025/23/12/image_14042025_23_13_06_29602.jpg
MAIN: 2025-04-14 23:13:06,955 - INFO - duration: 0.6682860480068484
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:13:36,534 - INFO - taking picture
MAIN: 2025-04-14 23:13:36,534 - INFO - we take 2007 photos in this while loop
MAIN: 2025-04-14 23:13:36,535 - INFO - /home/pi/Desktop/images/14042025/23/13/image_14042025_23_13_36_29568.jpg
MAIN: 2025-04-14 23:13:36,535 - INFO - duration: 0.6792495919944486
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:14:07,442 - INFO - taking picture
MAIN: 2025-04-14 23:14:07,443 - INFO - we take 2008 photos in this while loop
MAIN: 2025-04-14 23:14:07,443 - INFO - /home/pi/Desktop/images/14042025/23/13/image_14042025_23_14_07_30898.jpg
MAIN: 2025-04-14 23:14:07,443 - INFO - duration: 0.6891758959973231
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:14:36,982 - INFO - taking picture
MAIN: 2025-04-14 23:14:36,982 - INFO - we take 2009 photos in this while loop
MAIN: 2025-04-14 23:14:36,982 - INFO - /home/pi/Desktop/images/14042025/23/14/image_14042025_23_14_36_29538.jpg
MAIN: 2025-04-14 23:14:36,983 - INFO - duration: 0.6901094380009454
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:15:06,948 - INFO - taking picture
MAIN: 2025-04-14 23:15:06,948 - INFO - we take 2010 photos in this while loop
MAIN: 2025-04-14 23:15:06,948 - INFO - /home/pi/Desktop/images/14042025/23/14/image_14042025_23_15_06_29972.jpg
MAIN: 2025-04-14 23:15:06,949 - INFO - duration: 0.6835825619928073
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:15:36,676 - INFO - taking picture
MAIN: 2025-04-14 23:15:36,677 - INFO - we take 2011 photos in this while loop
MAIN: 2025-04-14 23:15:36,677 - INFO - /home/pi/Desktop/images/14042025/23/15/image_14042025_23_15_36_29696.jpg
MAIN: 2025-04-14 23:15:36,677 - INFO - duration: 0.7161886609974317
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:16:06,524 - INFO - taking picture
MAIN: 2025-04-14 23:16:06,525 - INFO - we take 2012 photos in this while loop
MAIN: 2025-04-14 23:16:06,525 - INFO - /home/pi/Desktop/images/14042025/23/15/image_14042025_23_16_06_29867.jpg
MAIN: 2025-04-14 23:16:06,525 - INFO - duration: 0.6963369910081383
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:16:37,440 - INFO - taking picture
MAIN: 2025-04-14 23:16:37,441 - INFO - we take 2013 photos in this while loop
MAIN: 2025-04-14 23:16:37,441 - INFO - /home/pi/Desktop/images/14042025/23/16/image_14042025_23_16_37_30905.jpg
MAIN: 2025-04-14 23:16:37,441 - INFO - duration: 0.7062959520117147
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:17:07,225 - INFO - taking picture
MAIN: 2025-04-14 23:17:07,226 - INFO - we take 2014 photos in this while loop
MAIN: 2025-04-14 23:17:07,226 - INFO - /home/pi/Desktop/images/14042025/23/16/image_14042025_23_17_06_29826.jpg
MAIN: 2025-04-14 23:17:07,226 - INFO - duration: 0.6646020720072556
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:17:36,834 - INFO - taking picture
MAIN: 2025-04-14 23:17:36,835 - INFO - we take 2015 photos in this while loop
MAIN: 2025-04-14 23:17:36,835 - INFO - /home/pi/Desktop/images/14042025/23/17/image_14042025_23_17_36_29583.jpg
MAIN: 2025-04-14 23:17:36,835 - INFO - duration: 0.690423477004515
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:18:06,606 - INFO - taking picture
MAIN: 2025-04-14 23:18:06,607 - INFO - we take 2016 photos in this while loop
MAIN: 2025-04-14 23:18:06,607 - INFO - /home/pi/Desktop/images/14042025/23/17/image_14042025_23_18_06_29771.jpg
MAIN: 2025-04-14 23:18:06,607 - INFO - duration: 0.691249910989427
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:18:37,495 - INFO - taking picture
MAIN: 2025-04-14 23:18:37,496 - INFO - we take 2017 photos in this while loop
MAIN: 2025-04-14 23:18:37,496 - INFO - /home/pi/Desktop/images/14042025/23/18/image_14042025_23_18_37_30890.jpg
MAIN: 2025-04-14 23:18:37,496 - INFO - duration: 0.6893060310103465
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:19:07,113 - INFO - taking picture
MAIN: 2025-04-14 23:19:07,114 - INFO - we take 2018 photos in this while loop
MAIN: 2025-04-14 23:19:07,114 - INFO - /home/pi/Desktop/images/14042025/23/18/image_14042025_23_19_06_29620.jpg
MAIN: 2025-04-14 23:19:07,114 - INFO - duration: 0.6870805910002673
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:19:36,717 - INFO - taking picture
MAIN: 2025-04-14 23:19:36,717 - INFO - we take 2019 photos in this while loop
MAIN: 2025-04-14 23:19:36,717 - INFO - /home/pi/Desktop/images/14042025/23/19/image_14042025_23_19_36_29595.jpg
MAIN: 2025-04-14 23:19:36,718 - INFO - duration: 0.6948047429905273
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:20:06,782 - INFO - taking picture
MAIN: 2025-04-14 23:20:06,783 - INFO - we take 2020 photos in this while loop
MAIN: 2025-04-14 23:20:06,783 - INFO - /home/pi/Desktop/images/14042025/23/19/image_14042025_23_20_06_30082.jpg
MAIN: 2025-04-14 23:20:06,783 - INFO - duration: 0.6780510649987264
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:20:36,351 - INFO - taking picture
MAIN: 2025-04-14 23:20:36,352 - INFO - we take 2021 photos in this while loop
MAIN: 2025-04-14 23:20:36,352 - INFO - /home/pi/Desktop/images/14042025/23/20/image_14042025_23_20_35_29557.jpg
MAIN: 2025-04-14 23:20:36,352 - INFO - duration: 0.6897965770040173
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:21:07,346 - INFO - taking picture
MAIN: 2025-04-14 23:21:07,347 - INFO - we take 2022 photos in this while loop
MAIN: 2025-04-14 23:21:07,347 - INFO - /home/pi/Desktop/images/14042025/23/20/image_14042025_23_21_06_30994.jpg
MAIN: 2025-04-14 23:21:07,347 - INFO - duration: 0.6899238500045612
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:21:37,035 - INFO - taking picture
MAIN: 2025-04-14 23:21:37,035 - INFO - we take 2023 photos in this while loop
MAIN: 2025-04-14 23:21:37,035 - INFO - /home/pi/Desktop/images/14042025/23/21/image_14042025_23_21_36_29674.jpg
MAIN: 2025-04-14 23:21:37,036 - INFO - duration: 0.70394493699132
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:22:06,966 - INFO - taking picture
MAIN: 2025-04-14 23:22:06,966 - INFO - we take 2024 photos in this while loop
MAIN: 2025-04-14 23:22:06,966 - INFO - /home/pi/Desktop/images/14042025/23/21/image_14042025_23_22_06_29946.jpg
MAIN: 2025-04-14 23:22:06,967 - INFO - duration: 0.6887206410028739
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:22:36,610 - INFO - taking picture
MAIN: 2025-04-14 23:22:36,610 - INFO - we take 2025 photos in this while loop
MAIN: 2025-04-14 23:22:36,610 - INFO - /home/pi/Desktop/images/14042025/23/22/image_14042025_23_22_36_29633.jpg
MAIN: 2025-04-14 23:22:36,610 - INFO - duration: 0.6988849029876292
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:23:06,355 - INFO - taking picture
MAIN: 2025-04-14 23:23:06,355 - INFO - we take 2026 photos in this while loop
MAIN: 2025-04-14 23:23:06,355 - INFO - /home/pi/Desktop/images/14042025/23/22/image_14042025_23_23_05_29752.jpg
MAIN: 2025-04-14 23:23:06,356 - INFO - duration: 0.691180613997858
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:23:37,341 - INFO - taking picture
MAIN: 2025-04-14 23:23:37,342 - INFO - we take 2027 photos in this while loop
MAIN: 2025-04-14 23:23:37,342 - INFO - /home/pi/Desktop/images/14042025/23/23/image_14042025_23_23_36_30986.jpg
MAIN: 2025-04-14 23:23:37,342 - INFO - duration: 0.6914665390067967
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:24:07,201 - INFO - taking picture
MAIN: 2025-04-14 23:24:07,201 - INFO - we take 2028 photos in this while loop
MAIN: 2025-04-14 23:24:07,202 - INFO - /home/pi/Desktop/images/14042025/23/23/image_14042025_23_24_06_29856.jpg
MAIN: 2025-04-14 23:24:07,202 - INFO - duration: 0.6944679339940194
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:24:36,781 - INFO - taking picture
MAIN: 2025-04-14 23:24:36,781 - INFO - we take 2029 photos in this while loop
MAIN: 2025-04-14 23:24:36,782 - INFO - /home/pi/Desktop/images/14042025/23/24/image_14042025_23_24_36_29582.jpg
MAIN: 2025-04-14 23:24:36,782 - INFO - duration: 0.6917606809874997
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:25:06,797 - INFO - taking picture
MAIN: 2025-04-14 23:25:06,798 - INFO - we take 2030 photos in this while loop
MAIN: 2025-04-14 23:25:06,799 - INFO - /home/pi/Desktop/images/14042025/23/24/image_14042025_23_25_06_30038.jpg
MAIN: 2025-04-14 23:25:06,799 - INFO - duration: 0.671292013998027
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:25:36,401 - INFO - taking picture
MAIN: 2025-04-14 23:25:36,401 - INFO - we take 2031 photos in this while loop
MAIN: 2025-04-14 23:25:36,402 - INFO - /home/pi/Desktop/images/14042025/23/25/image_14042025_23_25_36_29580.jpg
MAIN: 2025-04-14 23:25:36,402 - INFO - duration: 0.6930224840034498
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:26:07,516 - INFO - taking picture
MAIN: 2025-04-14 23:26:07,516 - INFO - we take 2032 photos in this while loop
MAIN: 2025-04-14 23:26:07,517 - INFO - /home/pi/Desktop/images/14042025/23/25/image_14042025_23_26_07_31124.jpg
MAIN: 2025-04-14 23:26:07,517 - INFO - duration: 0.6830959060025634
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:26:37,029 - INFO - taking picture
MAIN: 2025-04-14 23:26:37,029 - INFO - we take 2033 photos in this while loop
MAIN: 2025-04-14 23:26:37,029 - INFO - /home/pi/Desktop/images/14042025/23/26/image_14042025_23_26_36_29499.jpg
MAIN: 2025-04-14 23:26:37,030 - INFO - duration: 0.6968111640017014
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:27:06,720 - INFO - taking picture
MAIN: 2025-04-14 23:27:06,720 - INFO - we take 2034 photos in this while loop
MAIN: 2025-04-14 23:27:06,720 - INFO - /home/pi/Desktop/images/14042025/23/26/image_14042025_23_27_06_29724.jpg
MAIN: 2025-04-14 23:27:06,721 - INFO - duration: 0.663473692999105
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:27:37,511 - INFO - taking picture
MAIN: 2025-04-14 23:27:37,511 - INFO - we take 2035 photos in this while loop
MAIN: 2025-04-14 23:27:37,511 - INFO - /home/pi/Desktop/images/14042025/23/27/image_14042025_23_27_37_30765.jpg
MAIN: 2025-04-14 23:27:37,512 - INFO - duration: 0.6892463530093664
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:28:07,161 - INFO - taking picture
MAIN: 2025-04-14 23:28:07,162 - INFO - we take 2036 photos in this while loop
MAIN: 2025-04-14 23:28:07,162 - INFO - /home/pi/Desktop/images/14042025/23/27/image_14042025_23_28_06_29651.jpg
MAIN: 2025-04-14 23:28:07,162 - INFO - duration: 0.688012020997121
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:28:36,719 - INFO - taking picture
MAIN: 2025-04-14 23:28:36,719 - INFO - we take 2037 photos in this while loop
MAIN: 2025-04-14 23:28:36,719 - INFO - /home/pi/Desktop/images/14042025/23/28/image_14042025_23_28_36_29546.jpg
MAIN: 2025-04-14 23:28:36,719 - INFO - duration: 0.6990729570097756
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:29:06,629 - INFO - taking picture
MAIN: 2025-04-14 23:29:06,629 - INFO - we take 2038 photos in this while loop
MAIN: 2025-04-14 23:29:06,630 - INFO - /home/pi/Desktop/images/14042025/23/28/image_14042025_23_29_06_29918.jpg
MAIN: 2025-04-14 23:29:06,630 - INFO - duration: 0.6905961229931563
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:29:37,506 - INFO - taking picture
MAIN: 2025-04-14 23:29:37,507 - INFO - we take 2039 photos in this while loop
MAIN: 2025-04-14 23:29:37,507 - INFO - /home/pi/Desktop/images/14042025/23/29/image_14042025_23_29_37_30871.jpg
MAIN: 2025-04-14 23:29:37,507 - INFO - duration: 0.6964391920046182
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:30:07,390 - INFO - taking picture
MAIN: 2025-04-14 23:30:07,391 - INFO - we take 2040 photos in this while loop
MAIN: 2025-04-14 23:30:07,392 - INFO - /home/pi/Desktop/images/14042025/23/29/image_14042025_23_30_06_29911.jpg
MAIN: 2025-04-14 23:30:07,392 - INFO - duration: 0.6696274050045758
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:30:36,838 - INFO - taking picture
MAIN: 2025-04-14 23:30:36,838 - INFO - we take 2041 photos in this while loop
MAIN: 2025-04-14 23:30:36,838 - INFO - /home/pi/Desktop/images/14042025/23/30/image_14042025_23_30_36_29419.jpg
MAIN: 2025-04-14 23:30:36,839 - INFO - duration: 0.6966877740051132
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:31:06,602 - INFO - taking picture
MAIN: 2025-04-14 23:31:06,602 - INFO - we take 2042 photos in this while loop
MAIN: 2025-04-14 23:31:06,603 - INFO - /home/pi/Desktop/images/14042025/23/30/image_14042025_23_31_06_29791.jpg
MAIN: 2025-04-14 23:31:06,603 - INFO - duration: 0.6689989040023647
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:31:37,564 - INFO - taking picture
MAIN: 2025-04-14 23:31:37,565 - INFO - we take 2043 photos in this while loop
MAIN: 2025-04-14 23:31:37,565 - INFO - /home/pi/Desktop/images/14042025/23/31/image_14042025_23_31_37_30932.jpg
MAIN: 2025-04-14 23:31:37,565 - INFO - duration: 0.698885785008315
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:32:07,370 - INFO - taking picture
MAIN: 2025-04-14 23:32:07,370 - INFO - we take 2044 photos in this while loop
MAIN: 2025-04-14 23:32:07,370 - INFO - /home/pi/Desktop/images/14042025/23/31/image_14042025_23_32_06_29830.jpg
MAIN: 2025-04-14 23:32:07,371 - INFO - duration: 0.6736584270111052
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:32:37,041 - INFO - taking picture
MAIN: 2025-04-14 23:32:37,042 - INFO - we take 2045 photos in this while loop
MAIN: 2025-04-14 23:32:37,042 - INFO - /home/pi/Desktop/images/14042025/23/32/image_14042025_23_32_36_29648.jpg
MAIN: 2025-04-14 23:32:37,042 - INFO - duration: 0.6967262950056465
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:33:06,723 - INFO - taking picture
MAIN: 2025-04-14 23:33:06,723 - INFO - we take 2046 photos in this while loop
MAIN: 2025-04-14 23:33:06,724 - INFO - /home/pi/Desktop/images/14042025/23/32/image_14042025_23_33_06_29712.jpg
MAIN: 2025-04-14 23:33:06,724 - INFO - duration: 0.666416020001634
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:33:37,548 - INFO - taking picture
MAIN: 2025-04-14 23:33:37,548 - INFO - we take 2047 photos in this while loop
MAIN: 2025-04-14 23:33:37,548 - INFO - /home/pi/Desktop/images/14042025/23/33/image_14042025_23_33_37_30799.jpg
MAIN: 2025-04-14 23:33:37,549 - INFO - duration: 0.6913255560066318
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:34:06,403 - INFO - taking picture
MAIN: 2025-04-14 23:34:06,404 - INFO - we take 2048 photos in this while loop
MAIN: 2025-04-14 23:34:06,404 - INFO - /home/pi/Desktop/images/14042025/23/33/image_14042025_23_34_06_28873.jpg
MAIN: 2025-04-14 23:34:06,404 - INFO - duration: 0.673379609012045
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:34:37,342 - INFO - taking picture
MAIN: 2025-04-14 23:34:37,342 - INFO - we take 2049 photos in this while loop
MAIN: 2025-04-14 23:34:37,342 - INFO - /home/pi/Desktop/images/14042025/23/34/image_14042025_23_34_36_30914.jpg
MAIN: 2025-04-14 23:34:37,343 - INFO - duration: 0.6971657070098445
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:35:07,327 - INFO - taking picture
MAIN: 2025-04-14 23:35:07,328 - INFO - we take 2050 photos in this while loop
MAIN: 2025-04-14 23:35:07,328 - INFO - /home/pi/Desktop/images/14042025/23/34/image_14042025_23_35_06_30011.jpg
MAIN: 2025-04-14 23:35:07,328 - INFO - duration: 0.6714169969927752
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:35:36,980 - INFO - taking picture
MAIN: 2025-04-14 23:35:36,981 - INFO - we take 2051 photos in this while loop
MAIN: 2025-04-14 23:35:36,981 - INFO - /home/pi/Desktop/images/14042025/23/35/image_14042025_23_35_36_29630.jpg
MAIN: 2025-04-14 23:35:36,981 - INFO - duration: 0.6937648660095874
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:36:06,711 - INFO - taking picture
MAIN: 2025-04-14 23:36:06,712 - INFO - we take 2052 photos in this while loop
MAIN: 2025-04-14 23:36:06,712 - INFO - /home/pi/Desktop/images/14042025/23/35/image_14042025_23_36_06_29752.jpg
MAIN: 2025-04-14 23:36:06,712 - INFO - duration: 0.6724753769958625
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:36:37,494 - INFO - taking picture
MAIN: 2025-04-14 23:36:37,494 - INFO - we take 2053 photos in this while loop
MAIN: 2025-04-14 23:36:37,494 - INFO - /home/pi/Desktop/images/14042025/23/36/image_14042025_23_36_37_30781.jpg
MAIN: 2025-04-14 23:36:37,495 - INFO - duration: 0.6735099060024368
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:37:07,119 - INFO - taking picture
MAIN: 2025-04-14 23:37:07,120 - INFO - we take 2054 photos in this while loop
MAIN: 2025-04-14 23:37:07,120 - INFO - /home/pi/Desktop/images/14042025/23/36/image_14042025_23_37_06_29601.jpg
MAIN: 2025-04-14 23:37:07,120 - INFO - duration: 0.6973850670037791
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:37:36,667 - INFO - taking picture
MAIN: 2025-04-14 23:37:36,668 - INFO - we take 2055 photos in this while loop
MAIN: 2025-04-14 23:37:36,668 - INFO - /home/pi/Desktop/images/14042025/23/37/image_14042025_23_37_36_29565.jpg
MAIN: 2025-04-14 23:37:36,668 - INFO - duration: 0.680151152992039
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:38:06,404 - INFO - taking picture
MAIN: 2025-04-14 23:38:06,405 - INFO - we take 2056 photos in this while loop
MAIN: 2025-04-14 23:38:06,405 - INFO - /home/pi/Desktop/images/14042025/23/37/image_14042025_23_38_06_29748.jpg
MAIN: 2025-04-14 23:38:06,405 - INFO - duration: 0.6681113030062988
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:38:37,151 - INFO - taking picture
MAIN: 2025-04-14 23:38:37,152 - INFO - we take 2057 photos in this while loop
MAIN: 2025-04-14 23:38:37,152 - INFO - /home/pi/Desktop/images/14042025/23/38/image_14042025_23_38_36_30737.jpg
MAIN: 2025-04-14 23:38:37,152 - INFO - duration: 0.6772015639871825
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:39:06,853 - INFO - taking picture
MAIN: 2025-04-14 23:39:06,854 - INFO - we take 2058 photos in this while loop
MAIN: 2025-04-14 23:39:06,854 - INFO - /home/pi/Desktop/images/14042025/23/38/image_14042025_23_39_06_29681.jpg
MAIN: 2025-04-14 23:39:06,854 - INFO - duration: 0.6971709429926705
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:39:36,605 - INFO - taking picture
MAIN: 2025-04-14 23:39:36,605 - INFO - we take 2059 photos in this while loop
MAIN: 2025-04-14 23:39:36,606 - INFO - /home/pi/Desktop/images/14042025/23/39/image_14042025_23_39_36_29744.jpg
MAIN: 2025-04-14 23:39:36,606 - INFO - duration: 0.7044916209997609
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:40:06,569 - INFO - taking picture
MAIN: 2025-04-14 23:40:06,570 - INFO - we take 2060 photos in this while loop
MAIN: 2025-04-14 23:40:06,570 - INFO - /home/pi/Desktop/images/14042025/23/39/image_14042025_23_40_06_29994.jpg
MAIN: 2025-04-14 23:40:06,570 - INFO - duration: 0.6746667130064452
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:40:37,379 - INFO - taking picture
MAIN: 2025-04-14 23:40:37,379 - INFO - we take 2061 photos in this while loop
MAIN: 2025-04-14 23:40:37,380 - INFO - /home/pi/Desktop/images/14042025/23/40/image_14042025_23_40_36_30792.jpg
MAIN: 2025-04-14 23:40:37,380 - INFO - duration: 0.6918746860028477
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:41:07,050 - INFO - taking picture
MAIN: 2025-04-14 23:41:07,051 - INFO - we take 2062 photos in this while loop
MAIN: 2025-04-14 23:41:07,051 - INFO - /home/pi/Desktop/images/14042025/23/40/image_14042025_23_41_06_29675.jpg
MAIN: 2025-04-14 23:41:07,051 - INFO - duration: 0.687333641006262
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:41:36,550 - INFO - taking picture
MAIN: 2025-04-14 23:41:36,550 - INFO - we take 2063 photos in this while loop
MAIN: 2025-04-14 23:41:36,550 - INFO - /home/pi/Desktop/images/14042025/23/41/image_14042025_23_41_36_29497.jpg
MAIN: 2025-04-14 23:41:36,550 - INFO - duration: 0.6894786409975495
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:42:06,317 - INFO - taking picture
MAIN: 2025-04-14 23:42:06,317 - INFO - we take 2064 photos in this while loop
MAIN: 2025-04-14 23:42:06,318 - INFO - /home/pi/Desktop/images/14042025/23/41/image_14042025_23_42_05_29757.jpg
MAIN: 2025-04-14 23:42:06,318 - INFO - duration: 0.6996275999990758
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:42:37,212 - INFO - taking picture
MAIN: 2025-04-14 23:42:37,212 - INFO - we take 2065 photos in this while loop
MAIN: 2025-04-14 23:42:37,213 - INFO - /home/pi/Desktop/images/14042025/23/42/image_14042025_23_42_36_30887.jpg
MAIN: 2025-04-14 23:42:37,213 - INFO - duration: 0.7072061419894453
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:43:07,090 - INFO - taking picture
MAIN: 2025-04-14 23:43:07,091 - INFO - we take 2066 photos in this while loop
MAIN: 2025-04-14 23:43:07,091 - INFO - /home/pi/Desktop/images/14042025/23/42/image_14042025_23_43_06_29896.jpg
MAIN: 2025-04-14 23:43:07,091 - INFO - duration: 0.6895240010053385
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:43:36,623 - INFO - taking picture
MAIN: 2025-04-14 23:43:36,624 - INFO - we take 2067 photos in this while loop
MAIN: 2025-04-14 23:43:36,624 - INFO - /home/pi/Desktop/images/14042025/23/43/image_14042025_23_43_36_29549.jpg
MAIN: 2025-04-14 23:43:36,624 - INFO - duration: 0.6724887860036688
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:44:06,382 - INFO - taking picture
MAIN: 2025-04-14 23:44:06,383 - INFO - we take 2068 photos in this while loop
MAIN: 2025-04-14 23:44:06,383 - INFO - /home/pi/Desktop/images/14042025/23/43/image_14042025_23_44_06_29731.jpg
MAIN: 2025-04-14 23:44:06,384 - INFO - duration: 0.7000371260073734
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:44:37,331 - INFO - taking picture
MAIN: 2025-04-14 23:44:37,332 - INFO - we take 2069 photos in this while loop
MAIN: 2025-04-14 23:44:37,332 - INFO - /home/pi/Desktop/images/14042025/23/44/image_14042025_23_44_36_30948.jpg
MAIN: 2025-04-14 23:44:37,332 - INFO - duration: 0.7001414480037056
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:45:07,068 - INFO - taking picture
MAIN: 2025-04-14 23:45:07,069 - INFO - we take 2070 photos in this while loop
MAIN: 2025-04-14 23:45:07,069 - INFO - /home/pi/Desktop/images/14042025/23/44/image_14042025_23_45_06_29762.jpg
MAIN: 2025-04-14 23:45:07,070 - INFO - duration: 0.6750722729921108
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:45:36,671 - INFO - taking picture
MAIN: 2025-04-14 23:45:36,671 - INFO - we take 2071 photos in this while loop
MAIN: 2025-04-14 23:45:36,671 - INFO - /home/pi/Desktop/images/14042025/23/45/image_14042025_23_45_36_29578.jpg
MAIN: 2025-04-14 23:45:36,672 - INFO - duration: 0.6983156640053494
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:46:06,696 - INFO - taking picture
MAIN: 2025-04-14 23:46:06,696 - INFO - we take 2072 photos in this while loop
MAIN: 2025-04-14 23:46:06,696 - INFO - /home/pi/Desktop/images/14042025/23/45/image_14042025_23_46_06_30034.jpg
MAIN: 2025-04-14 23:46:06,697 - INFO - duration: 0.6884433169907425
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:46:36,317 - INFO - taking picture
MAIN: 2025-04-14 23:46:36,317 - INFO - we take 2073 photos in this while loop
MAIN: 2025-04-14 23:46:36,317 - INFO - /home/pi/Desktop/images/14042025/23/46/image_14042025_23_46_35_29643.jpg
MAIN: 2025-04-14 23:46:36,317 - INFO - duration: 0.6658579450013349
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:47:07,370 - INFO - taking picture
MAIN: 2025-04-14 23:47:07,371 - INFO - we take 2074 photos in this while loop
MAIN: 2025-04-14 23:47:07,371 - INFO - /home/pi/Desktop/images/14042025/23/46/image_14042025_23_47_06_31023.jpg
MAIN: 2025-04-14 23:47:07,371 - INFO - duration: 0.6965557130024536
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:47:36,923 - INFO - taking picture
MAIN: 2025-04-14 23:47:36,924 - INFO - we take 2075 photos in this while loop
MAIN: 2025-04-14 23:47:36,924 - INFO - /home/pi/Desktop/images/14042025/23/47/image_14042025_23_47_36_29550.jpg
MAIN: 2025-04-14 23:47:36,924 - INFO - duration: 0.6991596199950436
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:48:06,720 - INFO - taking picture
MAIN: 2025-04-14 23:48:06,721 - INFO - we take 2076 photos in this while loop
MAIN: 2025-04-14 23:48:06,721 - INFO - /home/pi/Desktop/images/14042025/23/47/image_14042025_23_48_06_29801.jpg
MAIN: 2025-04-14 23:48:06,721 - INFO - duration: 0.6948431589989923
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:48:37,515 - INFO - taking picture
MAIN: 2025-04-14 23:48:37,516 - INFO - we take 2077 photos in this while loop
MAIN: 2025-04-14 23:48:37,516 - INFO - /home/pi/Desktop/images/14042025/23/48/image_14042025_23_48_37_30808.jpg
MAIN: 2025-04-14 23:48:37,516 - INFO - duration: 0.6813436230004299
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:49:06,329 - INFO - taking picture
MAIN: 2025-04-14 23:49:06,330 - INFO - we take 2078 photos in this while loop
MAIN: 2025-04-14 23:49:06,330 - INFO - /home/pi/Desktop/images/14042025/23/48/image_14042025_23_49_05_28801.jpg
MAIN: 2025-04-14 23:49:06,330 - INFO - duration: 0.6940835739951581
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:49:37,224 - INFO - taking picture
MAIN: 2025-04-14 23:49:37,224 - INFO - we take 2079 photos in this while loop
MAIN: 2025-04-14 23:49:37,224 - INFO - /home/pi/Desktop/images/14042025/23/49/image_14042025_23_49_36_30888.jpg
MAIN: 2025-04-14 23:49:37,225 - INFO - duration: 0.6998518559994409
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:50:07,116 - INFO - taking picture
MAIN: 2025-04-14 23:50:07,116 - INFO - we take 2080 photos in this while loop
MAIN: 2025-04-14 23:50:07,117 - INFO - /home/pi/Desktop/images/14042025/23/49/image_14042025_23_50_06_29909.jpg
MAIN: 2025-04-14 23:50:07,117 - INFO - duration: 0.6823311740008648
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:50:36,743 - INFO - taking picture
MAIN: 2025-04-14 23:50:36,744 - INFO - we take 2081 photos in this while loop
MAIN: 2025-04-14 23:50:36,744 - INFO - /home/pi/Desktop/images/14042025/23/50/image_14042025_23_50_36_29658.jpg
MAIN: 2025-04-14 23:50:36,744 - INFO - duration: 0.6516506439947989
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:51:06,461 - INFO - taking picture
MAIN: 2025-04-14 23:51:06,461 - INFO - we take 2082 photos in this while loop
MAIN: 2025-04-14 23:51:06,461 - INFO - /home/pi/Desktop/images/14042025/23/50/image_14042025_23_51_06_29716.jpg
MAIN: 2025-04-14 23:51:06,461 - INFO - duration: 0.6520558829943184
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:51:37,487 - INFO - taking picture
MAIN: 2025-04-14 23:51:37,488 - INFO - we take 2083 photos in this while loop
MAIN: 2025-04-14 23:51:37,488 - INFO - /home/pi/Desktop/images/14042025/23/51/image_14042025_23_51_37_30991.jpg
MAIN: 2025-04-14 23:51:37,488 - INFO - duration: 0.6869707880105125
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:52:07,130 - INFO - taking picture
MAIN: 2025-04-14 23:52:07,131 - INFO - we take 2084 photos in this while loop
MAIN: 2025-04-14 23:52:07,131 - INFO - /home/pi/Desktop/images/14042025/23/51/image_14042025_23_52_06_29659.jpg
MAIN: 2025-04-14 23:52:07,131 - INFO - duration: 0.6700472649972653
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:52:36,600 - INFO - taking picture
MAIN: 2025-04-14 23:52:36,601 - INFO - we take 2085 photos in this while loop
MAIN: 2025-04-14 23:52:36,601 - INFO - /home/pi/Desktop/images/14042025/23/52/image_14042025_23_52_36_29504.jpg
MAIN: 2025-04-14 23:52:36,601 - INFO - duration: 0.6355765040061669
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:53:07,525 - INFO - taking picture
MAIN: 2025-04-14 23:53:07,525 - INFO - we take 2086 photos in this while loop
MAIN: 2025-04-14 23:53:07,526 - INFO - /home/pi/Desktop/images/14042025/23/52/image_14042025_23_53_07_30871.jpg
MAIN: 2025-04-14 23:53:07,526 - INFO - duration: 0.6885002070048358
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:53:37,050 - INFO - taking picture
MAIN: 2025-04-14 23:53:37,050 - INFO - we take 2087 photos in this while loop
MAIN: 2025-04-14 23:53:37,051 - INFO - /home/pi/Desktop/images/14042025/23/53/image_14042025_23_53_36_29533.jpg
MAIN: 2025-04-14 23:53:37,051 - INFO - duration: 0.6801828770112479
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:54:06,838 - INFO - taking picture
MAIN: 2025-04-14 23:54:06,839 - INFO - we take 2088 photos in this while loop
MAIN: 2025-04-14 23:54:06,839 - INFO - /home/pi/Desktop/images/14042025/23/53/image_14042025_23_54_06_29799.jpg
MAIN: 2025-04-14 23:54:06,839 - INFO - duration: 0.6697890880022896
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:54:36,602 - INFO - taking picture
MAIN: 2025-04-14 23:54:36,603 - INFO - we take 2089 photos in this while loop
MAIN: 2025-04-14 23:54:36,603 - INFO - /home/pi/Desktop/images/14042025/23/54/image_14042025_23_54_36_29760.jpg
MAIN: 2025-04-14 23:54:36,604 - INFO - duration: 0.6734725880087353
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:55:06,573 - INFO - taking picture
MAIN: 2025-04-14 23:55:06,574 - INFO - we take 2090 photos in this while loop
MAIN: 2025-04-14 23:55:06,574 - INFO - /home/pi/Desktop/images/14042025/23/54/image_14042025_23_55_06_29969.jpg
MAIN: 2025-04-14 23:55:06,575 - INFO - duration: 0.6751581719872775
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:55:37,484 - INFO - taking picture
MAIN: 2025-04-14 23:55:37,484 - INFO - we take 2091 photos in this while loop
MAIN: 2025-04-14 23:55:37,484 - INFO - /home/pi/Desktop/images/14042025/23/55/image_14042025_23_55_37_30886.jpg
MAIN: 2025-04-14 23:55:37,485 - INFO - duration: 0.6982444300083444
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:56:07,222 - INFO - taking picture
MAIN: 2025-04-14 23:56:07,223 - INFO - we take 2092 photos in this while loop
MAIN: 2025-04-14 23:56:07,223 - INFO - /home/pi/Desktop/images/14042025/23/55/image_14042025_23_56_06_29767.jpg
MAIN: 2025-04-14 23:56:07,223 - INFO - duration: 0.6691350149922073
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:56:36,800 - INFO - taking picture
MAIN: 2025-04-14 23:56:36,801 - INFO - we take 2093 photos in this while loop
MAIN: 2025-04-14 23:56:36,801 - INFO - /home/pi/Desktop/images/14042025/23/56/image_14042025_23_56_36_29554.jpg
MAIN: 2025-04-14 23:56:36,801 - INFO - duration: 0.6919522630050778
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:57:06,607 - INFO - taking picture
MAIN: 2025-04-14 23:57:06,608 - INFO - we take 2094 photos in this while loop
MAIN: 2025-04-14 23:57:06,608 - INFO - /home/pi/Desktop/images/14042025/23/56/image_14042025_23_57_06_29813.jpg
MAIN: 2025-04-14 23:57:06,609 - INFO - duration: 0.68573081199429
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:57:37,576 - INFO - taking picture
MAIN: 2025-04-14 23:57:37,576 - INFO - we take 2095 photos in this while loop
MAIN: 2025-04-14 23:57:37,576 - INFO - /home/pi/Desktop/images/14042025/23/57/image_14042025_23_57_37_30955.jpg
MAIN: 2025-04-14 23:57:37,577 - INFO - duration: 0.6980960289947689
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:58:07,500 - INFO - taking picture
MAIN: 2025-04-14 23:58:07,500 - INFO - we take 2096 photos in this while loop
MAIN: 2025-04-14 23:58:07,500 - INFO - /home/pi/Desktop/images/14042025/23/57/image_14042025_23_58_07_29921.jpg
MAIN: 2025-04-14 23:58:07,501 - INFO - duration: 0.7008165570005076
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:58:37,197 - INFO - taking picture
MAIN: 2025-04-14 23:58:37,197 - INFO - we take 2097 photos in this while loop
MAIN: 2025-04-14 23:58:37,197 - INFO - /home/pi/Desktop/images/14042025/23/58/image_14042025_23_58_36_29691.jpg
MAIN: 2025-04-14 23:58:37,198 - INFO - duration: 0.7061589600052685
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:59:07,107 - INFO - taking picture
MAIN: 2025-04-14 23:59:07,108 - INFO - we take 2098 photos in this while loop
MAIN: 2025-04-14 23:59:07,108 - INFO - /home/pi/Desktop/images/14042025/23/58/image_14042025_23_59_06_29917.jpg
MAIN: 2025-04-14 23:59:07,108 - INFO - duration: 0.699395685995114
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=24 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-04-14 23:59:36,819 - INFO - taking picture
MAIN: 2025-04-14 23:59:36,820 - INFO - we take 2099 photos in this while loop
MAIN: 2025-04-14 23:59:36,820 - INFO - /home/pi/Desktop/images/14042025/23/59/image_14042025_23_59_36_29742.jpg
MAIN: 2025-04-14 23:59:36,820 - INFO - duration: 0.6691076709976187
