                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 06:30:37,347 - INFO - taking picture
MAIN: 2025-03-17 06:30:37,347 - INFO - we take 1 photos in this while loop
MAIN: 2025-03-17 06:30:37,348 - INFO - /home/pi/Desktop/images/17032025/06/30/image_17032025_06_30_36_30990.jpg
MAIN: 2025-03-17 06:30:37,348 - INFO - duration: 0.7817019269996308
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=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-03-17 06:31:07,296 - INFO - taking picture
MAIN: 2025-03-17 06:31:07,296 - INFO - we take 2 photos in this while loop
MAIN: 2025-03-17 06:31:07,296 - INFO - /home/pi/Desktop/images/17032025/06/30/image_17032025_06_31_06_30039.jpg
MAIN: 2025-03-17 06:31:07,297 - INFO - duration: 0.6915612499997223
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 06:31:37,027 - INFO - taking picture
MAIN: 2025-03-17 06:31:37,027 - INFO - we take 3 photos in this while loop
MAIN: 2025-03-17 06:31:37,027 - INFO - /home/pi/Desktop/images/17032025/06/31/image_17032025_06_31_36_29721.jpg
MAIN: 2025-03-17 06:31:37,028 - INFO - duration: 0.7009218749999491
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=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-03-17 06:32:07,194 - INFO - taking picture
MAIN: 2025-03-17 06:32:07,195 - INFO - we take 4 photos in this while loop
MAIN: 2025-03-17 06:32:07,195 - INFO - /home/pi/Desktop/images/17032025/06/31/image_17032025_06_32_06_30170.jpg
MAIN: 2025-03-17 06:32:07,195 - INFO - duration: 0.6977900520005278
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 06:32:37,069 - INFO - taking picture
MAIN: 2025-03-17 06:32:37,069 - INFO - we take 5 photos in this while loop
MAIN: 2025-03-17 06:32:37,070 - INFO - /home/pi/Desktop/images/17032025/06/32/image_17032025_06_32_36_29883.jpg
MAIN: 2025-03-17 06:32:37,070 - INFO - duration: 0.6891032290004659
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=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-03-17 06:33:07,251 - INFO - taking picture
MAIN: 2025-03-17 06:33:07,251 - INFO - we take 6 photos in this while loop
MAIN: 2025-03-17 06:33:07,251 - INFO - /home/pi/Desktop/images/17032025/06/32/image_17032025_06_33_06_30171.jpg
MAIN: 2025-03-17 06:33:07,252 - INFO - duration: 0.6994830209996508
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 06:33:36,998 - INFO - taking picture
MAIN: 2025-03-17 06:33:36,998 - INFO - we take 7 photos in this while loop
MAIN: 2025-03-17 06:33:36,999 - INFO - /home/pi/Desktop/images/17032025/06/33/image_17032025_06_33_36_29753.jpg
MAIN: 2025-03-17 06:33:36,999 - INFO - duration: 0.6926766670003417
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=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-03-17 06:34:07,330 - INFO - taking picture
MAIN: 2025-03-17 06:34:07,330 - INFO - we take 8 photos in this while loop
MAIN: 2025-03-17 06:34:07,331 - INFO - /home/pi/Desktop/images/17032025/06/33/image_17032025_06_34_06_30335.jpg
MAIN: 2025-03-17 06:34:07,331 - INFO - duration: 0.6888056239995421
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 06:34:36,969 - INFO - taking picture
MAIN: 2025-03-17 06:34:36,970 - INFO - we take 9 photos in this while loop
MAIN: 2025-03-17 06:34:36,970 - INFO - /home/pi/Desktop/images/17032025/06/34/image_17032025_06_34_36_29640.jpg
MAIN: 2025-03-17 06:34:36,970 - INFO - duration: 0.6879055730005348
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=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-03-17 06:35:06,987 - INFO - taking picture
MAIN: 2025-03-17 06:35:06,988 - INFO - we take 10 photos in this while loop
MAIN: 2025-03-17 06:35:06,988 - INFO - /home/pi/Desktop/images/17032025/06/34/image_17032025_06_35_06_30060.jpg
MAIN: 2025-03-17 06:35:06,988 - INFO - duration: 0.6448922920008044
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 06:35:36,700 - INFO - taking picture
MAIN: 2025-03-17 06:35:36,701 - INFO - we take 11 photos in this while loop
MAIN: 2025-03-17 06:35:36,701 - INFO - /home/pi/Desktop/images/17032025/06/35/image_17032025_06_35_36_29671.jpg
MAIN: 2025-03-17 06:35:36,701 - INFO - duration: 0.6859019270004865
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=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-03-17 06:36:06,726 - INFO - taking picture
MAIN: 2025-03-17 06:36:06,726 - INFO - we take 12 photos in this while loop
MAIN: 2025-03-17 06:36:06,727 - INFO - /home/pi/Desktop/images/17032025/06/35/image_17032025_06_36_06_30027.jpg
MAIN: 2025-03-17 06:36:06,727 - INFO - duration: 0.684163541000089
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 06:36:36,459 - INFO - taking picture
MAIN: 2025-03-17 06:36:36,459 - INFO - we take 13 photos in this while loop
MAIN: 2025-03-17 06:36:36,459 - INFO - /home/pi/Desktop/images/17032025/06/36/image_17032025_06_36_36_29722.jpg
MAIN: 2025-03-17 06:36:36,460 - INFO - duration: 0.6948086449992843
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=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-03-17 06:37:06,577 - INFO - taking picture
MAIN: 2025-03-17 06:37:06,578 - INFO - we take 14 photos in this while loop
MAIN: 2025-03-17 06:37:06,578 - INFO - /home/pi/Desktop/images/17032025/06/36/image_17032025_06_37_06_30133.jpg
MAIN: 2025-03-17 06:37:06,578 - INFO - duration: 0.6801729170001636
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 06:37:36,288 - INFO - taking picture
MAIN: 2025-03-17 06:37:36,289 - INFO - we take 15 photos in this while loop
MAIN: 2025-03-17 06:37:36,289 - INFO - /home/pi/Desktop/images/17032025/06/37/image_17032025_06_37_35_29721.jpg
MAIN: 2025-03-17 06:37:36,289 - INFO - duration: 0.6698783850006294
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=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-03-17 06:38:06,681 - INFO - taking picture
MAIN: 2025-03-17 06:38:06,681 - INFO - we take 16 photos in this while loop
MAIN: 2025-03-17 06:38:06,682 - INFO - /home/pi/Desktop/images/17032025/06/37/image_17032025_06_38_06_30365.jpg
MAIN: 2025-03-17 06:38:06,682 - INFO - duration: 0.6972211980000793
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 06:38:37,468 - INFO - taking picture
MAIN: 2025-03-17 06:38:37,469 - INFO - we take 17 photos in this while loop
MAIN: 2025-03-17 06:38:37,469 - INFO - /home/pi/Desktop/images/17032025/06/38/image_17032025_06_38_37_30850.jpg
MAIN: 2025-03-17 06:38:37,469 - INFO - duration: 0.633685572000104
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=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-03-17 06:39:07,284 - INFO - taking picture
MAIN: 2025-03-17 06:39:07,285 - INFO - we take 18 photos in this while loop
MAIN: 2025-03-17 06:39:07,285 - INFO - /home/pi/Desktop/images/17032025/06/38/image_17032025_06_39_06_29810.jpg
MAIN: 2025-03-17 06:39:07,285 - INFO - duration: 0.6394156770002155
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 06:39:37,077 - INFO - taking picture
MAIN: 2025-03-17 06:39:37,078 - INFO - we take 19 photos in this while loop
MAIN: 2025-03-17 06:39:37,078 - INFO - /home/pi/Desktop/images/17032025/06/39/image_17032025_06_39_36_29786.jpg
MAIN: 2025-03-17 06:39:37,078 - INFO - duration: 0.6465090620004048
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=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-03-17 06:40:06,307 - INFO - taking picture
MAIN: 2025-03-17 06:40:06,307 - INFO - we take 20 photos in this while loop
MAIN: 2025-03-17 06:40:06,308 - INFO - /home/pi/Desktop/images/17032025/06/39/image_17032025_06_40_05_29162.jpg
MAIN: 2025-03-17 06:40:06,308 - INFO - duration: 0.7139215619999959
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 06:40:37,192 - INFO - taking picture
MAIN: 2025-03-17 06:40:37,193 - INFO - we take 21 photos in this while loop
MAIN: 2025-03-17 06:40:37,193 - INFO - /home/pi/Desktop/images/17032025/06/40/image_17032025_06_40_36_30940.jpg
MAIN: 2025-03-17 06:40:37,193 - INFO - duration: 0.6585150519995295
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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=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-03-17 06:41:07,257 - INFO - taking picture
MAIN: 2025-03-17 06:41:07,258 - INFO - we take 22 photos in this while loop
MAIN: 2025-03-17 06:41:07,258 - INFO - /home/pi/Desktop/images/17032025/06/40/image_17032025_06_41_06_30032.jpg
MAIN: 2025-03-17 06:41:07,258 - INFO - duration: 0.6909663019996515
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 06:41:36,872 - INFO - taking picture
MAIN: 2025-03-17 06:41:36,872 - INFO - we take 23 photos in this while loop
MAIN: 2025-03-17 06:41:36,873 - INFO - /home/pi/Desktop/images/17032025/06/41/image_17032025_06_41_36_29676.jpg
MAIN: 2025-03-17 06:41:36,873 - INFO - duration: 0.6294133849996797
Corrupt JPEG data: premature end of data segment
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=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-03-17 06:42:06,923 - INFO - taking picture
MAIN: 2025-03-17 06:42:06,924 - INFO - we take 24 photos in this while loop
MAIN: 2025-03-17 06:42:06,924 - INFO - /home/pi/Desktop/images/17032025/06/41/image_17032025_06_42_06_30009.jpg
MAIN: 2025-03-17 06:42:06,924 - INFO - duration: 0.6710858329997791
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 06:42:36,577 - INFO - taking picture
MAIN: 2025-03-17 06:42:36,578 - INFO - we take 25 photos in this while loop
MAIN: 2025-03-17 06:42:36,578 - INFO - /home/pi/Desktop/images/17032025/06/42/image_17032025_06_42_36_29635.jpg
MAIN: 2025-03-17 06:42:36,578 - INFO - duration: 0.6893981770008395
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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=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-03-17 06:43:06,627 - INFO - taking picture
MAIN: 2025-03-17 06:43:06,627 - INFO - we take 26 photos in this while loop
MAIN: 2025-03-17 06:43:06,627 - INFO - /home/pi/Desktop/images/17032025/06/42/image_17032025_06_43_06_30075.jpg
MAIN: 2025-03-17 06:43:06,628 - INFO - duration: 0.6637688540004092
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 06:43:36,325 - INFO - taking picture
MAIN: 2025-03-17 06:43:36,326 - INFO - we take 27 photos in this while loop
MAIN: 2025-03-17 06:43:36,326 - INFO - /home/pi/Desktop/images/17032025/06/43/image_17032025_06_43_35_29668.jpg
MAIN: 2025-03-17 06:43:36,326 - INFO - duration: 0.6938253119997171
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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=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-03-17 06:44:06,423 - INFO - taking picture
MAIN: 2025-03-17 06:44:06,424 - INFO - we take 28 photos in this while loop
MAIN: 2025-03-17 06:44:06,424 - INFO - /home/pi/Desktop/images/17032025/06/43/image_17032025_06_44_06_30119.jpg
MAIN: 2025-03-17 06:44:06,424 - INFO - duration: 0.67264640600024
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 06:44:37,534 - INFO - taking picture
MAIN: 2025-03-17 06:44:37,534 - INFO - we take 29 photos in this while loop
MAIN: 2025-03-17 06:44:37,535 - INFO - /home/pi/Desktop/images/17032025/06/44/image_17032025_06_44_37_31090.jpg
MAIN: 2025-03-17 06:44:37,535 - INFO - duration: 0.6924405210002078
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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=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-03-17 06:45:06,605 - INFO - taking picture
MAIN: 2025-03-17 06:45:06,605 - INFO - we take 30 photos in this while loop
MAIN: 2025-03-17 06:45:06,605 - INFO - /home/pi/Desktop/images/17032025/06/44/image_17032025_06_45_06_29072.jpg
MAIN: 2025-03-17 06:45:06,606 - INFO - duration: 0.6910140620002494
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 06:45:37,523 - INFO - taking picture
MAIN: 2025-03-17 06:45:37,524 - INFO - we take 31 photos in this while loop
MAIN: 2025-03-17 06:45:37,524 - INFO - /home/pi/Desktop/images/17032025/06/45/image_17032025_06_45_37_30926.jpg
MAIN: 2025-03-17 06:45:37,524 - INFO - duration: 0.6830059889998665
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=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-03-17 06:46:06,381 - INFO - taking picture
MAIN: 2025-03-17 06:46:06,382 - INFO - we take 32 photos in this while loop
MAIN: 2025-03-17 06:46:06,382 - INFO - /home/pi/Desktop/images/17032025/06/45/image_17032025_06_46_06_28848.jpg
MAIN: 2025-03-17 06:46:06,382 - INFO - duration: 0.6930059370006347
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 06:46:37,282 - INFO - taking picture
MAIN: 2025-03-17 06:46:37,283 - INFO - we take 33 photos in this while loop
MAIN: 2025-03-17 06:46:37,283 - INFO - /home/pi/Desktop/images/17032025/06/46/image_17032025_06_46_36_30908.jpg
MAIN: 2025-03-17 06:46:37,283 - INFO - duration: 0.6850010939997446
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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=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-03-17 06:47:07,288 - INFO - taking picture
MAIN: 2025-03-17 06:47:07,288 - INFO - we take 34 photos in this while loop
MAIN: 2025-03-17 06:47:07,288 - INFO - /home/pi/Desktop/images/17032025/06/46/image_17032025_06_47_06_30024.jpg
MAIN: 2025-03-17 06:47:07,289 - INFO - duration: 0.6663054170003306
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 06:47:36,980 - INFO - taking picture
MAIN: 2025-03-17 06:47:36,981 - INFO - we take 35 photos in this while loop
MAIN: 2025-03-17 06:47:36,981 - INFO - /home/pi/Desktop/images/17032025/06/47/image_17032025_06_47_36_29669.jpg
MAIN: 2025-03-17 06:47:36,981 - INFO - duration: 0.6895218230001774
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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=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-03-17 06:48:07,041 - INFO - taking picture
MAIN: 2025-03-17 06:48:07,041 - INFO - we take 36 photos in this while loop
MAIN: 2025-03-17 06:48:07,042 - INFO - /home/pi/Desktop/images/17032025/06/47/image_17032025_06_48_06_30073.jpg
MAIN: 2025-03-17 06:48:07,042 - INFO - duration: 0.6768112500012649
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 06:48:36,655 - INFO - taking picture
MAIN: 2025-03-17 06:48:36,655 - INFO - we take 37 photos in this while loop
MAIN: 2025-03-17 06:48:36,656 - INFO - /home/pi/Desktop/images/17032025/06/48/image_17032025_06_48_36_29603.jpg
MAIN: 2025-03-17 06:48:36,656 - INFO - duration: 0.6871556770001916
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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=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-03-17 06:49:06,787 - INFO - taking picture
MAIN: 2025-03-17 06:49:06,787 - INFO - we take 38 photos in this while loop
MAIN: 2025-03-17 06:49:06,787 - INFO - /home/pi/Desktop/images/17032025/06/48/image_17032025_06_49_06_30130.jpg
MAIN: 2025-03-17 06:49:06,788 - INFO - duration: 0.6885758330008684
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 06:49:36,488 - INFO - taking picture
MAIN: 2025-03-17 06:49:36,489 - INFO - we take 39 photos in this while loop
MAIN: 2025-03-17 06:49:36,489 - INFO - /home/pi/Desktop/images/17032025/06/49/image_17032025_06_49_36_29693.jpg
MAIN: 2025-03-17 06:49:36,489 - INFO - duration: 0.6969062500011205
Corrupt JPEG data: premature end of data segment
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=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-03-17 06:50:07,104 - INFO - taking picture
MAIN: 2025-03-17 06:50:07,105 - INFO - we take 40 photos in this while loop
MAIN: 2025-03-17 06:50:07,105 - INFO - /home/pi/Desktop/images/17032025/06/49/image_17032025_06_50_06_30636.jpg
MAIN: 2025-03-17 06:50:07,105 - INFO - duration: 0.6764058849985304
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 06:50:36,621 - INFO - taking picture
MAIN: 2025-03-17 06:50:36,622 - INFO - we take 41 photos in this while loop
MAIN: 2025-03-17 06:50:36,622 - INFO - /home/pi/Desktop/images/17032025/06/50/image_17032025_06_50_36_29503.jpg
MAIN: 2025-03-17 06:50:36,622 - INFO - duration: 0.6899769789997663
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=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-03-17 06:51:06,542 - INFO - taking picture
MAIN: 2025-03-17 06:51:06,542 - INFO - we take 42 photos in this while loop
MAIN: 2025-03-17 06:51:06,542 - INFO - /home/pi/Desktop/images/17032025/06/50/image_17032025_06_51_06_29935.jpg
MAIN: 2025-03-17 06:51:06,543 - INFO - duration: 0.6745152080002299
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 06:51:37,422 - INFO - taking picture
MAIN: 2025-03-17 06:51:37,422 - INFO - we take 43 photos in this while loop
MAIN: 2025-03-17 06:51:37,422 - INFO - /home/pi/Desktop/images/17032025/06/51/image_17032025_06_51_37_30921.jpg
MAIN: 2025-03-17 06:51:37,423 - INFO - duration: 0.6326903120007046
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=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-03-17 06:52:06,491 - INFO - taking picture
MAIN: 2025-03-17 06:52:06,492 - INFO - we take 44 photos in this while loop
MAIN: 2025-03-17 06:52:06,492 - INFO - /home/pi/Desktop/images/17032025/06/51/image_17032025_06_52_06_29005.jpg
MAIN: 2025-03-17 06:52:06,492 - INFO - duration: 0.6965254170008848
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 06:52:37,311 - INFO - taking picture
MAIN: 2025-03-17 06:52:37,311 - INFO - we take 45 photos in this while loop
MAIN: 2025-03-17 06:52:37,312 - INFO - /home/pi/Desktop/images/17032025/06/52/image_17032025_06_52_36_30883.jpg
MAIN: 2025-03-17 06:52:37,312 - INFO - duration: 0.6333450000001903
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=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-03-17 06:53:07,326 - INFO - taking picture
MAIN: 2025-03-17 06:53:07,327 - INFO - we take 46 photos in this while loop
MAIN: 2025-03-17 06:53:07,327 - INFO - /home/pi/Desktop/images/17032025/06/52/image_17032025_06_53_06_29985.jpg
MAIN: 2025-03-17 06:53:07,327 - INFO - duration: 0.6631925519996003
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 06:53:37,025 - INFO - taking picture
MAIN: 2025-03-17 06:53:37,026 - INFO - we take 47 photos in this while loop
MAIN: 2025-03-17 06:53:37,026 - INFO - /home/pi/Desktop/images/17032025/06/53/image_17032025_06_53_36_29729.jpg
MAIN: 2025-03-17 06:53:37,026 - INFO - duration: 0.63314807200004
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=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-03-17 06:54:07,234 - INFO - taking picture
MAIN: 2025-03-17 06:54:07,235 - INFO - we take 48 photos in this while loop
MAIN: 2025-03-17 06:54:07,235 - INFO - /home/pi/Desktop/images/17032025/06/53/image_17032025_06_54_06_30170.jpg
MAIN: 2025-03-17 06:54:07,235 - INFO - duration: 0.6722858850007469
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 06:54:36,982 - INFO - taking picture
MAIN: 2025-03-17 06:54:36,983 - INFO - we take 49 photos in this while loop
MAIN: 2025-03-17 06:54:36,983 - INFO - /home/pi/Desktop/images/17032025/06/54/image_17032025_06_54_36_29765.jpg
MAIN: 2025-03-17 06:54:36,983 - INFO - duration: 0.6548221360008029
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=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-03-17 06:55:07,255 - INFO - taking picture
MAIN: 2025-03-17 06:55:07,256 - INFO - we take 50 photos in this while loop
MAIN: 2025-03-17 06:55:07,257 - INFO - /home/pi/Desktop/images/17032025/06/54/image_17032025_06_55_06_30254.jpg
MAIN: 2025-03-17 06:55:07,257 - INFO - duration: 0.6740816140008974
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 06:55:36,796 - INFO - taking picture
MAIN: 2025-03-17 06:55:36,797 - INFO - we take 51 photos in this while loop
MAIN: 2025-03-17 06:55:36,797 - INFO - /home/pi/Desktop/images/17032025/06/55/image_17032025_06_55_36_29538.jpg
MAIN: 2025-03-17 06:55:36,797 - INFO - duration: 0.6751279689997318
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=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-03-17 06:56:06,903 - INFO - taking picture
MAIN: 2025-03-17 06:56:06,903 - INFO - we take 52 photos in this while loop
MAIN: 2025-03-17 06:56:06,904 - INFO - /home/pi/Desktop/images/17032025/06/55/image_17032025_06_56_06_30097.jpg
MAIN: 2025-03-17 06:56:06,904 - INFO - duration: 0.6843776040004741
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 06:56:36,579 - INFO - taking picture
MAIN: 2025-03-17 06:56:36,580 - INFO - we take 53 photos in this while loop
MAIN: 2025-03-17 06:56:36,580 - INFO - /home/pi/Desktop/images/17032025/06/56/image_17032025_06_56_36_29678.jpg
MAIN: 2025-03-17 06:56:36,580 - INFO - duration: 0.6822267710012966
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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=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-03-17 06:57:06,636 - INFO - taking picture
MAIN: 2025-03-17 06:57:06,637 - INFO - we take 54 photos in this while loop
MAIN: 2025-03-17 06:57:06,637 - INFO - /home/pi/Desktop/images/17032025/06/56/image_17032025_06_57_06_30069.jpg
MAIN: 2025-03-17 06:57:06,637 - INFO - duration: 0.6701486459987791
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 06:57:37,504 - INFO - taking picture
MAIN: 2025-03-17 06:57:37,504 - INFO - we take 55 photos in this while loop
MAIN: 2025-03-17 06:57:37,505 - INFO - /home/pi/Desktop/images/17032025/06/57/image_17032025_06_57_37_30847.jpg
MAIN: 2025-03-17 06:57:37,505 - INFO - duration: 0.6902417709989095
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=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-03-17 06:58:06,528 - INFO - taking picture
MAIN: 2025-03-17 06:58:06,529 - INFO - we take 56 photos in this while loop
MAIN: 2025-03-17 06:58:06,529 - INFO - /home/pi/Desktop/images/17032025/06/57/image_17032025_06_58_06_29030.jpg
MAIN: 2025-03-17 06:58:06,529 - INFO - duration: 0.6848859370002174
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 06:58:36,283 - INFO - taking picture
MAIN: 2025-03-17 06:58:36,283 - INFO - we take 57 photos in this while loop
MAIN: 2025-03-17 06:58:36,283 - INFO - /home/pi/Desktop/images/17032025/06/58/image_17032025_06_58_35_29743.jpg
MAIN: 2025-03-17 06:58:36,284 - INFO - duration: 0.6955089580005733
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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=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-03-17 06:59:06,374 - INFO - taking picture
MAIN: 2025-03-17 06:59:06,374 - INFO - we take 58 photos in this while loop
MAIN: 2025-03-17 06:59:06,375 - INFO - /home/pi/Desktop/images/17032025/06/58/image_17032025_06_59_05_30097.jpg
MAIN: 2025-03-17 06:59:06,375 - INFO - duration: 0.6890749479989609
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 06:59:37,388 - INFO - taking picture
MAIN: 2025-03-17 06:59:37,388 - INFO - we take 59 photos in this while loop
MAIN: 2025-03-17 06:59:37,389 - INFO - /home/pi/Desktop/images/17032025/06/59/image_17032025_06_59_37_31002.jpg
MAIN: 2025-03-17 06:59:37,389 - INFO - duration: 0.7002281240002048
[ WARN:0] global /tmp/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-03-17 07:00:06,409 - INFO - taking picture
MAIN: 2025-03-17 07:00:06,410 - INFO - we take 60 photos in this while loop
MAIN: 2025-03-17 07:00:06,410 - INFO - /home/pi/Desktop/images/17032025/06/59/image_17032025_07_00_06_29017.jpg
MAIN: 2025-03-17 07:00:06,411 - INFO - duration: 0.7048023429997556
MAIN: 2025-03-17 07:00:06,411 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/07/00'
MAIN: 2025-03-17 07:00:06,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:00:37,268 - INFO - taking picture
MAIN: 2025-03-17 07:00:37,269 - INFO - we take 61 photos in this while loop
MAIN: 2025-03-17 07:00:37,269 - INFO - /home/pi/Desktop/images/17032025/07/00/image_17032025_07_00_36_30869.jpg
MAIN: 2025-03-17 07:00:37,269 - INFO - duration: 0.6936501039999712
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 07:01: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-03-17 07:01:07,270 - INFO - taking picture
MAIN: 2025-03-17 07:01:07,270 - INFO - we take 62 photos in this while loop
MAIN: 2025-03-17 07:01:07,271 - INFO - /home/pi/Desktop/images/17032025/07/00/image_17032025_07_01_06_30060.jpg
MAIN: 2025-03-17 07:01:07,271 - INFO - duration: 0.6347252080013277
MAIN: 2025-03-17 07:01:07,271 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/07/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=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-03-17 07:01:36,937 - INFO - taking picture
MAIN: 2025-03-17 07:01:36,938 - INFO - we take 63 photos in this while loop
MAIN: 2025-03-17 07:01:36,938 - INFO - /home/pi/Desktop/images/17032025/07/01/image_17032025_07_01_36_29606.jpg
MAIN: 2025-03-17 07:01:36,938 - INFO - duration: 0.6952008329990349
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 07:02:05,663 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:02:07,137 - INFO - taking picture
MAIN: 2025-03-17 07:02:07,138 - INFO - we take 64 photos in this while loop
MAIN: 2025-03-17 07:02:07,138 - INFO - /home/pi/Desktop/images/17032025/07/01/image_17032025_07_02_06_30188.jpg
MAIN: 2025-03-17 07:02:07,138 - INFO - duration: 0.707248801998503
MAIN: 2025-03-17 07:02:07,139 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/07/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=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-03-17 07:02:36,736 - INFO - taking picture
MAIN: 2025-03-17 07:02:36,736 - INFO - we take 65 photos in this while loop
MAIN: 2025-03-17 07:02:36,737 - INFO - /home/pi/Desktop/images/17032025/07/02/image_17032025_07_02_36_29617.jpg
MAIN: 2025-03-17 07:02:36,737 - INFO - duration: 0.6886374480000086
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 07:03:05,808 - INFO - 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-03-17 07:03:06,671 - INFO - taking picture
MAIN: 2025-03-17 07:03:06,671 - INFO - we take 66 photos in this while loop
MAIN: 2025-03-17 07:03:06,672 - INFO - /home/pi/Desktop/images/17032025/07/02/image_17032025_07_03_06_29984.jpg
MAIN: 2025-03-17 07:03:06,672 - INFO - duration: 0.6387021350001305
MAIN: 2025-03-17 07:03:06,672 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/07/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=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-03-17 07:03:36,407 - INFO - taking picture
MAIN: 2025-03-17 07:03:36,408 - INFO - we take 67 photos in this while loop
MAIN: 2025-03-17 07:03:36,408 - INFO - /home/pi/Desktop/images/17032025/07/03/image_17032025_07_03_36_29684.jpg
MAIN: 2025-03-17 07:03:36,408 - INFO - duration: 0.690586770999289
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-03-17 07:04:06,238 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:04:06,786 - INFO - taking picture
MAIN: 2025-03-17 07:04:06,787 - INFO - we take 68 photos in this while loop
MAIN: 2025-03-17 07:04:06,787 - INFO - /home/pi/Desktop/images/17032025/07/03/image_17032025_07_04_06_30368.jpg
MAIN: 2025-03-17 07:04:06,787 - INFO - duration: 0.7012091140004486
MAIN: 2025-03-17 07:04:06,788 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/07/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:04:36,275 - INFO - taking picture
MAIN: 2025-03-17 07:04:36,276 - INFO - we take 69 photos in this while loop
MAIN: 2025-03-17 07:04:36,276 - INFO - /home/pi/Desktop/images/17032025/07/04/image_17032025_07_04_35_29520.jpg
MAIN: 2025-03-17 07:04:36,276 - INFO - duration: 0.6691173950002849
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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=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-03-17 07:05:06,638 - INFO - taking picture
MAIN: 2025-03-17 07:05:06,639 - INFO - we take 70 photos in this while loop
MAIN: 2025-03-17 07:05:06,639 - INFO - /home/pi/Desktop/images/17032025/07/04/image_17032025_07_05_06_30339.jpg
MAIN: 2025-03-17 07:05:06,639 - INFO - duration: 0.6932865100006893
MAIN: 2025-03-17 07:05:06,640 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/07/05'
MAIN: 2025-03-17 07:05:06,871 - INFO - 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=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-03-17 07:05:37,465 - INFO - taking picture
MAIN: 2025-03-17 07:05:37,466 - INFO - we take 71 photos in this while loop
MAIN: 2025-03-17 07:05:37,466 - INFO - /home/pi/Desktop/images/17032025/07/05/image_17032025_07_05_37_30846.jpg
MAIN: 2025-03-17 07:05:37,466 - INFO - duration: 0.6736015100013901
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 07:06:06,672 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:06:07,403 - INFO - taking picture
MAIN: 2025-03-17 07:06:07,404 - INFO - we take 72 photos in this while loop
MAIN: 2025-03-17 07:06:07,404 - INFO - /home/pi/Desktop/images/17032025/07/05/image_17032025_07_06_06_29927.jpg
MAIN: 2025-03-17 07:06:07,404 - INFO - duration: 0.6845843230003084
MAIN: 2025-03-17 07:06:07,405 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/07/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=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-03-17 07:06:37,124 - INFO - taking picture
MAIN: 2025-03-17 07:06:37,125 - INFO - we take 73 photos in this while loop
MAIN: 2025-03-17 07:06:37,125 - INFO - /home/pi/Desktop/images/17032025/07/06/image_17032025_07_06_36_29765.jpg
MAIN: 2025-03-17 07:06:37,125 - INFO - duration: 0.6403956769991055
Corrupt JPEG data: premature end of data segment
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-03-17 07:07: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:07:07,364 - INFO - taking picture
MAIN: 2025-03-17 07:07:07,365 - INFO - we take 74 photos in this while loop
MAIN: 2025-03-17 07:07:07,365 - INFO - /home/pi/Desktop/images/17032025/07/06/image_17032025_07_07_06_30182.jpg
MAIN: 2025-03-17 07:07:07,365 - INFO - duration: 0.6981083860009676
MAIN: 2025-03-17 07:07:07,366 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 07:07:36,921 - INFO - taking picture
MAIN: 2025-03-17 07:07:36,922 - INFO - we take 75 photos in this while loop
MAIN: 2025-03-17 07:07:36,922 - INFO - /home/pi/Desktop/images/17032025/07/07/image_17032025_07_07_36_29615.jpg
MAIN: 2025-03-17 07:07:36,922 - INFO - duration: 0.6393712499993853
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 07:08: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=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-03-17 07:08:06,809 - INFO - taking picture
MAIN: 2025-03-17 07:08:06,810 - INFO - we take 76 photos in this while loop
MAIN: 2025-03-17 07:08:06,810 - INFO - /home/pi/Desktop/images/17032025/07/07/image_17032025_07_08_06_29884.jpg
MAIN: 2025-03-17 07:08:06,811 - INFO - duration: 0.6425528649997432
MAIN: 2025-03-17 07:08:06,811 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:08:36,538 - INFO - taking picture
MAIN: 2025-03-17 07:08:36,538 - INFO - we take 77 photos in this while loop
MAIN: 2025-03-17 07:08:36,539 - INFO - /home/pi/Desktop/images/17032025/07/08/image_17032025_07_08_36_29702.jpg
MAIN: 2025-03-17 07:08:36,539 - INFO - duration: 0.6679203639996558
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 07: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=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-03-17 07:09:06,465 - INFO - taking picture
MAIN: 2025-03-17 07:09:06,466 - INFO - we take 78 photos in this while loop
MAIN: 2025-03-17 07:09:06,466 - INFO - /home/pi/Desktop/images/17032025/07/08/image_17032025_07_09_06_29897.jpg
MAIN: 2025-03-17 07:09:06,466 - INFO - duration: 0.6979003640008159
MAIN: 2025-03-17 07:09:06,467 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:09:37,470 - INFO - taking picture
MAIN: 2025-03-17 07:09:37,470 - INFO - we take 79 photos in this while loop
MAIN: 2025-03-17 07:09:37,470 - INFO - /home/pi/Desktop/images/17032025/07/09/image_17032025_07_09_37_31006.jpg
MAIN: 2025-03-17 07:09:37,471 - INFO - duration: 0.6954911450011423
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:10:06,509 - INFO - taking picture
MAIN: 2025-03-17 07:10:06,510 - INFO - we take 80 photos in this while loop
MAIN: 2025-03-17 07:10:06,511 - INFO - /home/pi/Desktop/images/17032025/07/09/image_17032025_07_10_06_29040.jpg
MAIN: 2025-03-17 07:10:06,511 - INFO - duration: 0.6947652079998079
MAIN: 2025-03-17 07:10:06,511 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/07/10'
MAIN: 2025-03-17 07:10:07,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=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-03-17 07:10:36,342 - INFO - taking picture
MAIN: 2025-03-17 07:10:36,343 - INFO - we take 81 photos in this while loop
MAIN: 2025-03-17 07:10:36,343 - INFO - /home/pi/Desktop/images/17032025/07/10/image_17032025_07_10_35_29822.jpg
MAIN: 2025-03-17 07:10:36,343 - INFO - duration: 0.7045238539994898
[ WARN:0] global /tmp/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-03-17 07:11:06,453 - INFO - taking picture
MAIN: 2025-03-17 07:11:06,454 - INFO - we take 82 photos in this while loop
MAIN: 2025-03-17 07:11:06,454 - INFO - /home/pi/Desktop/images/17032025/07/10/image_17032025_07_11_06_30129.jpg
MAIN: 2025-03-17 07:11:06,454 - INFO - duration: 0.6857836460003455
MAIN: 2025-03-17 07:11:06,454 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/07/11'
MAIN: 2025-03-17 07:11: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:11:37,524 - INFO - taking picture
MAIN: 2025-03-17 07:11:37,524 - INFO - we take 83 photos in this while loop
MAIN: 2025-03-17 07:11:37,524 - INFO - /home/pi/Desktop/images/17032025/07/11/image_17032025_07_11_37_31069.jpg
MAIN: 2025-03-17 07:11:37,525 - INFO - duration: 0.6866884889986977
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 07:12: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=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-03-17 07:12:06,352 - INFO - taking picture
MAIN: 2025-03-17 07:12:06,353 - INFO - we take 84 photos in this while loop
MAIN: 2025-03-17 07:12:06,353 - INFO - /home/pi/Desktop/images/17032025/07/11/image_17032025_07_12_05_28799.jpg
MAIN: 2025-03-17 07:12:06,353 - INFO - duration: 0.7160912489998736
MAIN: 2025-03-17 07:12:06,354 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/07/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=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-03-17 07:12:37,211 - INFO - taking picture
MAIN: 2025-03-17 07:12:37,212 - INFO - we take 85 photos in this while loop
MAIN: 2025-03-17 07:12:37,212 - INFO - /home/pi/Desktop/images/17032025/07/12/image_17032025_07_12_36_30885.jpg
MAIN: 2025-03-17 07:12:37,212 - INFO - duration: 0.6896720830009144
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-03-17 07:13:06,077 - INFO - 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-03-17 07:13:07,287 - INFO - taking picture
MAIN: 2025-03-17 07:13:07,287 - INFO - we take 86 photos in this while loop
MAIN: 2025-03-17 07:13:07,288 - INFO - /home/pi/Desktop/images/17032025/07/12/image_17032025_07_13_06_30100.jpg
MAIN: 2025-03-17 07:13:07,288 - INFO - duration: 0.664343906000795
MAIN: 2025-03-17 07:13:07,288 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:13:37,025 - INFO - taking picture
MAIN: 2025-03-17 07:13:37,026 - INFO - we take 87 photos in this while loop
MAIN: 2025-03-17 07:13:37,026 - INFO - /home/pi/Desktop/images/17032025/07/13/image_17032025_07_13_36_29719.jpg
MAIN: 2025-03-17 07:13:37,026 - INFO - duration: 0.6836798439999257
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 07:14: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:14:06,982 - INFO - taking picture
MAIN: 2025-03-17 07:14:06,983 - INFO - we take 88 photos in this while loop
MAIN: 2025-03-17 07:14:06,983 - INFO - /home/pi/Desktop/images/17032025/07/13/image_17032025_07_14_06_29946.jpg
MAIN: 2025-03-17 07:14:06,983 - INFO - duration: 0.6940086450013041
MAIN: 2025-03-17 07:14:06,984 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 07:14:36,831 - INFO - taking picture
MAIN: 2025-03-17 07:14:36,831 - INFO - we take 89 photos in this while loop
MAIN: 2025-03-17 07:14:36,831 - INFO - /home/pi/Desktop/images/17032025/07/14/image_17032025_07_14_36_29847.jpg
MAIN: 2025-03-17 07:14:36,831 - INFO - duration: 0.6952616149992537
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 07:15:06,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:15:07,063 - INFO - taking picture
MAIN: 2025-03-17 07:15:07,064 - INFO - we take 90 photos in this while loop
MAIN: 2025-03-17 07:15:07,064 - INFO - /home/pi/Desktop/images/17032025/07/14/image_17032025_07_15_06_30227.jpg
MAIN: 2025-03-17 07:15:07,064 - INFO - duration: 0.7010345309990953
MAIN: 2025-03-17 07:15:07,065 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:15:36,772 - INFO - taking picture
MAIN: 2025-03-17 07:15:36,773 - INFO - we take 91 photos in this while loop
MAIN: 2025-03-17 07:15:36,773 - INFO - /home/pi/Desktop/images/17032025/07/15/image_17032025_07_15_36_29717.jpg
MAIN: 2025-03-17 07:15:36,773 - INFO - duration: 0.692485833000319
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 07:16:06,840 - INFO - 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-03-17 07:16:07,028 - INFO - taking picture
MAIN: 2025-03-17 07:16:07,029 - INFO - we take 92 photos in this while loop
MAIN: 2025-03-17 07:16:07,029 - INFO - /home/pi/Desktop/images/17032025/07/15/image_17032025_07_16_06_30234.jpg
MAIN: 2025-03-17 07:16:07,029 - INFO - duration: 0.7139599990005081
MAIN: 2025-03-17 07:16:07,030 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/07/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:16:36,660 - INFO - taking picture
MAIN: 2025-03-17 07:16:36,661 - INFO - we take 93 photos in this while loop
MAIN: 2025-03-17 07:16:36,661 - INFO - /home/pi/Desktop/images/17032025/07/16/image_17032025_07_16_36_29663.jpg
MAIN: 2025-03-17 07:16:36,661 - INFO - duration: 0.6824885930000164
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-03-17 07:17:06,609 - INFO - 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-03-17 07:17:06,888 - INFO - taking picture
MAIN: 2025-03-17 07:17:06,889 - INFO - we take 94 photos in this while loop
MAIN: 2025-03-17 07:17:06,889 - INFO - /home/pi/Desktop/images/17032025/07/16/image_17032025_07_17_06_30216.jpg
MAIN: 2025-03-17 07:17:06,889 - INFO - duration: 0.6935231769984966
MAIN: 2025-03-17 07:17:06,890 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:17:36,433 - INFO - taking picture
MAIN: 2025-03-17 07:17:36,433 - INFO - we take 95 photos in this while loop
MAIN: 2025-03-17 07:17:36,433 - INFO - /home/pi/Desktop/images/17032025/07/17/image_17032025_07_17_36_29550.jpg
MAIN: 2025-03-17 07:17:36,434 - INFO - duration: 0.6872557810002036
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 07:18:06,151 - INFO - 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-03-17 07:18:06,478 - INFO - taking picture
MAIN: 2025-03-17 07:18:06,478 - INFO - we take 96 photos in this while loop
MAIN: 2025-03-17 07:18:06,479 - INFO - /home/pi/Desktop/images/17032025/07/17/image_17032025_07_18_06_30036.jpg
MAIN: 2025-03-17 07:18:06,479 - INFO - duration: 0.6956932810007856
MAIN: 2025-03-17 07:18:06,479 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:18:37,365 - INFO - taking picture
MAIN: 2025-03-17 07:18:37,366 - INFO - we take 97 photos in this while loop
MAIN: 2025-03-17 07:18:37,366 - INFO - /home/pi/Desktop/images/17032025/07/18/image_17032025_07_18_36_30943.jpg
MAIN: 2025-03-17 07:18:37,366 - INFO - duration: 0.6401780729993334
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-03-17 07:19:05,763 - INFO - 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-03-17 07:19:07,495 - INFO - taking picture
MAIN: 2025-03-17 07:19:07,495 - INFO - we take 98 photos in this while loop
MAIN: 2025-03-17 07:19:07,495 - INFO - /home/pi/Desktop/images/17032025/07/18/image_17032025_07_19_07_30100.jpg
MAIN: 2025-03-17 07:19:07,496 - INFO - duration: 0.668652968999595
MAIN: 2025-03-17 07:19:07,496 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:19:37,133 - INFO - taking picture
MAIN: 2025-03-17 07:19:37,134 - INFO - we take 99 photos in this while loop
MAIN: 2025-03-17 07:19:37,134 - INFO - /home/pi/Desktop/images/17032025/07/19/image_17032025_07_19_36_29666.jpg
MAIN: 2025-03-17 07:19:37,134 - INFO - duration: 0.6400804679997236
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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=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-03-17 07:20:06,292 - INFO - taking picture
MAIN: 2025-03-17 07:20:06,293 - INFO - we take 100 photos in this while loop
MAIN: 2025-03-17 07:20:06,293 - INFO - /home/pi/Desktop/images/17032025/07/19/image_17032025_07_20_05_29127.jpg
MAIN: 2025-03-17 07:20:06,293 - INFO - duration: 0.6720119270012219
MAIN: 2025-03-17 07:20:06,293 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/07/20'
MAIN: 2025-03-17 07:20:06,614 - INFO - 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-03-17 07:20:37,172 - INFO - taking picture
MAIN: 2025-03-17 07:20:37,173 - INFO - we take 101 photos in this while loop
MAIN: 2025-03-17 07:20:37,173 - INFO - /home/pi/Desktop/images/17032025/07/20/image_17032025_07_20_36_30875.jpg
MAIN: 2025-03-17 07:20:37,173 - INFO - duration: 0.676532291001422
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 07:21: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=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-03-17 07:21:07,078 - INFO - taking picture
MAIN: 2025-03-17 07:21:07,079 - INFO - we take 102 photos in this while loop
MAIN: 2025-03-17 07:21:07,079 - INFO - /home/pi/Desktop/images/17032025/07/20/image_17032025_07_21_06_29907.jpg
MAIN: 2025-03-17 07:21:07,079 - INFO - duration: 0.6751432809996913
MAIN: 2025-03-17 07:21:07,080 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 07:21:36,755 - INFO - taking picture
MAIN: 2025-03-17 07:21:36,755 - INFO - we take 103 photos in this while loop
MAIN: 2025-03-17 07:21:36,756 - INFO - /home/pi/Desktop/images/17032025/07/21/image_17032025_07_21_36_29672.jpg
MAIN: 2025-03-17 07:21:36,756 - INFO - duration: 0.6797241660005966
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 07:22: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:22:07,026 - INFO - taking picture
MAIN: 2025-03-17 07:22:07,026 - INFO - we take 104 photos in this while loop
MAIN: 2025-03-17 07:22:07,026 - INFO - /home/pi/Desktop/images/17032025/07/21/image_17032025_07_22_06_30270.jpg
MAIN: 2025-03-17 07:22:07,026 - INFO - duration: 0.6795252079991769
MAIN: 2025-03-17 07:22:07,027 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/07/22'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:22:36,692 - INFO - taking picture
MAIN: 2025-03-17 07:22:36,692 - INFO - we take 105 photos in this while loop
MAIN: 2025-03-17 07:22:36,692 - INFO - /home/pi/Desktop/images/17032025/07/22/image_17032025_07_22_36_29650.jpg
MAIN: 2025-03-17 07:22:36,693 - INFO - duration: 0.6951294789996609
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 07:23: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=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-03-17 07:23:06,986 - INFO - taking picture
MAIN: 2025-03-17 07:23:06,987 - INFO - we take 106 photos in this while loop
MAIN: 2025-03-17 07:23:06,987 - INFO - /home/pi/Desktop/images/17032025/07/22/image_17032025_07_23_06_30283.jpg
MAIN: 2025-03-17 07:23:06,987 - INFO - duration: 0.7054697390012734
MAIN: 2025-03-17 07:23:06,987 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/07/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=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-03-17 07:23:36,578 - INFO - taking picture
MAIN: 2025-03-17 07:23:36,578 - INFO - we take 107 photos in this while loop
MAIN: 2025-03-17 07:23:36,579 - INFO - /home/pi/Desktop/images/17032025/07/23/image_17032025_07_23_36_29606.jpg
MAIN: 2025-03-17 07:23:36,579 - INFO - duration: 0.6909576039997773
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 07:24:05,925 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:24:06,588 - INFO - taking picture
MAIN: 2025-03-17 07:24:06,588 - INFO - we take 108 photos in this while loop
MAIN: 2025-03-17 07:24:06,588 - INFO - /home/pi/Desktop/images/17032025/07/23/image_17032025_07_24_06_30005.jpg
MAIN: 2025-03-17 07:24:06,589 - INFO - duration: 0.6951896869995835
MAIN: 2025-03-17 07:24:06,589 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/07/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-03-17 07:24:37,534 - INFO - taking picture
MAIN: 2025-03-17 07:24:37,535 - INFO - we take 109 photos in this while loop
MAIN: 2025-03-17 07:24:37,535 - INFO - /home/pi/Desktop/images/17032025/07/24/image_17032025_07_24_37_30944.jpg
MAIN: 2025-03-17 07:24:37,535 - INFO - duration: 0.6973096870005975
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 07:25:06,014 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:25:06,580 - INFO - taking picture
MAIN: 2025-03-17 07:25:06,581 - INFO - we take 110 photos in this while loop
MAIN: 2025-03-17 07:25:06,581 - INFO - /home/pi/Desktop/images/17032025/07/24/image_17032025_07_25_06_29042.jpg
MAIN: 2025-03-17 07:25:06,582 - INFO - duration: 0.7018198429996119
MAIN: 2025-03-17 07:25:06,582 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/07/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-03-17 07:25:37,423 - INFO - taking picture
MAIN: 2025-03-17 07:25:37,424 - INFO - we take 111 photos in this while loop
MAIN: 2025-03-17 07:25:37,424 - INFO - /home/pi/Desktop/images/17032025/07/25/image_17032025_07_25_37_30854.jpg
MAIN: 2025-03-17 07:25:37,424 - INFO - duration: 0.6901766139999381
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-03-17 07:26:06,287 - INFO - taking picture
MAIN: 2025-03-17 07:26:06,287 - INFO - we take 112 photos in this while loop
MAIN: 2025-03-17 07:26:06,287 - INFO - /home/pi/Desktop/images/17032025/07/25/image_17032025_07_26_05_28885.jpg
MAIN: 2025-03-17 07:26:06,288 - INFO - duration: 0.6684058329992695
MAIN: 2025-03-17 07:26:06,288 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/07/26'
MAIN: 2025-03-17 07:26: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-03-17 07:26:37,242 - INFO - taking picture
MAIN: 2025-03-17 07:26:37,243 - INFO - we take 113 photos in this while loop
MAIN: 2025-03-17 07:26:37,243 - INFO - /home/pi/Desktop/images/17032025/07/26/image_17032025_07_26_36_30934.jpg
MAIN: 2025-03-17 07:26:37,243 - INFO - duration: 0.690138489999299
[ WARN:0] global /tmp/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-03-17 07:27:06,820 - INFO - 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-03-17 07:27:07,266 - INFO - taking picture
MAIN: 2025-03-17 07:27:07,267 - INFO - we take 114 photos in this while loop
MAIN: 2025-03-17 07:27:07,267 - INFO - /home/pi/Desktop/images/17032025/07/26/image_17032025_07_27_06_29955.jpg
MAIN: 2025-03-17 07:27:07,268 - INFO - duration: 0.7582846349996544
MAIN: 2025-03-17 07:27:07,268 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/07/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-03-17 07:27:36,913 - INFO - taking picture
MAIN: 2025-03-17 07:27:36,913 - INFO - we take 115 photos in this while loop
MAIN: 2025-03-17 07:27:36,913 - INFO - /home/pi/Desktop/images/17032025/07/27/image_17032025_07_27_36_29716.jpg
MAIN: 2025-03-17 07:27:36,914 - INFO - duration: 0.6877535420007916
[ WARN:0] global /tmp/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-03-17 07:28:06,766 - INFO - 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-03-17 07:28:07,069 - INFO - taking picture
MAIN: 2025-03-17 07:28:07,070 - INFO - we take 116 photos in this while loop
MAIN: 2025-03-17 07:28:07,070 - INFO - /home/pi/Desktop/images/17032025/07/27/image_17032025_07_28_06_30138.jpg
MAIN: 2025-03-17 07:28:07,070 - INFO - duration: 0.7057135409995681
MAIN: 2025-03-17 07:28:07,071 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/07/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=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-03-17 07:28:36,782 - INFO - taking picture
MAIN: 2025-03-17 07:28:36,783 - INFO - we take 117 photos in this while loop
MAIN: 2025-03-17 07:28:36,783 - INFO - /home/pi/Desktop/images/17032025/07/28/image_17032025_07_28_36_29724.jpg
MAIN: 2025-03-17 07:28:36,783 - INFO - duration: 0.6941532809996716
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 07:29:06,397 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:29:07,047 - INFO - taking picture
MAIN: 2025-03-17 07:29:07,048 - INFO - we take 118 photos in this while loop
MAIN: 2025-03-17 07:29:07,048 - INFO - /home/pi/Desktop/images/17032025/07/28/image_17032025_07_29_06_30251.jpg
MAIN: 2025-03-17 07:29:07,049 - INFO - duration: 0.7081166669995582
MAIN: 2025-03-17 07:29:07,049 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/07/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=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-03-17 07:29:36,690 - INFO - taking picture
MAIN: 2025-03-17 07:29:36,690 - INFO - we take 119 photos in this while loop
MAIN: 2025-03-17 07:29:36,690 - INFO - /home/pi/Desktop/images/17032025/07/29/image_17032025_07_29_36_29654.jpg
MAIN: 2025-03-17 07:29:36,691 - INFO - duration: 0.6954036459992494
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 07:30: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:30:07,115 - INFO - taking picture
MAIN: 2025-03-17 07:30:07,116 - INFO - we take 120 photos in this while loop
MAIN: 2025-03-17 07:30:07,116 - INFO - /home/pi/Desktop/images/17032025/07/29/image_17032025_07_30_06_30405.jpg
MAIN: 2025-03-17 07:30:07,116 - INFO - duration: 0.7153960420000658
MAIN: 2025-03-17 07:30:07,117 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 07:30:36,905 - INFO - taking picture
MAIN: 2025-03-17 07:30:36,906 - INFO - we take 121 photos in this while loop
MAIN: 2025-03-17 07:30:36,906 - INFO - /home/pi/Desktop/images/17032025/07/30/image_17032025_07_30_36_29813.jpg
MAIN: 2025-03-17 07:30:36,906 - INFO - duration: 0.6914343219996226
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-03-17 07:31:05,868 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:31:06,759 - INFO - taking picture
MAIN: 2025-03-17 07:31:06,759 - INFO - we take 122 photos in this while loop
MAIN: 2025-03-17 07:31:06,759 - INFO - /home/pi/Desktop/images/17032025/07/30/image_17032025_07_31_06_29907.jpg
MAIN: 2025-03-17 07:31:06,760 - INFO - duration: 0.6372489579989633
MAIN: 2025-03-17 07:31:06,760 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/07/31'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:31:36,285 - INFO - taking picture
MAIN: 2025-03-17 07:31:36,286 - INFO - we take 123 photos in this while loop
MAIN: 2025-03-17 07:31:36,286 - INFO - /home/pi/Desktop/images/17032025/07/31/image_17032025_07_31_35_29480.jpg
MAIN: 2025-03-17 07:31:36,286 - INFO - duration: 0.6831999480000377
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-03-17 07:32:06,442 - INFO - 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-03-17 07:32:06,663 - INFO - taking picture
MAIN: 2025-03-17 07:32:06,663 - INFO - we take 124 photos in this while loop
MAIN: 2025-03-17 07:32:06,664 - INFO - /home/pi/Desktop/images/17032025/07/31/image_17032025_07_32_06_30362.jpg
MAIN: 2025-03-17 07:32:06,664 - INFO - duration: 0.6988416669992148
MAIN: 2025-03-17 07:32:06,664 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/07/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=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-03-17 07:32:36,293 - INFO - taking picture
MAIN: 2025-03-17 07:32:36,294 - INFO - we take 125 photos in this while loop
MAIN: 2025-03-17 07:32:36,294 - INFO - /home/pi/Desktop/images/17032025/07/32/image_17032025_07_32_35_29649.jpg
MAIN: 2025-03-17 07:32:36,294 - INFO - duration: 0.6795415619999403
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-03-17 07:33:06,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-03-17 07:33:06,434 - INFO - taking picture
MAIN: 2025-03-17 07:33:06,434 - INFO - we take 126 photos in this while loop
MAIN: 2025-03-17 07:33:06,435 - INFO - /home/pi/Desktop/images/17032025/07/32/image_17032025_07_33_06_30142.jpg
MAIN: 2025-03-17 07:33:06,435 - INFO - duration: 0.6778376040001604
MAIN: 2025-03-17 07:33:06,435 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/07/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=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-03-17 07:33:37,279 - INFO - taking picture
MAIN: 2025-03-17 07:33:37,279 - INFO - we take 127 photos in this while loop
MAIN: 2025-03-17 07:33:37,279 - INFO - /home/pi/Desktop/images/17032025/07/33/image_17032025_07_33_36_30848.jpg
MAIN: 2025-03-17 07:33:37,280 - INFO - duration: 0.6738786980004079
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-03-17 07:34: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=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-03-17 07:34:07,466 - INFO - taking picture
MAIN: 2025-03-17 07:34:07,466 - INFO - we take 128 photos in this while loop
MAIN: 2025-03-17 07:34:07,467 - INFO - /home/pi/Desktop/images/17032025/07/33/image_17032025_07_34_07_30171.jpg
MAIN: 2025-03-17 07:34:07,467 - INFO - duration: 0.6899776040008874
MAIN: 2025-03-17 07:34:07,467 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/07/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=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-03-17 07:34:37,061 - INFO - taking picture
MAIN: 2025-03-17 07:34:37,062 - INFO - we take 129 photos in this while loop
MAIN: 2025-03-17 07:34:37,062 - INFO - /home/pi/Desktop/images/17032025/07/34/image_17032025_07_34_36_29592.jpg
MAIN: 2025-03-17 07:34:37,062 - INFO - duration: 0.6930970309986151
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 07:35:06,164 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:35:07,337 - INFO - taking picture
MAIN: 2025-03-17 07:35:07,338 - INFO - we take 130 photos in this while loop
MAIN: 2025-03-17 07:35:07,338 - INFO - /home/pi/Desktop/images/17032025/07/34/image_17032025_07_35_06_30288.jpg
MAIN: 2025-03-17 07:35:07,338 - INFO - duration: 0.6809272399987094
MAIN: 2025-03-17 07:35:07,339 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:35:36,969 - INFO - taking picture
MAIN: 2025-03-17 07:35:36,969 - INFO - we take 131 photos in this while loop
MAIN: 2025-03-17 07:35:36,970 - INFO - /home/pi/Desktop/images/17032025/07/35/image_17032025_07_35_36_29625.jpg
MAIN: 2025-03-17 07:35:36,970 - INFO - duration: 0.6871897910004918
Corrupt JPEG data: premature end of data segment
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-03-17 07:36:06,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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:36:07,098 - INFO - taking picture
MAIN: 2025-03-17 07:36:07,099 - INFO - we take 132 photos in this while loop
MAIN: 2025-03-17 07:36:07,099 - INFO - /home/pi/Desktop/images/17032025/07/35/image_17032025_07_36_06_30137.jpg
MAIN: 2025-03-17 07:36:07,099 - INFO - duration: 0.6789938019992405
MAIN: 2025-03-17 07:36:07,100 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:36:36,713 - INFO - taking picture
MAIN: 2025-03-17 07:36:36,714 - INFO - we take 133 photos in this while loop
MAIN: 2025-03-17 07:36:36,714 - INFO - /home/pi/Desktop/images/17032025/07/36/image_17032025_07_36_36_29625.jpg
MAIN: 2025-03-17 07:36:36,714 - INFO - duration: 0.6680776039993361
Corrupt JPEG data: premature end of data segment
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-03-17 07:37: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=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-03-17 07:37:06,660 - INFO - taking picture
MAIN: 2025-03-17 07:37:06,661 - INFO - we take 134 photos in this while loop
MAIN: 2025-03-17 07:37:06,661 - INFO - /home/pi/Desktop/images/17032025/07/36/image_17032025_07_37_06_29909.jpg
MAIN: 2025-03-17 07:37:06,661 - INFO - duration: 0.7057373949992325
MAIN: 2025-03-17 07:37:06,662 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/07/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:37:36,341 - INFO - taking picture
MAIN: 2025-03-17 07:37:36,342 - INFO - we take 135 photos in this while loop
MAIN: 2025-03-17 07:37:36,342 - INFO - /home/pi/Desktop/images/17032025/07/37/image_17032025_07_37_35_29711.jpg
MAIN: 2025-03-17 07:37:36,342 - INFO - duration: 0.674777135000113
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 07:38:06,430 - INFO - taking picture
MAIN: 2025-03-17 07:38:06,431 - INFO - we take 136 photos in this while loop
MAIN: 2025-03-17 07:38:06,431 - INFO - /home/pi/Desktop/images/17032025/07/37/image_17032025_07_38_06_30095.jpg
MAIN: 2025-03-17 07:38:06,431 - INFO - duration: 0.668110937000165
MAIN: 2025-03-17 07:38:06,432 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/07/38'
MAIN: 2025-03-17 07:38:06,661 - INFO - 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=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-03-17 07:38:37,361 - INFO - taking picture
MAIN: 2025-03-17 07:38:37,361 - INFO - we take 137 photos in this while loop
MAIN: 2025-03-17 07:38:37,362 - INFO - /home/pi/Desktop/images/17032025/07/38/image_17032025_07_38_36_30907.jpg
MAIN: 2025-03-17 07:38:37,362 - INFO - duration: 0.6908472390005045
Corrupt JPEG data: premature end of data segment
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-03-17 07:39: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:39:07,514 - INFO - taking picture
MAIN: 2025-03-17 07:39:07,514 - INFO - we take 138 photos in this while loop
MAIN: 2025-03-17 07:39:07,514 - INFO - /home/pi/Desktop/images/17032025/07/38/image_17032025_07_39_07_30156.jpg
MAIN: 2025-03-17 07:39:07,514 - INFO - duration: 0.6873620839996875
MAIN: 2025-03-17 07:39:07,515 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/07/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:39:37,103 - INFO - taking picture
MAIN: 2025-03-17 07:39:37,104 - INFO - we take 139 photos in this while loop
MAIN: 2025-03-17 07:39:37,104 - INFO - /home/pi/Desktop/images/17032025/07/39/image_17032025_07_39_36_29605.jpg
MAIN: 2025-03-17 07:39:37,104 - INFO - duration: 0.6710120310017373
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 07:40: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=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-03-17 07:40:07,329 - INFO - taking picture
MAIN: 2025-03-17 07:40:07,330 - INFO - we take 140 photos in this while loop
MAIN: 2025-03-17 07:40:07,330 - INFO - /home/pi/Desktop/images/17032025/07/39/image_17032025_07_40_06_30220.jpg
MAIN: 2025-03-17 07:40:07,330 - INFO - duration: 0.6772723960002622
MAIN: 2025-03-17 07:40:07,331 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/07/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:40:37,032 - INFO - taking picture
MAIN: 2025-03-17 07:40:37,033 - INFO - we take 141 photos in this while loop
MAIN: 2025-03-17 07:40:37,033 - INFO - /home/pi/Desktop/images/17032025/07/40/image_17032025_07_40_36_29691.jpg
MAIN: 2025-03-17 07:40:37,033 - INFO - duration: 0.6891003639993869
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 07:41:05,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=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-03-17 07:41:06,911 - INFO - taking picture
MAIN: 2025-03-17 07:41:06,912 - INFO - we take 142 photos in this while loop
MAIN: 2025-03-17 07:41:06,912 - INFO - /home/pi/Desktop/images/17032025/07/40/image_17032025_07_41_06_29929.jpg
MAIN: 2025-03-17 07:41:06,912 - INFO - duration: 0.6385086980008055
MAIN: 2025-03-17 07:41:06,912 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/07/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:41:36,729 - INFO - taking picture
MAIN: 2025-03-17 07:41:36,730 - INFO - we take 143 photos in this while loop
MAIN: 2025-03-17 07:41:36,730 - INFO - /home/pi/Desktop/images/17032025/07/41/image_17032025_07_41_36_29791.jpg
MAIN: 2025-03-17 07:41:36,730 - INFO - duration: 0.6649190629996156
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 07:42:06,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=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-03-17 07:42:07,108 - INFO - taking picture
MAIN: 2025-03-17 07:42:07,109 - INFO - we take 144 photos in this while loop
MAIN: 2025-03-17 07:42:07,109 - INFO - /home/pi/Desktop/images/17032025/07/41/image_17032025_07_42_06_30324.jpg
MAIN: 2025-03-17 07:42:07,109 - INFO - duration: 0.7200756770016596
MAIN: 2025-03-17 07:42:07,110 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/07/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=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-03-17 07:42:36,657 - INFO - taking picture
MAIN: 2025-03-17 07:42:36,658 - INFO - we take 145 photos in this while loop
MAIN: 2025-03-17 07:42:36,658 - INFO - /home/pi/Desktop/images/17032025/07/42/image_17032025_07_42_36_29576.jpg
MAIN: 2025-03-17 07:42:36,658 - INFO - duration: 0.6921432809995167
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 07:43:05,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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:43:06,494 - INFO - taking picture
MAIN: 2025-03-17 07:43:06,494 - INFO - we take 146 photos in this while loop
MAIN: 2025-03-17 07:43:06,495 - INFO - /home/pi/Desktop/images/17032025/07/42/image_17032025_07_43_06_29895.jpg
MAIN: 2025-03-17 07:43:06,495 - INFO - duration: 0.6327779679995729
MAIN: 2025-03-17 07:43:06,495 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/07/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=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-03-17 07:43:37,472 - INFO - taking picture
MAIN: 2025-03-17 07:43:37,473 - INFO - we take 147 photos in this while loop
MAIN: 2025-03-17 07:43:37,473 - INFO - /home/pi/Desktop/images/17032025/07/43/image_17032025_07_43_37_30964.jpg
MAIN: 2025-03-17 07:43:37,473 - INFO - duration: 0.6474723960000119
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 07:44: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 ! 
MAIN: 2025-03-17 07:44:06,376 - INFO - taking picture
MAIN: 2025-03-17 07:44:06,377 - INFO - we take 148 photos in this while loop
MAIN: 2025-03-17 07:44:06,377 - INFO - /home/pi/Desktop/images/17032025/07/43/image_17032025_07_44_05_28856.jpg
MAIN: 2025-03-17 07:44:06,377 - INFO - duration: 0.6953045310001471
MAIN: 2025-03-17 07:44:06,378 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/07/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=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-03-17 07:44:37,308 - INFO - taking picture
MAIN: 2025-03-17 07:44:37,309 - INFO - we take 149 photos in this while loop
MAIN: 2025-03-17 07:44:37,309 - INFO - /home/pi/Desktop/images/17032025/07/44/image_17032025_07_44_36_30982.jpg
MAIN: 2025-03-17 07:44:37,309 - INFO - duration: 0.6447646350006835
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 07:45:06,126 - INFO - 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-03-17 07:45:06,351 - INFO - taking picture
MAIN: 2025-03-17 07:45:06,352 - INFO - we take 150 photos in this while loop
MAIN: 2025-03-17 07:45:06,352 - INFO - /home/pi/Desktop/images/17032025/07/44/image_17032025_07_45_05_28998.jpg
MAIN: 2025-03-17 07:45:06,352 - INFO - duration: 0.6895085929991183
MAIN: 2025-03-17 07:45:06,353 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/07/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:45:37,263 - INFO - taking picture
MAIN: 2025-03-17 07:45:37,264 - INFO - we take 151 photos in this while loop
MAIN: 2025-03-17 07:45:37,264 - INFO - /home/pi/Desktop/images/17032025/07/45/image_17032025_07_45_36_30970.jpg
MAIN: 2025-03-17 07:45:37,264 - INFO - duration: 0.6313799470008234
Corrupt JPEG data: premature end of data segment
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-03-17 07:46:06,536 - INFO - 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-03-17 07:46:07,222 - INFO - taking picture
MAIN: 2025-03-17 07:46:07,223 - INFO - we take 152 photos in this while loop
MAIN: 2025-03-17 07:46:07,223 - INFO - /home/pi/Desktop/images/17032025/07/45/image_17032025_07_46_06_29941.jpg
MAIN: 2025-03-17 07:46:07,223 - INFO - duration: 0.6486517189987353
MAIN: 2025-03-17 07:46:07,224 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/07/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=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-03-17 07:46:36,966 - INFO - taking picture
MAIN: 2025-03-17 07:46:36,967 - INFO - we take 153 photos in this while loop
MAIN: 2025-03-17 07:46:36,967 - INFO - /home/pi/Desktop/images/17032025/07/46/image_17032025_07_46_36_29757.jpg
MAIN: 2025-03-17 07:46:36,967 - INFO - duration: 0.6344463539990102
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 07:47:06,462 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:47:07,088 - INFO - taking picture
MAIN: 2025-03-17 07:47:07,088 - INFO - we take 154 photos in this while loop
MAIN: 2025-03-17 07:47:07,088 - INFO - /home/pi/Desktop/images/17032025/07/46/image_17032025_07_47_06_30118.jpg
MAIN: 2025-03-17 07:47:07,089 - INFO - duration: 0.6374291669999366
MAIN: 2025-03-17 07:47:07,089 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/07/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=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-03-17 07:47:36,883 - INFO - taking picture
MAIN: 2025-03-17 07:47:36,883 - INFO - we take 155 photos in this while loop
MAIN: 2025-03-17 07:47:36,883 - INFO - /home/pi/Desktop/images/17032025/07/47/image_17032025_07_47_36_29743.jpg
MAIN: 2025-03-17 07:47:36,884 - INFO - duration: 0.6887368750012683
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 07:48:06,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 ! 
MAIN: 2025-03-17 07:48:07,171 - INFO - taking picture
MAIN: 2025-03-17 07:48:07,172 - INFO - we take 156 photos in this while loop
MAIN: 2025-03-17 07:48:07,172 - INFO - /home/pi/Desktop/images/17032025/07/47/image_17032025_07_48_06_30294.jpg
MAIN: 2025-03-17 07:48:07,172 - INFO - duration: 0.6826988020002318
MAIN: 2025-03-17 07:48:07,173 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/07/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:48:36,870 - INFO - taking picture
MAIN: 2025-03-17 07:48:36,871 - INFO - we take 157 photos in this while loop
MAIN: 2025-03-17 07:48:36,871 - INFO - /home/pi/Desktop/images/17032025/07/48/image_17032025_07_48_36_29713.jpg
MAIN: 2025-03-17 07:48:36,871 - INFO - duration: 0.6683332810007414
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 07:49: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=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-03-17 07:49:06,641 - INFO - taking picture
MAIN: 2025-03-17 07:49:06,641 - INFO - we take 158 photos in this while loop
MAIN: 2025-03-17 07:49:06,642 - INFO - /home/pi/Desktop/images/17032025/07/48/image_17032025_07_49_06_29804.jpg
MAIN: 2025-03-17 07:49:06,642 - INFO - duration: 0.6343433330002881
MAIN: 2025-03-17 07:49:06,642 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/07/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=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-03-17 07:49:36,398 - INFO - taking picture
MAIN: 2025-03-17 07:49:36,399 - INFO - we take 159 photos in this while loop
MAIN: 2025-03-17 07:49:36,399 - INFO - /home/pi/Desktop/images/17032025/07/49/image_17032025_07_49_36_29699.jpg
MAIN: 2025-03-17 07:49:36,399 - INFO - duration: 0.6925396879996697
Corrupt JPEG data: premature end of data segment
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-03-17 07:50:06,814 - INFO - taking picture
MAIN: 2025-03-17 07:50:06,814 - INFO - we take 160 photos in this while loop
MAIN: 2025-03-17 07:50:06,815 - INFO - /home/pi/Desktop/images/17032025/07/49/image_17032025_07_50_06_30414.jpg
MAIN: 2025-03-17 07:50:06,815 - INFO - duration: 0.693405468000492
MAIN: 2025-03-17 07:50:06,815 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/07/50'
MAIN: 2025-03-17 07:50:06,910 - INFO - 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-03-17 07:50:36,533 - INFO - taking picture
MAIN: 2025-03-17 07:50:36,533 - INFO - we take 161 photos in this while loop
MAIN: 2025-03-17 07:50:36,534 - INFO - /home/pi/Desktop/images/17032025/07/50/image_17032025_07_50_36_29721.jpg
MAIN: 2025-03-17 07:50:36,534 - INFO - duration: 0.6908514580009069
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-03-17 07:51:06,033 - INFO - 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-03-17 07:51:06,639 - INFO - taking picture
MAIN: 2025-03-17 07:51:06,640 - INFO - we take 162 photos in this while loop
MAIN: 2025-03-17 07:51:06,640 - INFO - /home/pi/Desktop/images/17032025/07/50/image_17032025_07_51_06_30085.jpg
MAIN: 2025-03-17 07:51:06,640 - INFO - duration: 0.7117136979995848
MAIN: 2025-03-17 07:51:06,640 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/07/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=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-03-17 07:51:36,416 - INFO - taking picture
MAIN: 2025-03-17 07:51:36,416 - INFO - we take 163 photos in this while loop
MAIN: 2025-03-17 07:51:36,417 - INFO - /home/pi/Desktop/images/17032025/07/51/image_17032025_07_51_36_29784.jpg
MAIN: 2025-03-17 07:51:36,417 - INFO - duration: 0.7040581769997516
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 07:52: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-03-17 07:52:06,796 - INFO - taking picture
MAIN: 2025-03-17 07:52:06,796 - INFO - we take 164 photos in this while loop
MAIN: 2025-03-17 07:52:06,796 - INFO - /home/pi/Desktop/images/17032025/07/51/image_17032025_07_52_06_30364.jpg
MAIN: 2025-03-17 07:52:06,797 - INFO - duration: 0.7189585940013785
MAIN: 2025-03-17 07:52:06,797 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/07/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=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-03-17 07:52:36,381 - INFO - taking picture
MAIN: 2025-03-17 07:52:36,381 - INFO - we take 165 photos in this while loop
MAIN: 2025-03-17 07:52:36,381 - INFO - /home/pi/Desktop/images/17032025/07/52/image_17032025_07_52_36_29625.jpg
MAIN: 2025-03-17 07:52:36,382 - INFO - duration: 0.6781916149993776
[ WARN:0] global /tmp/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-03-17 07:53:06,361 - INFO - taking picture
MAIN: 2025-03-17 07:53:06,362 - INFO - we take 166 photos in this while loop
MAIN: 2025-03-17 07:53:06,362 - INFO - /home/pi/Desktop/images/17032025/07/52/image_17032025_07_53_05_29972.jpg
MAIN: 2025-03-17 07:53:06,362 - INFO - duration: 0.6863856240015593
MAIN: 2025-03-17 07:53:06,363 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/07/53'
MAIN: 2025-03-17 07:53:06,381 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:53:37,277 - INFO - taking picture
MAIN: 2025-03-17 07:53:37,277 - INFO - we take 167 photos in this while loop
MAIN: 2025-03-17 07:53:37,278 - INFO - /home/pi/Desktop/images/17032025/07/53/image_17032025_07_53_36_30902.jpg
MAIN: 2025-03-17 07:53:37,278 - INFO - duration: 0.6996374469999864
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 07:54: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:54:07,517 - INFO - taking picture
MAIN: 2025-03-17 07:54:07,517 - INFO - we take 168 photos in this while loop
MAIN: 2025-03-17 07:54:07,518 - INFO - /home/pi/Desktop/images/17032025/07/53/image_17032025_07_54_07_30240.jpg
MAIN: 2025-03-17 07:54:07,518 - INFO - duration: 0.698973697000838
MAIN: 2025-03-17 07:54:07,518 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/07/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=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-03-17 07:54:37,126 - INFO - taking picture
MAIN: 2025-03-17 07:54:37,126 - INFO - we take 169 photos in this while loop
MAIN: 2025-03-17 07:54:37,127 - INFO - /home/pi/Desktop/images/17032025/07/54/image_17032025_07_54_36_29607.jpg
MAIN: 2025-03-17 07:54:37,127 - INFO - duration: 0.700144165999518
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 07:55:06,608 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:55:07,298 - INFO - taking picture
MAIN: 2025-03-17 07:55:07,298 - INFO - we take 170 photos in this while loop
MAIN: 2025-03-17 07:55:07,298 - INFO - /home/pi/Desktop/images/17032025/07/54/image_17032025_07_55_06_30160.jpg
MAIN: 2025-03-17 07:55:07,299 - INFO - duration: 0.7118394269982673
MAIN: 2025-03-17 07:55:07,299 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:55:36,854 - INFO - taking picture
MAIN: 2025-03-17 07:55:36,854 - INFO - we take 171 photos in this while loop
MAIN: 2025-03-17 07:55:36,855 - INFO - /home/pi/Desktop/images/17032025/07/55/image_17032025_07_55_36_29579.jpg
MAIN: 2025-03-17 07:55:36,855 - INFO - duration: 0.6883913540004869
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 07:56: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=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-03-17 07:56:07,050 - INFO - taking picture
MAIN: 2025-03-17 07:56:07,051 - INFO - we take 172 photos in this while loop
MAIN: 2025-03-17 07:56:07,051 - INFO - /home/pi/Desktop/images/17032025/07/55/image_17032025_07_56_06_30229.jpg
MAIN: 2025-03-17 07:56:07,051 - INFO - duration: 0.6555525000003399
MAIN: 2025-03-17 07:56:07,052 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/07/56'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:56:36,819 - INFO - taking picture
MAIN: 2025-03-17 07:56:36,820 - INFO - we take 173 photos in this while loop
MAIN: 2025-03-17 07:56:36,820 - INFO - /home/pi/Desktop/images/17032025/07/56/image_17032025_07_56_36_29729.jpg
MAIN: 2025-03-17 07:56:36,820 - INFO - duration: 0.6953405730000668
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 07:57:06,356 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:57:06,815 - INFO - taking picture
MAIN: 2025-03-17 07:57:06,816 - INFO - we take 174 photos in this while loop
MAIN: 2025-03-17 07:57:06,816 - INFO - /home/pi/Desktop/images/17032025/07/56/image_17032025_07_57_06_29983.jpg
MAIN: 2025-03-17 07:57:06,816 - INFO - duration: 0.7078202080010669
MAIN: 2025-03-17 07:57:06,817 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:57:36,362 - INFO - taking picture
MAIN: 2025-03-17 07:57:36,363 - INFO - we take 175 photos in this while loop
MAIN: 2025-03-17 07:57:36,363 - INFO - /home/pi/Desktop/images/17032025/07/57/image_17032025_07_57_35_29591.jpg
MAIN: 2025-03-17 07:57:36,363 - INFO - duration: 0.6633198960007576
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 07:58:06,520 - INFO - taking picture
MAIN: 2025-03-17 07:58:06,520 - INFO - we take 176 photos in this while loop
MAIN: 2025-03-17 07:58:06,521 - INFO - /home/pi/Desktop/images/17032025/07/57/image_17032025_07_58_06_30156.jpg
MAIN: 2025-03-17 07:58:06,521 - INFO - duration: 0.6649557809996622
MAIN: 2025-03-17 07:58:06,521 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/07/58'
MAIN: 2025-03-17 07:58:06,837 - INFO - 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=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-03-17 07:58:37,409 - INFO - taking picture
MAIN: 2025-03-17 07:58:37,410 - INFO - we take 177 photos in this while loop
MAIN: 2025-03-17 07:58:37,410 - INFO - /home/pi/Desktop/images/17032025/07/58/image_17032025_07_58_37_30908.jpg
MAIN: 2025-03-17 07:58:37,410 - INFO - duration: 0.6459472400001687
Corrupt JPEG data: premature end of data segment
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-03-17 07:59:06,622 - INFO - 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-03-17 07:59:07,396 - INFO - taking picture
MAIN: 2025-03-17 07:59:07,396 - INFO - we take 178 photos in this while loop
MAIN: 2025-03-17 07:59:07,396 - INFO - /home/pi/Desktop/images/17032025/07/58/image_17032025_07_59_07_29999.jpg
MAIN: 2025-03-17 07:59:07,397 - INFO - duration: 0.6331964059991151
MAIN: 2025-03-17 07:59:07,397 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 07:59:36,994 - INFO - taking picture
MAIN: 2025-03-17 07:59:36,994 - INFO - we take 179 photos in this while loop
MAIN: 2025-03-17 07:59:36,995 - INFO - /home/pi/Desktop/images/17032025/07/59/image_17032025_07_59_36_29598.jpg
MAIN: 2025-03-17 07:59:36,995 - INFO - duration: 0.6328587500011054
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 08:00:06,471 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:00:07,383 - INFO - taking picture
MAIN: 2025-03-17 08:00:07,385 - INFO - we take 180 photos in this while loop
MAIN: 2025-03-17 08:00:07,385 - INFO - /home/pi/Desktop/images/17032025/07/59/image_17032025_08_00_06_30261.jpg
MAIN: 2025-03-17 08:00:07,386 - INFO - duration: 0.7631301040000835
MAIN: 2025-03-17 08:00:07,388 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/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=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-03-17 08:00:37,010 - INFO - taking picture
MAIN: 2025-03-17 08:00:37,010 - INFO - we take 181 photos in this while loop
MAIN: 2025-03-17 08:00:37,011 - INFO - /home/pi/Desktop/images/17032025/08/00/image_17032025_08_00_36_29713.jpg
MAIN: 2025-03-17 08:00:37,011 - INFO - duration: 0.6743819269995583
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 08:01:05,771 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:01:06,954 - INFO - taking picture
MAIN: 2025-03-17 08:01:06,955 - INFO - we take 182 photos in this while loop
MAIN: 2025-03-17 08:01:06,955 - INFO - /home/pi/Desktop/images/17032025/08/00/image_17032025_08_01_06_29955.jpg
MAIN: 2025-03-17 08:01:06,955 - INFO - duration: 0.6631282289999945
MAIN: 2025-03-17 08:01:06,955 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/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=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-03-17 08:01:36,656 - INFO - taking picture
MAIN: 2025-03-17 08:01:36,657 - INFO - we take 183 photos in this while loop
MAIN: 2025-03-17 08:01:36,657 - INFO - /home/pi/Desktop/images/17032025/08/01/image_17032025_08_01_36_29678.jpg
MAIN: 2025-03-17 08:01:36,657 - INFO - duration: 0.6868377600003441
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-03-17 08:02:06,543 - INFO - 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-03-17 08:02:06,736 - INFO - taking picture
MAIN: 2025-03-17 08:02:06,736 - INFO - we take 184 photos in this while loop
MAIN: 2025-03-17 08:02:06,736 - INFO - /home/pi/Desktop/images/17032025/08/01/image_17032025_08_02_06_30072.jpg
MAIN: 2025-03-17 08:02:06,737 - INFO - duration: 0.6939869790003286
MAIN: 2025-03-17 08:02:06,737 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/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=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-03-17 08:02:36,588 - INFO - taking picture
MAIN: 2025-03-17 08:02:36,588 - INFO - we take 185 photos in this while loop
MAIN: 2025-03-17 08:02:36,589 - INFO - /home/pi/Desktop/images/17032025/08/02/image_17032025_08_02_36_29849.jpg
MAIN: 2025-03-17 08:02:36,589 - INFO - duration: 0.6969388540001091
Corrupt JPEG data: premature end of data segment
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-03-17 08:03:06,318 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:03:06,813 - INFO - taking picture
MAIN: 2025-03-17 08:03:06,813 - INFO - we take 186 photos in this while loop
MAIN: 2025-03-17 08:03:06,814 - INFO - /home/pi/Desktop/images/17032025/08/02/image_17032025_08_03_06_30220.jpg
MAIN: 2025-03-17 08:03:06,814 - INFO - duration: 0.7013179169989598
MAIN: 2025-03-17 08:03:06,814 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:03:36,458 - INFO - taking picture
MAIN: 2025-03-17 08:03:36,459 - INFO - we take 187 photos in this while loop
MAIN: 2025-03-17 08:03:36,459 - INFO - /home/pi/Desktop/images/17032025/08/03/image_17032025_08_03_36_29669.jpg
MAIN: 2025-03-17 08:03:36,459 - INFO - duration: 0.6778216139991855
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 08:04:06,637 - INFO - taking picture
MAIN: 2025-03-17 08:04:06,637 - INFO - we take 188 photos in this while loop
MAIN: 2025-03-17 08:04:06,637 - INFO - /home/pi/Desktop/images/17032025/08/03/image_17032025_08_04_06_30189.jpg
MAIN: 2025-03-17 08:04:06,638 - INFO - duration: 0.6668236460009211
MAIN: 2025-03-17 08:04:06,638 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/04'
MAIN: 2025-03-17 08:04:07,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:04:36,259 - INFO - taking picture
MAIN: 2025-03-17 08:04:36,260 - INFO - we take 189 photos in this while loop
MAIN: 2025-03-17 08:04:36,260 - INFO - /home/pi/Desktop/images/17032025/08/04/image_17032025_08_04_35_29614.jpg
MAIN: 2025-03-17 08:04:36,260 - INFO - duration: 0.6751749470004142
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 08:05:06,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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:05:06,466 - INFO - taking picture
MAIN: 2025-03-17 08:05:06,467 - INFO - we take 190 photos in this while loop
MAIN: 2025-03-17 08:05:06,468 - INFO - /home/pi/Desktop/images/17032025/08/04/image_17032025_08_05_06_30172.jpg
MAIN: 2025-03-17 08:05:06,468 - INFO - duration: 0.7102252599997882
MAIN: 2025-03-17 08:05:06,469 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:05:37,339 - INFO - taking picture
MAIN: 2025-03-17 08:05:37,340 - INFO - we take 191 photos in this while loop
MAIN: 2025-03-17 08:05:37,340 - INFO - /home/pi/Desktop/images/17032025/08/05/image_17032025_08_05_36_30895.jpg
MAIN: 2025-03-17 08:05:37,340 - INFO - duration: 0.6867661979995319
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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=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-03-17 08:06: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 ! 
MAIN: 2025-03-17 08:06:06,382 - INFO - taking picture
MAIN: 2025-03-17 08:06:06,383 - INFO - we take 192 photos in this while loop
MAIN: 2025-03-17 08:06:06,383 - INFO - /home/pi/Desktop/images/17032025/08/05/image_17032025_08_06_06_29044.jpg
MAIN: 2025-03-17 08:06:06,383 - INFO - duration: 0.6860293740010093
MAIN: 2025-03-17 08:06:06,384 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:06:37,266 - INFO - taking picture
MAIN: 2025-03-17 08:06:37,266 - INFO - we take 193 photos in this while loop
MAIN: 2025-03-17 08:06:37,266 - INFO - /home/pi/Desktop/images/17032025/08/06/image_17032025_08_06_36_30895.jpg
MAIN: 2025-03-17 08:06:37,267 - INFO - duration: 0.6739269270001387
Corrupt JPEG data: premature end of data segment
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-03-17 08:07:05,901 - INFO - 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-03-17 08:07:07,165 - INFO - taking picture
MAIN: 2025-03-17 08:07:07,165 - INFO - we take 194 photos in this while loop
MAIN: 2025-03-17 08:07:07,166 - INFO - /home/pi/Desktop/images/17032025/08/06/image_17032025_08_07_06_29898.jpg
MAIN: 2025-03-17 08:07:07,166 - INFO - duration: 0.6743275000007998
MAIN: 2025-03-17 08:07:07,166 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/07'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:07:36,939 - INFO - taking picture
MAIN: 2025-03-17 08:07:36,940 - INFO - we take 195 photos in this while loop
MAIN: 2025-03-17 08:07:36,940 - INFO - /home/pi/Desktop/images/17032025/08/07/image_17032025_08_07_36_29758.jpg
MAIN: 2025-03-17 08:07:36,940 - INFO - duration: 0.6903406769997673
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 08:08: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:08:07,111 - INFO - taking picture
MAIN: 2025-03-17 08:08:07,111 - INFO - we take 196 photos in this while loop
MAIN: 2025-03-17 08:08:07,111 - INFO - /home/pi/Desktop/images/17032025/08/07/image_17032025_08_08_06_30162.jpg
MAIN: 2025-03-17 08:08:07,111 - INFO - duration: 0.6992252599993662
MAIN: 2025-03-17 08:08:07,112 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:08:36,785 - INFO - taking picture
MAIN: 2025-03-17 08:08:36,786 - INFO - we take 197 photos in this while loop
MAIN: 2025-03-17 08:08:36,786 - INFO - /home/pi/Desktop/images/17032025/08/08/image_17032025_08_08_36_29692.jpg
MAIN: 2025-03-17 08:08:36,786 - INFO - duration: 0.6816206769999553
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-03-17 08:09: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=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-03-17 08:09:06,941 - INFO - taking picture
MAIN: 2025-03-17 08:09:06,941 - INFO - we take 198 photos in this while loop
MAIN: 2025-03-17 08:09:06,941 - INFO - /home/pi/Desktop/images/17032025/08/08/image_17032025_08_09_06_30203.jpg
MAIN: 2025-03-17 08:09:06,942 - INFO - duration: 0.6334051040012127
MAIN: 2025-03-17 08:09:06,942 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:09:36,507 - INFO - taking picture
MAIN: 2025-03-17 08:09:36,508 - INFO - we take 199 photos in this while loop
MAIN: 2025-03-17 08:09:36,508 - INFO - /home/pi/Desktop/images/17032025/08/09/image_17032025_08_09_36_29534.jpg
MAIN: 2025-03-17 08:09:36,508 - INFO - duration: 0.6656199469998683
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 08:10:06,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 ! 
MAIN: 2025-03-17 08:10:06,904 - INFO - taking picture
MAIN: 2025-03-17 08:10:06,904 - INFO - we take 200 photos in this while loop
MAIN: 2025-03-17 08:10:06,905 - INFO - /home/pi/Desktop/images/17032025/08/09/image_17032025_08_10_06_30354.jpg
MAIN: 2025-03-17 08:10:06,905 - INFO - duration: 0.7079438019991358
MAIN: 2025-03-17 08:10:06,906 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 08:10:36,530 - INFO - taking picture
MAIN: 2025-03-17 08:10:36,531 - INFO - we take 201 photos in this while loop
MAIN: 2025-03-17 08:10:36,531 - INFO - /home/pi/Desktop/images/17032025/08/10/image_17032025_08_10_36_29668.jpg
MAIN: 2025-03-17 08:10:36,531 - INFO - duration: 0.6658540099997481
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 08:11: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=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-03-17 08:11:06,509 - INFO - taking picture
MAIN: 2025-03-17 08:11:06,509 - INFO - we take 202 photos in this while loop
MAIN: 2025-03-17 08:11:06,510 - INFO - /home/pi/Desktop/images/17032025/08/10/image_17032025_08_11_06_30001.jpg
MAIN: 2025-03-17 08:11:06,510 - INFO - duration: 0.642911354001626
MAIN: 2025-03-17 08:11:06,510 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:11:37,425 - INFO - taking picture
MAIN: 2025-03-17 08:11:37,426 - INFO - we take 203 photos in this while loop
MAIN: 2025-03-17 08:11:37,426 - INFO - /home/pi/Desktop/images/17032025/08/11/image_17032025_08_11_37_30925.jpg
MAIN: 2025-03-17 08:11:37,426 - INFO - duration: 0.6334261459996924
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 08:12: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 ! 
MAIN: 2025-03-17 08:12:06,512 - INFO - taking picture
MAIN: 2025-03-17 08:12:06,513 - INFO - we take 204 photos in this while loop
MAIN: 2025-03-17 08:12:06,513 - INFO - /home/pi/Desktop/images/17032025/08/11/image_17032025_08_12_06_29021.jpg
MAIN: 2025-03-17 08:12:06,514 - INFO - duration: 0.6991609889992105
MAIN: 2025-03-17 08:12:06,514 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:12:37,354 - INFO - taking picture
MAIN: 2025-03-17 08:12:37,355 - INFO - we take 205 photos in this while loop
MAIN: 2025-03-17 08:12:37,355 - INFO - /home/pi/Desktop/images/17032025/08/12/image_17032025_08_12_36_30906.jpg
MAIN: 2025-03-17 08:12:37,355 - INFO - duration: 0.6340556249997462
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-03-17 08:13:06,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:13:07,243 - INFO - taking picture
MAIN: 2025-03-17 08:13:07,243 - INFO - we take 206 photos in this while loop
MAIN: 2025-03-17 08:13:07,243 - INFO - /home/pi/Desktop/images/17032025/08/12/image_17032025_08_13_06_29882.jpg
MAIN: 2025-03-17 08:13:07,244 - INFO - duration: 0.6400750000011612
MAIN: 2025-03-17 08:13:07,244 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:13:37,092 - INFO - taking picture
MAIN: 2025-03-17 08:13:37,092 - INFO - we take 207 photos in this while loop
MAIN: 2025-03-17 08:13:37,093 - INFO - /home/pi/Desktop/images/17032025/08/13/image_17032025_08_13_36_29798.jpg
MAIN: 2025-03-17 08:13:37,093 - INFO - duration: 0.6905369270007213
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 08:14:06,734 - INFO - 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-03-17 08:14:07,070 - INFO - taking picture
MAIN: 2025-03-17 08:14:07,070 - INFO - we take 208 photos in this while loop
MAIN: 2025-03-17 08:14:07,070 - INFO - /home/pi/Desktop/images/17032025/08/13/image_17032025_08_14_06_29977.jpg
MAIN: 2025-03-17 08:14:07,071 - INFO - duration: 0.6908119790005003
MAIN: 2025-03-17 08:14:07,071 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/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=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-03-17 08:14:36,764 - INFO - taking picture
MAIN: 2025-03-17 08:14:36,765 - INFO - we take 209 photos in this while loop
MAIN: 2025-03-17 08:14:36,765 - INFO - /home/pi/Desktop/images/17032025/08/14/image_17032025_08_14_36_29697.jpg
MAIN: 2025-03-17 08:14:36,765 - INFO - duration: 0.6875584900008107
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 08:15:06,927 - INFO - 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-03-17 08:15:07,122 - INFO - taking picture
MAIN: 2025-03-17 08:15:07,123 - INFO - we take 210 photos in this while loop
MAIN: 2025-03-17 08:15:07,123 - INFO - /home/pi/Desktop/images/17032025/08/14/image_17032025_08_15_06_30350.jpg
MAIN: 2025-03-17 08:15:07,124 - INFO - duration: 0.6955331770004705
MAIN: 2025-03-17 08:15:07,124 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:15:36,847 - INFO - taking picture
MAIN: 2025-03-17 08:15:36,847 - INFO - we take 211 photos in this while loop
MAIN: 2025-03-17 08:15:36,848 - INFO - /home/pi/Desktop/images/17032025/08/15/image_17032025_08_15_36_29719.jpg
MAIN: 2025-03-17 08:15:36,848 - INFO - duration: 0.700032448001366
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-03-17 08:16: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=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-03-17 08:16:06,953 - INFO - taking picture
MAIN: 2025-03-17 08:16:06,953 - INFO - we take 212 photos in this while loop
MAIN: 2025-03-17 08:16:06,953 - INFO - /home/pi/Desktop/images/17032025/08/15/image_17032025_08_16_06_30171.jpg
MAIN: 2025-03-17 08:16:06,954 - INFO - duration: 0.6344269269993674
MAIN: 2025-03-17 08:16:06,954 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:16:36,656 - INFO - taking picture
MAIN: 2025-03-17 08:16:36,657 - INFO - we take 213 photos in this while loop
MAIN: 2025-03-17 08:16:36,657 - INFO - /home/pi/Desktop/images/17032025/08/16/image_17032025_08_16_36_29652.jpg
MAIN: 2025-03-17 08:16:36,657 - INFO - duration: 0.6855079159995512
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-03-17 08:17:05,990 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:17:06,662 - INFO - taking picture
MAIN: 2025-03-17 08:17:06,662 - INFO - we take 214 photos in this while loop
MAIN: 2025-03-17 08:17:06,662 - INFO - /home/pi/Desktop/images/17032025/08/16/image_17032025_08_17_06_30009.jpg
MAIN: 2025-03-17 08:17:06,663 - INFO - duration: 0.6820767709996289
MAIN: 2025-03-17 08:17:06,663 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:17:36,382 - INFO - taking picture
MAIN: 2025-03-17 08:17:36,382 - INFO - we take 215 photos in this while loop
MAIN: 2025-03-17 08:17:36,382 - INFO - /home/pi/Desktop/images/17032025/08/17/image_17032025_08_17_36_29713.jpg
MAIN: 2025-03-17 08:17:36,383 - INFO - duration: 0.6889336460008053
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-03-17 08:18:06,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 ! 
MAIN: 2025-03-17 08:18:06,665 - INFO - taking picture
MAIN: 2025-03-17 08:18:06,666 - INFO - we take 216 photos in this while loop
MAIN: 2025-03-17 08:18:06,666 - INFO - /home/pi/Desktop/images/17032025/08/17/image_17032025_08_18_06_30269.jpg
MAIN: 2025-03-17 08:18:06,666 - INFO - duration: 0.7030291659993964
MAIN: 2025-03-17 08:18:06,666 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/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=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-03-17 08:18:36,330 - INFO - taking picture
MAIN: 2025-03-17 08:18:36,331 - INFO - we take 217 photos in this while loop
MAIN: 2025-03-17 08:18:36,331 - INFO - /home/pi/Desktop/images/17032025/08/18/image_17032025_08_18_35_29675.jpg
MAIN: 2025-03-17 08:18:36,331 - INFO - duration: 0.6927824989998044
Corrupt JPEG data: premature end of data segment
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-03-17 08:19:06,277 - INFO - taking picture
MAIN: 2025-03-17 08:19:06,277 - INFO - we take 218 photos in this while loop
MAIN: 2025-03-17 08:19:06,277 - INFO - /home/pi/Desktop/images/17032025/08/18/image_17032025_08_19_05_29952.jpg
MAIN: 2025-03-17 08:19:06,278 - INFO - duration: 0.6870768749995477
MAIN: 2025-03-17 08:19:06,278 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/19'
MAIN: 2025-03-17 08:19:06,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:19:37,400 - INFO - taking picture
MAIN: 2025-03-17 08:19:37,401 - INFO - we take 219 photos in this while loop
MAIN: 2025-03-17 08:19:37,401 - INFO - /home/pi/Desktop/images/17032025/08/19/image_17032025_08_19_37_31121.jpg
MAIN: 2025-03-17 08:19:37,401 - INFO - duration: 0.6893424479985697
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:20:06,440 - INFO - taking picture
MAIN: 2025-03-17 08:20:06,441 - INFO - we take 220 photos in this while loop
MAIN: 2025-03-17 08:20:06,441 - INFO - /home/pi/Desktop/images/17032025/08/19/image_17032025_08_20_06_29006.jpg
MAIN: 2025-03-17 08:20:06,441 - INFO - duration: 0.7224006769993139
MAIN: 2025-03-17 08:20:06,442 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/20'
MAIN: 2025-03-17 08:20: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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:20:37,267 - INFO - taking picture
MAIN: 2025-03-17 08:20:37,268 - INFO - we take 221 photos in this while loop
MAIN: 2025-03-17 08:20:37,268 - INFO - /home/pi/Desktop/images/17032025/08/20/image_17032025_08_20_36_30859.jpg
MAIN: 2025-03-17 08:20:37,268 - INFO - duration: 0.6901142709994019
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 08:21:05,608 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:21:07,265 - INFO - taking picture
MAIN: 2025-03-17 08:21:07,266 - INFO - we take 222 photos in this while loop
MAIN: 2025-03-17 08:21:07,266 - INFO - /home/pi/Desktop/images/17032025/08/20/image_17032025_08_21_06_29991.jpg
MAIN: 2025-03-17 08:21:07,266 - INFO - duration: 0.6968827599994256
MAIN: 2025-03-17 08:21:07,267 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/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-03-17 08:21:37,019 - INFO - taking picture
MAIN: 2025-03-17 08:21:37,020 - INFO - we take 223 photos in this while loop
MAIN: 2025-03-17 08:21:37,020 - INFO - /home/pi/Desktop/images/17032025/08/21/image_17032025_08_21_36_29755.jpg
MAIN: 2025-03-17 08:21:37,020 - INFO - duration: 0.6955397910005559
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 08:22: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=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-03-17 08:22:07,281 - INFO - taking picture
MAIN: 2025-03-17 08:22:07,281 - INFO - we take 224 photos in this while loop
MAIN: 2025-03-17 08:22:07,282 - INFO - /home/pi/Desktop/images/17032025/08/21/image_17032025_08_22_06_30258.jpg
MAIN: 2025-03-17 08:22:07,282 - INFO - duration: 0.6981274480003776
MAIN: 2025-03-17 08:22:07,282 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 08:22:36,952 - INFO - taking picture
MAIN: 2025-03-17 08:22:36,952 - INFO - we take 225 photos in this while loop
MAIN: 2025-03-17 08:22:36,952 - INFO - /home/pi/Desktop/images/17032025/08/22/image_17032025_08_22_36_29679.jpg
MAIN: 2025-03-17 08:22:36,953 - INFO - duration: 0.6891074479990493
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-03-17 08:23:05,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=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-03-17 08:23:06,915 - INFO - taking picture
MAIN: 2025-03-17 08:23:06,916 - INFO - we take 226 photos in this while loop
MAIN: 2025-03-17 08:23:06,916 - INFO - /home/pi/Desktop/images/17032025/08/22/image_17032025_08_23_06_29975.jpg
MAIN: 2025-03-17 08:23:06,917 - INFO - duration: 0.6778683850006928
MAIN: 2025-03-17 08:23:06,917 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:23:36,530 - INFO - taking picture
MAIN: 2025-03-17 08:23:36,531 - INFO - we take 227 photos in this while loop
MAIN: 2025-03-17 08:23:36,531 - INFO - /home/pi/Desktop/images/17032025/08/23/image_17032025_08_23_36_29612.jpg
MAIN: 2025-03-17 08:23:36,531 - INFO - duration: 0.679640936999931
Corrupt JPEG data: premature end of data segment
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-03-17 08:24:06,236 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:24:06,724 - INFO - taking picture
MAIN: 2025-03-17 08:24:06,725 - INFO - we take 228 photos in this while loop
MAIN: 2025-03-17 08:24:06,725 - INFO - /home/pi/Desktop/images/17032025/08/23/image_17032025_08_24_06_30173.jpg
MAIN: 2025-03-17 08:24:06,726 - INFO - duration: 0.7003513539984851
MAIN: 2025-03-17 08:24:06,726 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/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=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-03-17 08:24:36,321 - INFO - taking picture
MAIN: 2025-03-17 08:24:36,322 - INFO - we take 229 photos in this while loop
MAIN: 2025-03-17 08:24:36,322 - INFO - /home/pi/Desktop/images/17032025/08/24/image_17032025_08_24_35_29608.jpg
MAIN: 2025-03-17 08:24:36,322 - INFO - duration: 0.6886830199982796
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 08:25: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 ! 
MAIN: 2025-03-17 08:25:06,576 - INFO - taking picture
MAIN: 2025-03-17 08:25:06,578 - INFO - we take 230 photos in this while loop
MAIN: 2025-03-17 08:25:06,578 - INFO - /home/pi/Desktop/images/17032025/08/24/image_17032025_08_25_06_30246.jpg
MAIN: 2025-03-17 08:25:06,581 - INFO - duration: 0.7004323950004618
MAIN: 2025-03-17 08:25:06,582 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:25:36,251 - INFO - taking picture
MAIN: 2025-03-17 08:25:36,251 - INFO - we take 231 photos in this while loop
MAIN: 2025-03-17 08:25:36,251 - INFO - /home/pi/Desktop/images/17032025/08/25/image_17032025_08_25_35_29707.jpg
MAIN: 2025-03-17 08:25:36,252 - INFO - duration: 0.664045833000273
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 08:26:06,299 - INFO - taking picture
MAIN: 2025-03-17 08:26:06,300 - INFO - we take 232 photos in this while loop
MAIN: 2025-03-17 08:26:06,300 - INFO - /home/pi/Desktop/images/17032025/08/25/image_17032025_08_26_05_30030.jpg
MAIN: 2025-03-17 08:26:06,300 - INFO - duration: 0.6825511980005103
MAIN: 2025-03-17 08:26:06,301 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/26'
MAIN: 2025-03-17 08:26:06,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:26:37,223 - INFO - taking picture
MAIN: 2025-03-17 08:26:37,223 - INFO - we take 233 photos in this while loop
MAIN: 2025-03-17 08:26:37,224 - INFO - /home/pi/Desktop/images/17032025/08/26/image_17032025_08_26_36_30918.jpg
MAIN: 2025-03-17 08:26:37,224 - INFO - duration: 0.6877607810001791
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 08:27:05,663 - INFO - 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-03-17 08:27:07,514 - INFO - taking picture
MAIN: 2025-03-17 08:27:07,514 - INFO - we take 234 photos in this while loop
MAIN: 2025-03-17 08:27:07,514 - INFO - /home/pi/Desktop/images/17032025/08/26/image_17032025_08_27_07_30283.jpg
MAIN: 2025-03-17 08:27:07,515 - INFO - duration: 0.6952739060016029
MAIN: 2025-03-17 08:27:07,515 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/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=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-03-17 08:27:37,191 - INFO - taking picture
MAIN: 2025-03-17 08:27:37,192 - INFO - we take 235 photos in this while loop
MAIN: 2025-03-17 08:27:37,192 - INFO - /home/pi/Desktop/images/17032025/08/27/image_17032025_08_27_36_29674.jpg
MAIN: 2025-03-17 08:27:37,192 - INFO - duration: 0.6981199479996576
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 08:28: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=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-03-17 08:28:07,219 - INFO - taking picture
MAIN: 2025-03-17 08:28:07,220 - INFO - we take 236 photos in this while loop
MAIN: 2025-03-17 08:28:07,220 - INFO - /home/pi/Desktop/images/17032025/08/27/image_17032025_08_28_06_30062.jpg
MAIN: 2025-03-17 08:28:07,220 - INFO - duration: 0.6634633329995268
MAIN: 2025-03-17 08:28:07,220 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/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=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-03-17 08:28:36,934 - INFO - taking picture
MAIN: 2025-03-17 08:28:36,935 - INFO - we take 237 photos in this while loop
MAIN: 2025-03-17 08:28:36,935 - INFO - /home/pi/Desktop/images/17032025/08/28/image_17032025_08_28_36_29686.jpg
MAIN: 2025-03-17 08:28:36,935 - INFO - duration: 0.6927850510001008
Corrupt JPEG data: premature end of data segment
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-03-17 08:29:05,874 - INFO - 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-03-17 08:29:06,874 - INFO - taking picture
MAIN: 2025-03-17 08:29:06,875 - INFO - we take 238 photos in this while loop
MAIN: 2025-03-17 08:29:06,875 - INFO - /home/pi/Desktop/images/17032025/08/28/image_17032025_08_29_06_29999.jpg
MAIN: 2025-03-17 08:29:06,875 - INFO - duration: 0.6325454170000739
MAIN: 2025-03-17 08:29:06,876 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/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=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-03-17 08:29:36,616 - INFO - taking picture
MAIN: 2025-03-17 08:29:36,617 - INFO - we take 239 photos in this while loop
MAIN: 2025-03-17 08:29:36,617 - INFO - /home/pi/Desktop/images/17032025/08/29/image_17032025_08_29_36_29685.jpg
MAIN: 2025-03-17 08:29:36,617 - INFO - duration: 0.688778800998989
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=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-03-17 08:30:06,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 ! 
MAIN: 2025-03-17 08:30:06,907 - INFO - taking picture
MAIN: 2025-03-17 08:30:06,908 - INFO - we take 240 photos in this while loop
MAIN: 2025-03-17 08:30:06,909 - INFO - /home/pi/Desktop/images/17032025/08/29/image_17032025_08_30_06_30291.jpg
MAIN: 2025-03-17 08:30:06,909 - INFO - duration: 0.6889102599998296
MAIN: 2025-03-17 08:30:06,910 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:30:36,475 - INFO - taking picture
MAIN: 2025-03-17 08:30:36,476 - INFO - we take 241 photos in this while loop
MAIN: 2025-03-17 08:30:36,476 - INFO - /home/pi/Desktop/images/17032025/08/30/image_17032025_08_30_36_29564.jpg
MAIN: 2025-03-17 08:30:36,476 - INFO - duration: 0.6914976040006877
Corrupt JPEG data: premature end of data segment
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=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-03-17 08:31: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 ! 
MAIN: 2025-03-17 08:31:06,568 - INFO - taking picture
MAIN: 2025-03-17 08:31:06,569 - INFO - we take 242 photos in this while loop
MAIN: 2025-03-17 08:31:06,569 - INFO - /home/pi/Desktop/images/17032025/08/30/image_17032025_08_31_06_30080.jpg
MAIN: 2025-03-17 08:31:06,570 - INFO - duration: 0.704765051999857
MAIN: 2025-03-17 08:31:06,570 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/31'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:31:36,324 - INFO - taking picture
MAIN: 2025-03-17 08:31:36,325 - INFO - we take 243 photos in this while loop
MAIN: 2025-03-17 08:31:36,325 - INFO - /home/pi/Desktop/images/17032025/08/31/image_17032025_08_31_35_29765.jpg
MAIN: 2025-03-17 08:31:36,325 - INFO - duration: 0.6948923430009017
[ WARN:0] global /tmp/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-03-17 08:32:06,295 - INFO - taking picture
MAIN: 2025-03-17 08:32:06,296 - INFO - we take 244 photos in this while loop
MAIN: 2025-03-17 08:32:06,296 - INFO - /home/pi/Desktop/images/17032025/08/31/image_17032025_08_32_05_30001.jpg
MAIN: 2025-03-17 08:32:06,296 - INFO - duration: 0.6642865619996883
MAIN: 2025-03-17 08:32:06,297 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/32'
MAIN: 2025-03-17 08:32:06,874 - INFO - 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-03-17 08:32:37,218 - INFO - taking picture
MAIN: 2025-03-17 08:32:37,218 - INFO - we take 245 photos in this while loop
MAIN: 2025-03-17 08:32:37,219 - INFO - /home/pi/Desktop/images/17032025/08/32/image_17032025_08_32_36_30899.jpg
MAIN: 2025-03-17 08:32:37,219 - INFO - duration: 0.6871194790001027
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 08:33:05,420 - INFO - 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-03-17 08:33:07,442 - INFO - taking picture
MAIN: 2025-03-17 08:33:07,442 - INFO - we take 246 photos in this while loop
MAIN: 2025-03-17 08:33:07,443 - INFO - /home/pi/Desktop/images/17032025/08/32/image_17032025_08_33_07_30231.jpg
MAIN: 2025-03-17 08:33:07,443 - INFO - duration: 0.6794184370010043
MAIN: 2025-03-17 08:33:07,443 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/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-03-17 08:33:37,201 - INFO - taking picture
MAIN: 2025-03-17 08:33:37,202 - INFO - we take 247 photos in this while loop
MAIN: 2025-03-17 08:33:37,202 - INFO - /home/pi/Desktop/images/17032025/08/33/image_17032025_08_33_36_29750.jpg
MAIN: 2025-03-17 08:33:37,202 - INFO - duration: 0.6882115099997463
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 08:34: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=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-03-17 08:34:07,449 - INFO - taking picture
MAIN: 2025-03-17 08:34:07,449 - INFO - we take 248 photos in this while loop
MAIN: 2025-03-17 08:34:07,450 - INFO - /home/pi/Desktop/images/17032025/08/33/image_17032025_08_34_07_30231.jpg
MAIN: 2025-03-17 08:34:07,450 - INFO - duration: 0.7049766139989515
MAIN: 2025-03-17 08:34:07,450 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:34:37,210 - INFO - taking picture
MAIN: 2025-03-17 08:34:37,211 - INFO - we take 249 photos in this while loop
MAIN: 2025-03-17 08:34:37,211 - INFO - /home/pi/Desktop/images/17032025/08/34/image_17032025_08_34_36_29768.jpg
MAIN: 2025-03-17 08:34:37,211 - INFO - duration: 0.6979939059983735
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 08:35: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=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-03-17 08:35:07,362 - INFO - taking picture
MAIN: 2025-03-17 08:35:07,363 - INFO - we take 250 photos in this while loop
MAIN: 2025-03-17 08:35:07,363 - INFO - /home/pi/Desktop/images/17032025/08/34/image_17032025_08_35_06_30204.jpg
MAIN: 2025-03-17 08:35:07,363 - INFO - duration: 0.6455707810000604
MAIN: 2025-03-17 08:35:07,364 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/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=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-03-17 08:35:37,085 - INFO - taking picture
MAIN: 2025-03-17 08:35:37,086 - INFO - we take 251 photos in this while loop
MAIN: 2025-03-17 08:35:37,086 - INFO - /home/pi/Desktop/images/17032025/08/35/image_17032025_08_35_36_29673.jpg
MAIN: 2025-03-17 08:35:37,086 - INFO - duration: 0.6949030199994013
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 08:36:06,578 - INFO - 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-03-17 08:36:07,224 - INFO - taking picture
MAIN: 2025-03-17 08:36:07,224 - INFO - we take 252 photos in this while loop
MAIN: 2025-03-17 08:36:07,225 - INFO - /home/pi/Desktop/images/17032025/08/35/image_17032025_08_36_06_30113.jpg
MAIN: 2025-03-17 08:36:07,225 - INFO - duration: 0.7197501039991039
MAIN: 2025-03-17 08:36:07,225 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:36:36,784 - INFO - taking picture
MAIN: 2025-03-17 08:36:36,784 - INFO - we take 253 photos in this while loop
MAIN: 2025-03-17 08:36:36,785 - INFO - /home/pi/Desktop/images/17032025/08/36/image_17032025_08_36_36_29591.jpg
MAIN: 2025-03-17 08:36:36,785 - INFO - duration: 0.6878665099993668
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 08:37:06,462 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:37:07,024 - INFO - taking picture
MAIN: 2025-03-17 08:37:07,025 - INFO - we take 254 photos in this while loop
MAIN: 2025-03-17 08:37:07,025 - INFO - /home/pi/Desktop/images/17032025/08/36/image_17032025_08_37_06_30223.jpg
MAIN: 2025-03-17 08:37:07,025 - INFO - duration: 0.7048639059994457
MAIN: 2025-03-17 08:37:07,026 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:37:36,629 - INFO - taking picture
MAIN: 2025-03-17 08:37:36,630 - INFO - we take 255 photos in this while loop
MAIN: 2025-03-17 08:37:36,630 - INFO - /home/pi/Desktop/images/17032025/08/37/image_17032025_08_37_36_29618.jpg
MAIN: 2025-03-17 08:37:36,630 - INFO - duration: 0.6915008329997363
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 08:38:06,050 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:38:06,746 - INFO - taking picture
MAIN: 2025-03-17 08:38:06,747 - INFO - we take 256 photos in this while loop
MAIN: 2025-03-17 08:38:06,747 - INFO - /home/pi/Desktop/images/17032025/08/37/image_17032025_08_38_06_30119.jpg
MAIN: 2025-03-17 08:38:06,747 - INFO - duration: 0.6890127079986996
MAIN: 2025-03-17 08:38:06,748 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/38'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:38:36,326 - INFO - taking picture
MAIN: 2025-03-17 08:38:36,326 - INFO - we take 257 photos in this while loop
MAIN: 2025-03-17 08:38:36,326 - INFO - /home/pi/Desktop/images/17032025/08/38/image_17032025_08_38_35_29583.jpg
MAIN: 2025-03-17 08:38:36,327 - INFO - duration: 0.6851361970002472
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 08:39: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-03-17 08:39:06,377 - INFO - taking picture
MAIN: 2025-03-17 08:39:06,377 - INFO - we take 258 photos in this while loop
MAIN: 2025-03-17 08:39:06,377 - INFO - /home/pi/Desktop/images/17032025/08/38/image_17032025_08_39_05_30035.jpg
MAIN: 2025-03-17 08:39:06,378 - INFO - duration: 0.7010265619992424
MAIN: 2025-03-17 08:39:06,378 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/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=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-03-17 08:39:37,354 - INFO - taking picture
MAIN: 2025-03-17 08:39:37,354 - INFO - we take 259 photos in this while loop
MAIN: 2025-03-17 08:39:37,354 - INFO - /home/pi/Desktop/images/17032025/08/39/image_17032025_08_39_36_30991.jpg
MAIN: 2025-03-17 08:39:37,355 - INFO - duration: 0.6866561459992226
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:40:06,323 - INFO - taking picture
MAIN: 2025-03-17 08:40:06,323 - INFO - we take 260 photos in this while loop
MAIN: 2025-03-17 08:40:06,323 - INFO - /home/pi/Desktop/images/17032025/08/39/image_17032025_08_40_05_28986.jpg
MAIN: 2025-03-17 08:40:06,324 - INFO - duration: 0.6693649990011181
MAIN: 2025-03-17 08:40:06,324 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/40'
MAIN: 2025-03-17 08:40:07,281 - INFO - 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=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-03-17 08:40:37,301 - INFO - taking picture
MAIN: 2025-03-17 08:40:37,302 - INFO - we take 261 photos in this while loop
MAIN: 2025-03-17 08:40:37,302 - INFO - /home/pi/Desktop/images/17032025/08/40/image_17032025_08_40_36_30953.jpg
MAIN: 2025-03-17 08:40:37,302 - INFO - duration: 0.6950967709999532
Corrupt JPEG data: premature end of data segment
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-03-17 08:41:06,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=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-03-17 08:41:07,187 - INFO - taking picture
MAIN: 2025-03-17 08:41:07,187 - INFO - we take 262 photos in this while loop
MAIN: 2025-03-17 08:41:07,187 - INFO - /home/pi/Desktop/images/17032025/08/40/image_17032025_08_41_06_29946.jpg
MAIN: 2025-03-17 08:41:07,188 - INFO - duration: 0.6339152079999621
MAIN: 2025-03-17 08:41:07,188 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:41:36,922 - INFO - taking picture
MAIN: 2025-03-17 08:41:36,922 - INFO - we take 263 photos in this while loop
MAIN: 2025-03-17 08:41:36,923 - INFO - /home/pi/Desktop/images/17032025/08/41/image_17032025_08_41_36_29706.jpg
MAIN: 2025-03-17 08:41:36,923 - INFO - duration: 0.6624707289993239
Corrupt JPEG data: premature end of data segment
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-03-17 08:42:06,929 - INFO - 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-03-17 08:42:07,201 - INFO - taking picture
MAIN: 2025-03-17 08:42:07,201 - INFO - we take 264 photos in this while loop
MAIN: 2025-03-17 08:42:07,202 - INFO - /home/pi/Desktop/images/17032025/08/41/image_17032025_08_42_06_30190.jpg
MAIN: 2025-03-17 08:42:07,202 - INFO - duration: 0.7507141139994928
MAIN: 2025-03-17 08:42:07,202 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/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=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-03-17 08:42:36,932 - INFO - taking picture
MAIN: 2025-03-17 08:42:36,933 - INFO - we take 265 photos in this while loop
MAIN: 2025-03-17 08:42:36,933 - INFO - /home/pi/Desktop/images/17032025/08/42/image_17032025_08_42_36_29793.jpg
MAIN: 2025-03-17 08:42:36,933 - INFO - duration: 0.6882090629987943
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-03-17 08:43: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:43:06,703 - INFO - taking picture
MAIN: 2025-03-17 08:43:06,704 - INFO - we take 266 photos in this while loop
MAIN: 2025-03-17 08:43:06,704 - INFO - /home/pi/Desktop/images/17032025/08/42/image_17032025_08_43_06_29827.jpg
MAIN: 2025-03-17 08:43:06,704 - INFO - duration: 0.6315745829997468
MAIN: 2025-03-17 08:43:06,705 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/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=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-03-17 08:43:36,291 - INFO - taking picture
MAIN: 2025-03-17 08:43:36,292 - INFO - we take 267 photos in this while loop
MAIN: 2025-03-17 08:43:36,292 - INFO - /home/pi/Desktop/images/17032025/08/43/image_17032025_08_43_35_29557.jpg
MAIN: 2025-03-17 08:43:36,292 - INFO - duration: 0.6626171360003354
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 08:44: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=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-03-17 08:44:07,486 - INFO - taking picture
MAIN: 2025-03-17 08:44:07,486 - INFO - we take 268 photos in this while loop
MAIN: 2025-03-17 08:44:07,486 - INFO - /home/pi/Desktop/images/17032025/08/43/image_17032025_08_44_07_31183.jpg
MAIN: 2025-03-17 08:44:07,487 - INFO - duration: 0.6728561979998631
MAIN: 2025-03-17 08:44:07,487 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/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=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-03-17 08:44:36,945 - INFO - taking picture
MAIN: 2025-03-17 08:44:36,946 - INFO - we take 269 photos in this while loop
MAIN: 2025-03-17 08:44:36,946 - INFO - /home/pi/Desktop/images/17032025/08/44/image_17032025_08_44_36_29470.jpg
MAIN: 2025-03-17 08:44:36,946 - INFO - duration: 0.6611638539998239
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 08:45: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=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-03-17 08:45:07,239 - INFO - taking picture
MAIN: 2025-03-17 08:45:07,240 - INFO - we take 270 photos in this while loop
MAIN: 2025-03-17 08:45:07,240 - INFO - /home/pi/Desktop/images/17032025/08/44/image_17032025_08_45_06_30263.jpg
MAIN: 2025-03-17 08:45:07,241 - INFO - duration: 0.6924499479991937
MAIN: 2025-03-17 08:45:07,241 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/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=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-03-17 08:45:36,740 - INFO - taking picture
MAIN: 2025-03-17 08:45:36,740 - INFO - we take 271 photos in this while loop
MAIN: 2025-03-17 08:45:36,740 - INFO - /home/pi/Desktop/images/17032025/08/45/image_17032025_08_45_36_29514.jpg
MAIN: 2025-03-17 08:45:36,741 - INFO - duration: 0.6783054170009564
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 08:46:06,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 ! 
MAIN: 2025-03-17 08:46:06,776 - INFO - taking picture
MAIN: 2025-03-17 08:46:06,777 - INFO - we take 272 photos in this while loop
MAIN: 2025-03-17 08:46:06,777 - INFO - /home/pi/Desktop/images/17032025/08/45/image_17032025_08_46_06_30011.jpg
MAIN: 2025-03-17 08:46:06,777 - INFO - duration: 0.7032190619993344
MAIN: 2025-03-17 08:46:06,778 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:46:36,313 - INFO - taking picture
MAIN: 2025-03-17 08:46:36,314 - INFO - we take 273 photos in this while loop
MAIN: 2025-03-17 08:46:36,314 - INFO - /home/pi/Desktop/images/17032025/08/46/image_17032025_08_46_35_29558.jpg
MAIN: 2025-03-17 08:46:36,314 - INFO - duration: 0.6816482289996202
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 08:47: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=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-03-17 08:47:07,481 - INFO - taking picture
MAIN: 2025-03-17 08:47:07,482 - INFO - we take 274 photos in this while loop
MAIN: 2025-03-17 08:47:07,482 - INFO - /home/pi/Desktop/images/17032025/08/46/image_17032025_08_47_07_31216.jpg
MAIN: 2025-03-17 08:47:07,482 - INFO - duration: 0.6329695830008859
MAIN: 2025-03-17 08:47:07,482 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:47:37,140 - INFO - taking picture
MAIN: 2025-03-17 08:47:37,140 - INFO - we take 275 photos in this while loop
MAIN: 2025-03-17 08:47:37,140 - INFO - /home/pi/Desktop/images/17032025/08/47/image_17032025_08_47_36_29619.jpg
MAIN: 2025-03-17 08:47:37,141 - INFO - duration: 0.6723427079996327
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-03-17 08:48: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 ! 
MAIN: 2025-03-17 08:48:06,263 - INFO - taking picture
MAIN: 2025-03-17 08:48:06,264 - INFO - we take 276 photos in this while loop
MAIN: 2025-03-17 08:48:06,264 - INFO - /home/pi/Desktop/images/17032025/08/47/image_17032025_08_48_05_29115.jpg
MAIN: 2025-03-17 08:48:06,264 - INFO - duration: 0.6805481240007794
MAIN: 2025-03-17 08:48:06,265 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/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=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-03-17 08:48:37,094 - INFO - taking picture
MAIN: 2025-03-17 08:48:37,095 - INFO - we take 277 photos in this while loop
MAIN: 2025-03-17 08:48:37,095 - INFO - /home/pi/Desktop/images/17032025/08/48/image_17032025_08_48_36_30820.jpg
MAIN: 2025-03-17 08:48:37,095 - INFO - duration: 0.6905104160014162
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 08:49: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=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-03-17 08:49:06,876 - INFO - taking picture
MAIN: 2025-03-17 08:49:06,877 - INFO - we take 278 photos in this while loop
MAIN: 2025-03-17 08:49:06,877 - INFO - /home/pi/Desktop/images/17032025/08/48/image_17032025_08_49_06_29832.jpg
MAIN: 2025-03-17 08:49:06,877 - INFO - duration: 0.6398284370006877
MAIN: 2025-03-17 08:49:06,877 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:49:36,432 - INFO - taking picture
MAIN: 2025-03-17 08:49:36,432 - INFO - we take 279 photos in this while loop
MAIN: 2025-03-17 08:49:36,433 - INFO - /home/pi/Desktop/images/17032025/08/49/image_17032025_08_49_36_29508.jpg
MAIN: 2025-03-17 08:49:36,433 - INFO - duration: 0.6875260939996224
Corrupt JPEG data: premature end of data segment
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-03-17 08:50:06,759 - INFO - taking picture
MAIN: 2025-03-17 08:50:06,760 - INFO - we take 280 photos in this while loop
MAIN: 2025-03-17 08:50:06,760 - INFO - /home/pi/Desktop/images/17032025/08/49/image_17032025_08_50_06_30335.jpg
MAIN: 2025-03-17 08:50:06,761 - INFO - duration: 0.6797860410006251
MAIN: 2025-03-17 08:50:06,761 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/50'
MAIN: 2025-03-17 08:50:06,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:50:36,323 - INFO - taking picture
MAIN: 2025-03-17 08:50:36,324 - INFO - we take 281 photos in this while loop
MAIN: 2025-03-17 08:50:36,324 - INFO - /home/pi/Desktop/images/17032025/08/50/image_17032025_08_50_35_29554.jpg
MAIN: 2025-03-17 08:50:36,324 - INFO - duration: 0.688503123999908
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-03-17 08:51: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 ! 
MAIN: 2025-03-17 08:51:06,406 - INFO - taking picture
MAIN: 2025-03-17 08:51:06,407 - INFO - we take 282 photos in this while loop
MAIN: 2025-03-17 08:51:06,407 - INFO - /home/pi/Desktop/images/17032025/08/50/image_17032025_08_51_06_30081.jpg
MAIN: 2025-03-17 08:51:06,407 - INFO - duration: 0.6904876560001867
MAIN: 2025-03-17 08:51:06,408 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/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=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-03-17 08:51:37,461 - INFO - taking picture
MAIN: 2025-03-17 08:51:37,462 - INFO - we take 283 photos in this while loop
MAIN: 2025-03-17 08:51:37,462 - INFO - /home/pi/Desktop/images/17032025/08/51/image_17032025_08_51_37_31098.jpg
MAIN: 2025-03-17 08:51:37,462 - INFO - duration: 0.6465897400012182
Corrupt JPEG data: premature end of data segment
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-03-17 08:52:06,340 - INFO - taking picture
MAIN: 2025-03-17 08:52:06,341 - INFO - we take 284 photos in this while loop
MAIN: 2025-03-17 08:52:06,341 - INFO - /home/pi/Desktop/images/17032025/08/51/image_17032025_08_52_05_28859.jpg
MAIN: 2025-03-17 08:52:06,341 - INFO - duration: 0.6666456769999058
MAIN: 2025-03-17 08:52:06,342 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/52'
MAIN: 2025-03-17 08:52: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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:52:37,232 - INFO - taking picture
MAIN: 2025-03-17 08:52:37,232 - INFO - we take 285 photos in this while loop
MAIN: 2025-03-17 08:52:37,232 - INFO - /home/pi/Desktop/images/17032025/08/52/image_17032025_08_52_36_30868.jpg
MAIN: 2025-03-17 08:52:37,232 - INFO - duration: 0.6891300520001096
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-03-17 08:53: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=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-03-17 08:53:07,230 - INFO - taking picture
MAIN: 2025-03-17 08:53:07,231 - INFO - we take 286 photos in this while loop
MAIN: 2025-03-17 08:53:07,231 - INFO - /home/pi/Desktop/images/17032025/08/52/image_17032025_08_53_06_30006.jpg
MAIN: 2025-03-17 08:53:07,232 - INFO - duration: 0.6815551039999264
MAIN: 2025-03-17 08:53:07,232 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/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=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-03-17 08:53:36,859 - INFO - taking picture
MAIN: 2025-03-17 08:53:36,860 - INFO - we take 287 photos in this while loop
MAIN: 2025-03-17 08:53:36,860 - INFO - /home/pi/Desktop/images/17032025/08/53/image_17032025_08_53_36_29611.jpg
MAIN: 2025-03-17 08:53:36,860 - INFO - duration: 0.6984504160009237
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 08:54: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=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-03-17 08:54:06,879 - INFO - taking picture
MAIN: 2025-03-17 08:54:06,880 - INFO - we take 288 photos in this while loop
MAIN: 2025-03-17 08:54:06,880 - INFO - /home/pi/Desktop/images/17032025/08/53/image_17032025_08_54_06_30012.jpg
MAIN: 2025-03-17 08:54:06,880 - INFO - duration: 0.7057886459988367
MAIN: 2025-03-17 08:54:06,881 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 08:54:36,602 - INFO - taking picture
MAIN: 2025-03-17 08:54:36,602 - INFO - we take 289 photos in this while loop
MAIN: 2025-03-17 08:54:36,602 - INFO - /home/pi/Desktop/images/17032025/08/54/image_17032025_08_54_36_29722.jpg
MAIN: 2025-03-17 08:54:36,603 - INFO - duration: 0.7056773959993734
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 08:55: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:55:06,813 - INFO - taking picture
MAIN: 2025-03-17 08:55:06,814 - INFO - we take 290 photos in this while loop
MAIN: 2025-03-17 08:55:06,814 - INFO - /home/pi/Desktop/images/17032025/08/54/image_17032025_08_55_06_30230.jpg
MAIN: 2025-03-17 08:55:06,815 - INFO - duration: 0.6868865100004768
MAIN: 2025-03-17 08:55:06,815 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:55:36,298 - INFO - taking picture
MAIN: 2025-03-17 08:55:36,299 - INFO - we take 291 photos in this while loop
MAIN: 2025-03-17 08:55:36,299 - INFO - /home/pi/Desktop/images/17032025/08/55/image_17032025_08_55_35_29487.jpg
MAIN: 2025-03-17 08:55:36,299 - INFO - duration: 0.6840568219995475
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 08:56:06,326 - INFO - taking picture
MAIN: 2025-03-17 08:56:06,327 - INFO - we take 292 photos in this while loop
MAIN: 2025-03-17 08:56:06,327 - INFO - /home/pi/Desktop/images/17032025/08/55/image_17032025_08_56_05_30011.jpg
MAIN: 2025-03-17 08:56:06,327 - INFO - duration: 0.7010043740010587
MAIN: 2025-03-17 08:56:06,328 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/56'
MAIN: 2025-03-17 08:56: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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:56:37,266 - INFO - taking picture
MAIN: 2025-03-17 08:56:37,267 - INFO - we take 293 photos in this while loop
MAIN: 2025-03-17 08:56:37,267 - INFO - /home/pi/Desktop/images/17032025/08/56/image_17032025_08_56_36_30940.jpg
MAIN: 2025-03-17 08:56:37,268 - INFO - duration: 0.7000845309994475
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-03-17 08:57: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-03-17 08:57:07,239 - INFO - taking picture
MAIN: 2025-03-17 08:57:07,240 - INFO - we take 294 photos in this while loop
MAIN: 2025-03-17 08:57:07,240 - INFO - /home/pi/Desktop/images/17032025/08/56/image_17032025_08_57_06_30040.jpg
MAIN: 2025-03-17 08:57:07,240 - INFO - duration: 0.6324032289994648
MAIN: 2025-03-17 08:57:07,241 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/57'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:57:36,843 - INFO - taking picture
MAIN: 2025-03-17 08:57:36,844 - INFO - we take 295 photos in this while loop
MAIN: 2025-03-17 08:57:36,844 - INFO - /home/pi/Desktop/images/17032025/08/57/image_17032025_08_57_36_29531.jpg
MAIN: 2025-03-17 08:57:36,844 - INFO - duration: 0.7053422919998411
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 08:58:06,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=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-03-17 08:58:07,211 - INFO - taking picture
MAIN: 2025-03-17 08:58:07,212 - INFO - we take 296 photos in this while loop
MAIN: 2025-03-17 08:58:07,212 - INFO - /home/pi/Desktop/images/17032025/08/57/image_17032025_08_58_06_30359.jpg
MAIN: 2025-03-17 08:58:07,212 - INFO - duration: 0.7137836980000429
MAIN: 2025-03-17 08:58:07,213 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/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=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-03-17 08:58:36,727 - INFO - taking picture
MAIN: 2025-03-17 08:58:36,728 - INFO - we take 297 photos in this while loop
MAIN: 2025-03-17 08:58:36,728 - INFO - /home/pi/Desktop/images/17032025/08/58/image_17032025_08_58_36_29539.jpg
MAIN: 2025-03-17 08:58:36,728 - INFO - duration: 0.69026515600126
Corrupt JPEG data: premature end of data segment
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-03-17 08:59: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:59:06,689 - INFO - taking picture
MAIN: 2025-03-17 08:59:06,689 - INFO - we take 298 photos in this while loop
MAIN: 2025-03-17 08:59:06,689 - INFO - /home/pi/Desktop/images/17032025/08/58/image_17032025_08_59_06_29965.jpg
MAIN: 2025-03-17 08:59:06,690 - INFO - duration: 0.6863811450002686
MAIN: 2025-03-17 08:59:06,690 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/08/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 08:59:36,393 - INFO - taking picture
MAIN: 2025-03-17 08:59:36,393 - INFO - we take 299 photos in this while loop
MAIN: 2025-03-17 08:59:36,393 - INFO - /home/pi/Desktop/images/17032025/08/59/image_17032025_08_59_36_29698.jpg
MAIN: 2025-03-17 08:59:36,394 - INFO - duration: 0.6919940099996893
Corrupt JPEG data: premature end of data segment
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=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-03-17 09:00: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 ! 
MAIN: 2025-03-17 09:00:06,844 - INFO - taking picture
MAIN: 2025-03-17 09:00:06,845 - INFO - we take 300 photos in this while loop
MAIN: 2025-03-17 09:00:06,845 - INFO - /home/pi/Desktop/images/17032025/08/59/image_17032025_09_00_06_30459.jpg
MAIN: 2025-03-17 09:00:06,846 - INFO - duration: 0.6846383850006532
MAIN: 2025-03-17 09:00:06,846 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:00:37,542 - INFO - taking picture
MAIN: 2025-03-17 09:00:37,543 - INFO - we take 301 photos in this while loop
MAIN: 2025-03-17 09:00:37,543 - INFO - /home/pi/Desktop/images/17032025/09/00/image_17032025_09_00_37_30698.jpg
MAIN: 2025-03-17 09:00:37,543 - INFO - duration: 0.6832218750005268
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 09:01:06,324 - INFO - taking picture
MAIN: 2025-03-17 09:01:06,324 - INFO - we take 302 photos in this while loop
MAIN: 2025-03-17 09:01:06,325 - INFO - /home/pi/Desktop/images/17032025/09/00/image_17032025_09_01_05_28776.jpg
MAIN: 2025-03-17 09:01:06,325 - INFO - duration: 0.6880928640002821
MAIN: 2025-03-17 09:01:06,325 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/01'
MAIN: 2025-03-17 09:01:06,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=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-03-17 09:01:37,357 - INFO - taking picture
MAIN: 2025-03-17 09:01:37,357 - INFO - we take 303 photos in this while loop
MAIN: 2025-03-17 09:01:37,358 - INFO - /home/pi/Desktop/images/17032025/09/01/image_17032025_09_01_36_31020.jpg
MAIN: 2025-03-17 09:01:37,358 - INFO - duration: 0.7006726560011884
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 09:02:06,692 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:02:07,410 - INFO - taking picture
MAIN: 2025-03-17 09:02:07,411 - INFO - we take 304 photos in this while loop
MAIN: 2025-03-17 09:02:07,411 - INFO - /home/pi/Desktop/images/17032025/09/01/image_17032025_09_02_07_30077.jpg
MAIN: 2025-03-17 09:02:07,411 - INFO - duration: 0.6765038539997477
MAIN: 2025-03-17 09:02:07,412 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:02:36,962 - INFO - taking picture
MAIN: 2025-03-17 09:02:36,963 - INFO - we take 305 photos in this while loop
MAIN: 2025-03-17 09:02:36,963 - INFO - /home/pi/Desktop/images/17032025/09/02/image_17032025_09_02_36_29541.jpg
MAIN: 2025-03-17 09:02:36,963 - INFO - duration: 0.6872880730006727
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-03-17 09:03:05,532 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:03:07,243 - INFO - taking picture
MAIN: 2025-03-17 09:03:07,244 - INFO - we take 306 photos in this while loop
MAIN: 2025-03-17 09:03:07,244 - INFO - /home/pi/Desktop/images/17032025/09/02/image_17032025_09_03_06_30261.jpg
MAIN: 2025-03-17 09:03:07,244 - INFO - duration: 0.7072421869997925
MAIN: 2025-03-17 09:03:07,245 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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=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-03-17 09:03:36,909 - INFO - taking picture
MAIN: 2025-03-17 09:03:36,910 - INFO - we take 307 photos in this while loop
MAIN: 2025-03-17 09:03:36,910 - INFO - /home/pi/Desktop/images/17032025/09/03/image_17032025_09_03_36_29677.jpg
MAIN: 2025-03-17 09:03:36,910 - INFO - duration: 0.6954563530016458
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 09:04: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=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-03-17 09:04:07,004 - INFO - taking picture
MAIN: 2025-03-17 09:04:07,005 - INFO - we take 308 photos in this while loop
MAIN: 2025-03-17 09:04:07,005 - INFO - /home/pi/Desktop/images/17032025/09/03/image_17032025_09_04_06_30079.jpg
MAIN: 2025-03-17 09:04:07,006 - INFO - duration: 0.7111873960020603
MAIN: 2025-03-17 09:04:07,006 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:04:36,704 - INFO - taking picture
MAIN: 2025-03-17 09:04:36,705 - INFO - we take 309 photos in this while loop
MAIN: 2025-03-17 09:04:36,705 - INFO - /home/pi/Desktop/images/17032025/09/04/image_17032025_09_04_36_29730.jpg
MAIN: 2025-03-17 09:04:36,705 - INFO - duration: 0.6806162499997299
Corrupt JPEG data: premature end of data segment
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=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-03-17 09:05:06,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 ! 
MAIN: 2025-03-17 09:05:06,914 - INFO - taking picture
MAIN: 2025-03-17 09:05:06,915 - INFO - we take 310 photos in this while loop
MAIN: 2025-03-17 09:05:06,915 - INFO - /home/pi/Desktop/images/17032025/09/04/image_17032025_09_05_06_30188.jpg
MAIN: 2025-03-17 09:05:06,916 - INFO - duration: 0.7020499989994278
MAIN: 2025-03-17 09:05:06,916 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:05:36,570 - INFO - taking picture
MAIN: 2025-03-17 09:05:36,571 - INFO - we take 311 photos in this while loop
MAIN: 2025-03-17 09:05:36,571 - INFO - /home/pi/Desktop/images/17032025/09/05/image_17032025_09_05_36_29666.jpg
MAIN: 2025-03-17 09:05:36,571 - INFO - duration: 0.6903685940014839
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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
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-03-17 09:06:06,704 - INFO - 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-03-17 09:06:06,957 - INFO - taking picture
MAIN: 2025-03-17 09:06:06,958 - INFO - we take 312 photos in this while loop
MAIN: 2025-03-17 09:06:06,958 - INFO - /home/pi/Desktop/images/17032025/09/05/image_17032025_09_06_06_30385.jpg
MAIN: 2025-03-17 09:06:06,958 - INFO - duration: 0.6927323960007925
MAIN: 2025-03-17 09:06:06,959 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:06:36,581 - INFO - taking picture
MAIN: 2025-03-17 09:06:36,582 - INFO - we take 313 photos in this while loop
MAIN: 2025-03-17 09:06:36,582 - INFO - /home/pi/Desktop/images/17032025/09/06/image_17032025_09_06_36_29626.jpg
MAIN: 2025-03-17 09:06:36,582 - INFO - duration: 0.689979738999682
Corrupt JPEG data: premature end of data segment
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=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-03-17 09:07:06,480 - INFO - taking picture
MAIN: 2025-03-17 09:07:06,481 - INFO - we take 314 photos in this while loop
MAIN: 2025-03-17 09:07:06,481 - INFO - /home/pi/Desktop/images/17032025/09/06/image_17032025_09_07_06_29896.jpg
MAIN: 2025-03-17 09:07:06,481 - INFO - duration: 0.6927011459993082
MAIN: 2025-03-17 09:07:06,482 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/07'
MAIN: 2025-03-17 09:07: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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:07:37,501 - INFO - taking picture
MAIN: 2025-03-17 09:07:37,502 - INFO - we take 315 photos in this while loop
MAIN: 2025-03-17 09:07:37,502 - INFO - /home/pi/Desktop/images/17032025/09/07/image_17032025_09_07_37_31048.jpg
MAIN: 2025-03-17 09:07:37,502 - INFO - duration: 0.6652607809992332
Corrupt JPEG data: premature end of data segment
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-03-17 09:08:06,255 - INFO - 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-03-17 09:08:06,423 - INFO - taking picture
MAIN: 2025-03-17 09:08:06,424 - INFO - we take 316 photos in this while loop
MAIN: 2025-03-17 09:08:06,424 - INFO - /home/pi/Desktop/images/17032025/09/07/image_17032025_09_08_06_28891.jpg
MAIN: 2025-03-17 09:08:06,424 - INFO - duration: 0.6952211980024003
MAIN: 2025-03-17 09:08:06,424 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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=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-03-17 09:08:37,319 - INFO - taking picture
MAIN: 2025-03-17 09:08:37,320 - INFO - we take 317 photos in this while loop
MAIN: 2025-03-17 09:08:37,320 - INFO - /home/pi/Desktop/images/17032025/09/08/image_17032025_09_08_36_30909.jpg
MAIN: 2025-03-17 09:08:37,320 - INFO - duration: 0.6820110940025188
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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=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-03-17 09:09: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 ! 
MAIN: 2025-03-17 09:09:06,288 - INFO - taking picture
MAIN: 2025-03-17 09:09:06,288 - INFO - we take 318 photos in this while loop
MAIN: 2025-03-17 09:09:06,289 - INFO - /home/pi/Desktop/images/17032025/09/08/image_17032025_09_09_05_28946.jpg
MAIN: 2025-03-17 09:09:06,289 - INFO - duration: 0.7044226560028619
MAIN: 2025-03-17 09:09:06,289 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:09:37,292 - INFO - taking picture
MAIN: 2025-03-17 09:09:37,293 - INFO - we take 319 photos in this while loop
MAIN: 2025-03-17 09:09:37,293 - INFO - /home/pi/Desktop/images/17032025/09/09/image_17032025_09_09_36_31020.jpg
MAIN: 2025-03-17 09:09:37,293 - INFO - duration: 0.6876527079984953
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-03-17 09:10: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:10:07,464 - INFO - taking picture
MAIN: 2025-03-17 09:10:07,465 - INFO - we take 320 photos in this while loop
MAIN: 2025-03-17 09:10:07,465 - INFO - /home/pi/Desktop/images/17032025/09/09/image_17032025_09_10_07_30181.jpg
MAIN: 2025-03-17 09:10:07,466 - INFO - duration: 0.6790116670017596
MAIN: 2025-03-17 09:10:07,466 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:10:37,036 - INFO - taking picture
MAIN: 2025-03-17 09:10:37,036 - INFO - we take 321 photos in this while loop
MAIN: 2025-03-17 09:10:37,037 - INFO - /home/pi/Desktop/images/17032025/09/10/image_17032025_09_10_36_29557.jpg
MAIN: 2025-03-17 09:10:37,037 - INFO - duration: 0.6925571350002429
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 09:11:06,293 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:11:06,856 - INFO - taking picture
MAIN: 2025-03-17 09:11:06,857 - INFO - we take 322 photos in this while loop
MAIN: 2025-03-17 09:11:06,857 - INFO - /home/pi/Desktop/images/17032025/09/10/image_17032025_09_11_06_29796.jpg
MAIN: 2025-03-17 09:11:06,857 - INFO - duration: 0.7163079169986304
MAIN: 2025-03-17 09:11:06,857 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:11:36,534 - INFO - taking picture
MAIN: 2025-03-17 09:11:36,535 - INFO - we take 323 photos in this while loop
MAIN: 2025-03-17 09:11:36,535 - INFO - /home/pi/Desktop/images/17032025/09/11/image_17032025_09_11_36_29710.jpg
MAIN: 2025-03-17 09:11:36,535 - INFO - duration: 0.6846130199992331
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 09:12:06,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 ! 
MAIN: 2025-03-17 09:12:06,874 - INFO - taking picture
MAIN: 2025-03-17 09:12:06,874 - INFO - we take 324 photos in this while loop
MAIN: 2025-03-17 09:12:06,874 - INFO - /home/pi/Desktop/images/17032025/09/11/image_17032025_09_12_06_30292.jpg
MAIN: 2025-03-17 09:12:06,875 - INFO - duration: 0.7317101560001902
MAIN: 2025-03-17 09:12:06,875 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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=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-03-17 09:12:36,527 - INFO - taking picture
MAIN: 2025-03-17 09:12:36,527 - INFO - we take 325 photos in this while loop
MAIN: 2025-03-17 09:12:36,528 - INFO - /home/pi/Desktop/images/17032025/09/12/image_17032025_09_12_36_29695.jpg
MAIN: 2025-03-17 09:12:36,528 - INFO - duration: 0.6896784370001114
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 09:13:05,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=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-03-17 09:13:06,462 - INFO - taking picture
MAIN: 2025-03-17 09:13:06,463 - INFO - we take 326 photos in this while loop
MAIN: 2025-03-17 09:13:06,463 - INFO - /home/pi/Desktop/images/17032025/09/12/image_17032025_09_13_06_29991.jpg
MAIN: 2025-03-17 09:13:06,463 - INFO - duration: 0.6335920310011716
MAIN: 2025-03-17 09:13:06,463 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/13'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:13:37,391 - INFO - taking picture
MAIN: 2025-03-17 09:13:37,392 - INFO - we take 327 photos in this while loop
MAIN: 2025-03-17 09:13:37,392 - INFO - /home/pi/Desktop/images/17032025/09/13/image_17032025_09_13_37_30896.jpg
MAIN: 2025-03-17 09:13:37,392 - INFO - duration: 0.6662861980003072
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 09:14: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 ! 
MAIN: 2025-03-17 09:14:06,428 - INFO - taking picture
MAIN: 2025-03-17 09:14:06,428 - INFO - we take 328 photos in this while loop
MAIN: 2025-03-17 09:14:06,428 - INFO - /home/pi/Desktop/images/17032025/09/13/image_17032025_09_14_06_29002.jpg
MAIN: 2025-03-17 09:14:06,429 - INFO - duration: 0.6996997910027858
MAIN: 2025-03-17 09:14:06,429 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:14:37,312 - INFO - taking picture
MAIN: 2025-03-17 09:14:37,313 - INFO - we take 329 photos in this while loop
MAIN: 2025-03-17 09:14:37,313 - INFO - /home/pi/Desktop/images/17032025/09/14/image_17032025_09_14_36_30899.jpg
MAIN: 2025-03-17 09:14:37,313 - INFO - duration: 0.6844560939971416
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 09:15:06,321 - INFO - taking picture
MAIN: 2025-03-17 09:15:06,322 - INFO - we take 330 photos in this while loop
MAIN: 2025-03-17 09:15:06,322 - INFO - /home/pi/Desktop/images/17032025/09/14/image_17032025_09_15_05_28999.jpg
MAIN: 2025-03-17 09:15:06,322 - INFO - duration: 0.6942631250021805
MAIN: 2025-03-17 09:15:06,323 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/15'
MAIN: 2025-03-17 09:15:06,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:15:37,173 - INFO - taking picture
MAIN: 2025-03-17 09:15:37,174 - INFO - we take 331 photos in this while loop
MAIN: 2025-03-17 09:15:37,174 - INFO - /home/pi/Desktop/images/17032025/09/15/image_17032025_09_15_36_30882.jpg
MAIN: 2025-03-17 09:15:37,174 - INFO - duration: 0.6635085929992783
Corrupt JPEG data: premature end of data segment
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-03-17 09:16:06,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=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-03-17 09:16:07,254 - INFO - taking picture
MAIN: 2025-03-17 09:16:07,254 - INFO - we take 332 photos in this while loop
MAIN: 2025-03-17 09:16:07,254 - INFO - /home/pi/Desktop/images/17032025/09/15/image_17032025_09_16_06_30051.jpg
MAIN: 2025-03-17 09:16:07,255 - INFO - duration: 0.6925490620014898
MAIN: 2025-03-17 09:16:07,255 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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=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-03-17 09:16:36,948 - INFO - taking picture
MAIN: 2025-03-17 09:16:36,949 - INFO - we take 333 photos in this while loop
MAIN: 2025-03-17 09:16:36,949 - INFO - /home/pi/Desktop/images/17032025/09/16/image_17032025_09_16_36_29695.jpg
MAIN: 2025-03-17 09:16:36,949 - INFO - duration: 0.6915224469994428
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 09:17: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=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-03-17 09:17:06,912 - INFO - taking picture
MAIN: 2025-03-17 09:17:06,912 - INFO - we take 334 photos in this while loop
MAIN: 2025-03-17 09:17:06,913 - INFO - /home/pi/Desktop/images/17032025/09/16/image_17032025_09_17_06_29950.jpg
MAIN: 2025-03-17 09:17:06,913 - INFO - duration: 0.7044571879996511
MAIN: 2025-03-17 09:17:06,913 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:17:36,631 - INFO - taking picture
MAIN: 2025-03-17 09:17:36,631 - INFO - we take 335 photos in this while loop
MAIN: 2025-03-17 09:17:36,631 - INFO - /home/pi/Desktop/images/17032025/09/17/image_17032025_09_17_36_29752.jpg
MAIN: 2025-03-17 09:17:36,632 - INFO - duration: 0.6707381250016624
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-03-17 09:18: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=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-03-17 09:18:06,622 - INFO - taking picture
MAIN: 2025-03-17 09:18:06,623 - INFO - we take 336 photos in this while loop
MAIN: 2025-03-17 09:18:06,623 - INFO - /home/pi/Desktop/images/17032025/09/17/image_17032025_09_18_06_29961.jpg
MAIN: 2025-03-17 09:18:06,623 - INFO - duration: 0.7008800519979559
MAIN: 2025-03-17 09:18:06,623 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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=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-03-17 09:18:36,459 - INFO - taking picture
MAIN: 2025-03-17 09:18:36,459 - INFO - we take 337 photos in this while loop
MAIN: 2025-03-17 09:18:36,460 - INFO - /home/pi/Desktop/images/17032025/09/18/image_17032025_09_18_36_29838.jpg
MAIN: 2025-03-17 09:18:36,460 - INFO - duration: 0.699304478999693
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 09:19: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 ! 
MAIN: 2025-03-17 09:19:06,314 - INFO - taking picture
MAIN: 2025-03-17 09:19:06,315 - INFO - we take 338 photos in this while loop
MAIN: 2025-03-17 09:19:06,315 - INFO - /home/pi/Desktop/images/17032025/09/18/image_17032025_09_19_05_29874.jpg
MAIN: 2025-03-17 09:19:06,315 - INFO - duration: 0.6800304159987718
MAIN: 2025-03-17 09:19:06,315 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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-03-17 09:19:37,221 - INFO - taking picture
MAIN: 2025-03-17 09:19:37,222 - INFO - we take 339 photos in this while loop
MAIN: 2025-03-17 09:19:37,222 - INFO - /home/pi/Desktop/images/17032025/09/19/image_17032025_09_19_36_30906.jpg
MAIN: 2025-03-17 09:19:37,222 - INFO - duration: 0.6805953639996005
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:20:06,316 - INFO - taking picture
MAIN: 2025-03-17 09:20:06,317 - INFO - we take 340 photos in this while loop
MAIN: 2025-03-17 09:20:06,317 - INFO - /home/pi/Desktop/images/17032025/09/19/image_17032025_09_20_05_29085.jpg
MAIN: 2025-03-17 09:20:06,318 - INFO - duration: 0.6906998950034904
MAIN: 2025-03-17 09:20:06,319 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/20'
MAIN: 2025-03-17 09:20:07,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=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-03-17 09:20:37,151 - INFO - taking picture
MAIN: 2025-03-17 09:20:37,152 - INFO - we take 341 photos in this while loop
MAIN: 2025-03-17 09:20:37,152 - INFO - /home/pi/Desktop/images/17032025/09/20/image_17032025_09_20_36_30842.jpg
MAIN: 2025-03-17 09:20:37,152 - INFO - duration: 0.682488906000799
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 09:21:05,966 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:21:07,083 - INFO - taking picture
MAIN: 2025-03-17 09:21:07,083 - INFO - we take 342 photos in this while loop
MAIN: 2025-03-17 09:21:07,084 - INFO - /home/pi/Desktop/images/17032025/09/20/image_17032025_09_21_06_29927.jpg
MAIN: 2025-03-17 09:21:07,084 - INFO - duration: 0.6863637500027835
MAIN: 2025-03-17 09:21:07,084 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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-03-17 09:21:36,685 - INFO - taking picture
MAIN: 2025-03-17 09:21:36,686 - INFO - we take 343 photos in this while loop
MAIN: 2025-03-17 09:21:36,686 - INFO - /home/pi/Desktop/images/17032025/09/21/image_17032025_09_21_36_29584.jpg
MAIN: 2025-03-17 09:21:36,687 - INFO - duration: 0.7050197910029965
[ WARN:0] global /tmp/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-03-17 09:22:06,560 - INFO - 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-03-17 09:22:06,896 - INFO - taking picture
MAIN: 2025-03-17 09:22:06,897 - INFO - we take 344 photos in this while loop
MAIN: 2025-03-17 09:22:06,897 - INFO - /home/pi/Desktop/images/17032025/09/21/image_17032025_09_22_06_30213.jpg
MAIN: 2025-03-17 09:22:06,897 - INFO - duration: 0.7026605720020598
MAIN: 2025-03-17 09:22:06,898 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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-03-17 09:22:36,374 - INFO - taking picture
MAIN: 2025-03-17 09:22:36,374 - INFO - we take 345 photos in this while loop
MAIN: 2025-03-17 09:22:36,375 - INFO - /home/pi/Desktop/images/17032025/09/22/image_17032025_09_22_35_29491.jpg
MAIN: 2025-03-17 09:22:36,375 - INFO - duration: 0.6887092180004402
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 09:23:06,488 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:23:07,466 - INFO - taking picture
MAIN: 2025-03-17 09:23:07,467 - INFO - we take 346 photos in this while loop
MAIN: 2025-03-17 09:23:07,467 - INFO - /home/pi/Desktop/images/17032025/09/22/image_17032025_09_23_07_31147.jpg
MAIN: 2025-03-17 09:23:07,467 - INFO - duration: 0.634110781000345
MAIN: 2025-03-17 09:23:07,468 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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=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-03-17 09:23:37,064 - INFO - taking picture
MAIN: 2025-03-17 09:23:37,065 - INFO - we take 347 photos in this while loop
MAIN: 2025-03-17 09:23:37,065 - INFO - /home/pi/Desktop/images/17032025/09/23/image_17032025_09_23_36_29549.jpg
MAIN: 2025-03-17 09:23:37,065 - INFO - duration: 0.6818640620003862
Corrupt JPEG data: premature end of data segment
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-03-17 09:24: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=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-03-17 09:24:07,206 - INFO - taking picture
MAIN: 2025-03-17 09:24:07,206 - INFO - we take 348 photos in this while loop
MAIN: 2025-03-17 09:24:07,206 - INFO - /home/pi/Desktop/images/17032025/09/23/image_17032025_09_24_06_30132.jpg
MAIN: 2025-03-17 09:24:07,207 - INFO - duration: 0.6912373430022853
MAIN: 2025-03-17 09:24:07,207 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:24:36,903 - INFO - taking picture
MAIN: 2025-03-17 09:24:36,904 - INFO - we take 349 photos in this while loop
MAIN: 2025-03-17 09:24:36,904 - INFO - /home/pi/Desktop/images/17032025/09/24/image_17032025_09_24_36_29710.jpg
MAIN: 2025-03-17 09:24:36,904 - INFO - duration: 0.678720728999906
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-03-17 09:25: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=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-03-17 09:25:07,154 - INFO - taking picture
MAIN: 2025-03-17 09:25:07,155 - INFO - we take 350 photos in this while loop
MAIN: 2025-03-17 09:25:07,155 - INFO - /home/pi/Desktop/images/17032025/09/24/image_17032025_09_25_06_30252.jpg
MAIN: 2025-03-17 09:25:07,155 - INFO - duration: 0.6771131249988684
MAIN: 2025-03-17 09:25:07,156 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:25:36,852 - INFO - taking picture
MAIN: 2025-03-17 09:25:36,853 - INFO - we take 351 photos in this while loop
MAIN: 2025-03-17 09:25:36,853 - INFO - /home/pi/Desktop/images/17032025/09/25/image_17032025_09_25_36_29672.jpg
MAIN: 2025-03-17 09:25:36,853 - INFO - duration: 0.7020923950003635
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-03-17 09:26:05,997 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:26:06,782 - INFO - taking picture
MAIN: 2025-03-17 09:26:06,782 - INFO - we take 352 photos in this while loop
MAIN: 2025-03-17 09:26:06,782 - INFO - /home/pi/Desktop/images/17032025/09/25/image_17032025_09_26_06_29995.jpg
MAIN: 2025-03-17 09:26:06,783 - INFO - duration: 0.6362902079999913
MAIN: 2025-03-17 09:26:06,783 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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=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-03-17 09:26:36,383 - INFO - taking picture
MAIN: 2025-03-17 09:26:36,384 - INFO - we take 353 photos in this while loop
MAIN: 2025-03-17 09:26:36,384 - INFO - /home/pi/Desktop/images/17032025/09/26/image_17032025_09_26_36_29548.jpg
MAIN: 2025-03-17 09:26:36,384 - INFO - duration: 0.6890050000001793
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-03-17 09:27: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=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-03-17 09:27:06,553 - INFO - taking picture
MAIN: 2025-03-17 09:27:06,554 - INFO - we take 354 photos in this while loop
MAIN: 2025-03-17 09:27:06,554 - INFO - /home/pi/Desktop/images/17032025/09/26/image_17032025_09_27_06_30187.jpg
MAIN: 2025-03-17 09:27:06,554 - INFO - duration: 0.6716928639980324
MAIN: 2025-03-17 09:27:06,554 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:27:37,520 - INFO - taking picture
MAIN: 2025-03-17 09:27:37,521 - INFO - we take 355 photos in this while loop
MAIN: 2025-03-17 09:27:37,521 - INFO - /home/pi/Desktop/images/17032025/09/27/image_17032025_09_27_37_30948.jpg
MAIN: 2025-03-17 09:27:37,521 - INFO - duration: 0.690263958000287
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-03-17 09:28:06,257 - INFO - taking picture
MAIN: 2025-03-17 09:28:06,257 - INFO - we take 356 photos in this while loop
MAIN: 2025-03-17 09:28:06,258 - INFO - /home/pi/Desktop/images/17032025/09/27/image_17032025_09_28_05_28761.jpg
MAIN: 2025-03-17 09:28:06,258 - INFO - duration: 0.6649580729972513
MAIN: 2025-03-17 09:28:06,258 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/28'
MAIN: 2025-03-17 09:28:06,799 - INFO - 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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:28:37,163 - INFO - taking picture
MAIN: 2025-03-17 09:28:37,164 - INFO - we take 357 photos in this while loop
MAIN: 2025-03-17 09:28:37,164 - INFO - /home/pi/Desktop/images/17032025/09/28/image_17032025_09_28_36_30905.jpg
MAIN: 2025-03-17 09:28:37,164 - INFO - duration: 0.6658141659972898
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 09:29:05,550 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:29:07,294 - INFO - taking picture
MAIN: 2025-03-17 09:29:07,295 - INFO - we take 358 photos in this while loop
MAIN: 2025-03-17 09:29:07,295 - INFO - /home/pi/Desktop/images/17032025/09/28/image_17032025_09_29_06_30106.jpg
MAIN: 2025-03-17 09:29:07,295 - INFO - duration: 0.690471093999804
MAIN: 2025-03-17 09:29:07,296 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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=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-03-17 09:29:37,011 - INFO - taking picture
MAIN: 2025-03-17 09:29:37,011 - INFO - we take 359 photos in this while loop
MAIN: 2025-03-17 09:29:37,011 - INFO - /home/pi/Desktop/images/17032025/09/29/image_17032025_09_29_36_29718.jpg
MAIN: 2025-03-17 09:29:37,012 - INFO - duration: 0.6887767189982696
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 09:30: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:30:07,155 - INFO - taking picture
MAIN: 2025-03-17 09:30:07,155 - INFO - we take 360 photos in this while loop
MAIN: 2025-03-17 09:30:07,155 - INFO - /home/pi/Desktop/images/17032025/09/29/image_17032025_09_30_06_30144.jpg
MAIN: 2025-03-17 09:30:07,156 - INFO - duration: 0.6888191149992053
MAIN: 2025-03-17 09:30:07,156 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:30:36,842 - INFO - taking picture
MAIN: 2025-03-17 09:30:36,842 - INFO - we take 361 photos in this while loop
MAIN: 2025-03-17 09:30:36,842 - INFO - /home/pi/Desktop/images/17032025/09/30/image_17032025_09_30_36_29690.jpg
MAIN: 2025-03-17 09:30:36,843 - INFO - duration: 0.6849661449996347
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-03-17 09:31:06,064 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:31:06,863 - INFO - taking picture
MAIN: 2025-03-17 09:31:06,863 - INFO - we take 362 photos in this while loop
MAIN: 2025-03-17 09:31:06,863 - INFO - /home/pi/Desktop/images/17032025/09/30/image_17032025_09_31_06_30063.jpg
MAIN: 2025-03-17 09:31:06,864 - INFO - duration: 0.6423214579990599
MAIN: 2025-03-17 09:31:06,864 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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=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-03-17 09:31:36,657 - INFO - taking picture
MAIN: 2025-03-17 09:31:36,657 - INFO - we take 363 photos in this while loop
MAIN: 2025-03-17 09:31:36,657 - INFO - /home/pi/Desktop/images/17032025/09/31/image_17032025_09_31_36_29753.jpg
MAIN: 2025-03-17 09:31:36,658 - INFO - duration: 0.6827011970017338
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 09:32:06,539 - INFO - 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-03-17 09:32:06,776 - INFO - taking picture
MAIN: 2025-03-17 09:32:06,776 - INFO - we take 364 photos in this while loop
MAIN: 2025-03-17 09:32:06,776 - INFO - /home/pi/Desktop/images/17032025/09/31/image_17032025_09_32_06_30097.jpg
MAIN: 2025-03-17 09:32:06,777 - INFO - duration: 0.7040839580004103
MAIN: 2025-03-17 09:32:06,777 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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=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-03-17 09:32:36,526 - INFO - taking picture
MAIN: 2025-03-17 09:32:36,527 - INFO - we take 365 photos in this while loop
MAIN: 2025-03-17 09:32:36,527 - INFO - /home/pi/Desktop/images/17032025/09/32/image_17032025_09_32_36_29765.jpg
MAIN: 2025-03-17 09:32:36,527 - INFO - duration: 0.6898747390005155
Corrupt JPEG data: premature end of data segment
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-03-17 09:33:06,480 - INFO - taking picture
MAIN: 2025-03-17 09:33:06,481 - INFO - we take 366 photos in this while loop
MAIN: 2025-03-17 09:33:06,481 - INFO - /home/pi/Desktop/images/17032025/09/32/image_17032025_09_33_06_29955.jpg
MAIN: 2025-03-17 09:33:06,481 - INFO - duration: 0.6881570310033567
MAIN: 2025-03-17 09:33:06,481 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/33'
MAIN: 2025-03-17 09:33:06,488 - INFO - 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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:33:37,468 - INFO - taking picture
MAIN: 2025-03-17 09:33:37,469 - INFO - we take 367 photos in this while loop
MAIN: 2025-03-17 09:33:37,469 - INFO - /home/pi/Desktop/images/17032025/09/33/image_17032025_09_33_37_30992.jpg
MAIN: 2025-03-17 09:33:37,469 - INFO - duration: 0.6841976559990144
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 09:34:06,918 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:34:07,376 - INFO - taking picture
MAIN: 2025-03-17 09:34:07,376 - INFO - we take 368 photos in this while loop
MAIN: 2025-03-17 09:34:07,376 - INFO - /home/pi/Desktop/images/17032025/09/33/image_17032025_09_34_06_29889.jpg
MAIN: 2025-03-17 09:34:07,377 - INFO - duration: 0.7021953639996354
MAIN: 2025-03-17 09:34:07,377 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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=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-03-17 09:34:37,035 - INFO - taking picture
MAIN: 2025-03-17 09:34:37,036 - INFO - we take 369 photos in this while loop
MAIN: 2025-03-17 09:34:37,036 - INFO - /home/pi/Desktop/images/17032025/09/34/image_17032025_09_34_36_29660.jpg
MAIN: 2025-03-17 09:34:37,036 - INFO - duration: 0.7016009370017855
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-03-17 09:35: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=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-03-17 09:35:07,171 - INFO - taking picture
MAIN: 2025-03-17 09:35:07,171 - INFO - we take 370 photos in this while loop
MAIN: 2025-03-17 09:35:07,172 - INFO - /home/pi/Desktop/images/17032025/09/34/image_17032025_09_35_06_30160.jpg
MAIN: 2025-03-17 09:35:07,172 - INFO - duration: 0.6761435939988587
MAIN: 2025-03-17 09:35:07,172 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:35:36,759 - INFO - taking picture
MAIN: 2025-03-17 09:35:36,759 - INFO - we take 371 photos in this while loop
MAIN: 2025-03-17 09:35:36,759 - INFO - /home/pi/Desktop/images/17032025/09/35/image_17032025_09_35_36_29593.jpg
MAIN: 2025-03-17 09:35:36,760 - INFO - duration: 0.6706158849992789
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-03-17 09:36: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=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-03-17 09:36:07,015 - INFO - taking picture
MAIN: 2025-03-17 09:36:07,015 - INFO - we take 372 photos in this while loop
MAIN: 2025-03-17 09:36:07,015 - INFO - /home/pi/Desktop/images/17032025/09/35/image_17032025_09_36_06_30288.jpg
MAIN: 2025-03-17 09:36:07,016 - INFO - duration: 0.6376870830026746
MAIN: 2025-03-17 09:36:07,016 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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=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-03-17 09:36:36,641 - INFO - taking picture
MAIN: 2025-03-17 09:36:36,641 - INFO - we take 373 photos in this while loop
MAIN: 2025-03-17 09:36:36,641 - INFO - /home/pi/Desktop/images/17032025/09/36/image_17032025_09_36_36_29572.jpg
MAIN: 2025-03-17 09:36:36,642 - INFO - duration: 0.6907973950001178
Corrupt JPEG data: premature end of data segment
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-03-17 09:37: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 ! 
MAIN: 2025-03-17 09:37:06,531 - INFO - taking picture
MAIN: 2025-03-17 09:37:06,532 - INFO - we take 374 photos in this while loop
MAIN: 2025-03-17 09:37:06,532 - INFO - /home/pi/Desktop/images/17032025/09/36/image_17032025_09_37_06_29879.jpg
MAIN: 2025-03-17 09:37:06,532 - INFO - duration: 0.7023911450014566
MAIN: 2025-03-17 09:37:06,533 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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=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-03-17 09:37:37,467 - INFO - taking picture
MAIN: 2025-03-17 09:37:37,468 - INFO - we take 375 photos in this while loop
MAIN: 2025-03-17 09:37:37,468 - INFO - /home/pi/Desktop/images/17032025/09/37/image_17032025_09_37_37_30937.jpg
MAIN: 2025-03-17 09:37:37,468 - INFO - duration: 0.7003844790015137
Corrupt JPEG data: premature end of data segment
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-03-17 09:38:06,266 - INFO - taking picture
MAIN: 2025-03-17 09:38:06,266 - INFO - we take 376 photos in this while loop
MAIN: 2025-03-17 09:38:06,266 - INFO - /home/pi/Desktop/images/17032025/09/37/image_17032025_09_38_05_28829.jpg
MAIN: 2025-03-17 09:38:06,267 - INFO - duration: 0.6699422390011023
MAIN: 2025-03-17 09:38:06,267 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/38'
MAIN: 2025-03-17 09:38:06,430 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:38:37,290 - INFO - taking picture
MAIN: 2025-03-17 09:38:37,291 - INFO - we take 377 photos in this while loop
MAIN: 2025-03-17 09:38:37,291 - INFO - /home/pi/Desktop/images/17032025/09/38/image_17032025_09_38_36_30994.jpg
MAIN: 2025-03-17 09:38:37,291 - INFO - duration: 0.700609584000631
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 09:39:06,351 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:39:07,180 - INFO - taking picture
MAIN: 2025-03-17 09:39:07,181 - INFO - we take 378 photos in this while loop
MAIN: 2025-03-17 09:39:07,181 - INFO - /home/pi/Desktop/images/17032025/09/38/image_17032025_09_39_06_29954.jpg
MAIN: 2025-03-17 09:39:07,181 - INFO - duration: 0.6364957289988524
MAIN: 2025-03-17 09:39:07,182 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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=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-03-17 09:39:36,738 - INFO - taking picture
MAIN: 2025-03-17 09:39:36,739 - INFO - we take 379 photos in this while loop
MAIN: 2025-03-17 09:39:36,739 - INFO - /home/pi/Desktop/images/17032025/09/39/image_17032025_09_39_36_29503.jpg
MAIN: 2025-03-17 09:39:36,739 - INFO - duration: 0.6909295309997106
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 09:40: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=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-03-17 09:40:06,968 - INFO - taking picture
MAIN: 2025-03-17 09:40:06,969 - INFO - we take 380 photos in this while loop
MAIN: 2025-03-17 09:40:06,970 - INFO - /home/pi/Desktop/images/17032025/09/39/image_17032025_09_40_06_30234.jpg
MAIN: 2025-03-17 09:40:06,970 - INFO - duration: 0.6878146350027237
MAIN: 2025-03-17 09:40:06,971 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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=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-03-17 09:40:36,639 - INFO - taking picture
MAIN: 2025-03-17 09:40:36,640 - INFO - we take 381 photos in this while loop
MAIN: 2025-03-17 09:40:36,640 - INFO - /home/pi/Desktop/images/17032025/09/40/image_17032025_09_40_36_29669.jpg
MAIN: 2025-03-17 09:40:36,640 - INFO - duration: 0.687997136003105
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-03-17 09:41: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=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-03-17 09:41:06,598 - INFO - taking picture
MAIN: 2025-03-17 09:41:06,599 - INFO - we take 382 photos in this while loop
MAIN: 2025-03-17 09:41:06,599 - INFO - /home/pi/Desktop/images/17032025/09/40/image_17032025_09_41_06_29960.jpg
MAIN: 2025-03-17 09:41:06,599 - INFO - duration: 0.6861080730013782
MAIN: 2025-03-17 09:41:06,600 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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=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-03-17 09:41:37,528 - INFO - taking picture
MAIN: 2025-03-17 09:41:37,528 - INFO - we take 383 photos in this while loop
MAIN: 2025-03-17 09:41:37,529 - INFO - /home/pi/Desktop/images/17032025/09/41/image_17032025_09_41_37_30922.jpg
MAIN: 2025-03-17 09:41:37,529 - INFO - duration: 0.6934216150002612
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 09:42:06,395 - INFO - 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-03-17 09:42:06,465 - INFO - taking picture
MAIN: 2025-03-17 09:42:06,465 - INFO - we take 384 photos in this while loop
MAIN: 2025-03-17 09:42:06,466 - INFO - /home/pi/Desktop/images/17032025/09/41/image_17032025_09_42_06_28935.jpg
MAIN: 2025-03-17 09:42:06,466 - INFO - duration: 0.69494656200186
MAIN: 2025-03-17 09:42:06,467 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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=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-03-17 09:42:37,419 - INFO - taking picture
MAIN: 2025-03-17 09:42:37,419 - INFO - we take 385 photos in this while loop
MAIN: 2025-03-17 09:42:37,419 - INFO - /home/pi/Desktop/images/17032025/09/42/image_17032025_09_42_37_30948.jpg
MAIN: 2025-03-17 09:42:37,419 - INFO - duration: 0.7003221350023523
[ WARN:0] global /tmp/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-03-17 09:43: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 ! 
MAIN: 2025-03-17 09:43:06,408 - INFO - taking picture
MAIN: 2025-03-17 09:43:06,409 - INFO - we take 386 photos in this while loop
MAIN: 2025-03-17 09:43:06,409 - INFO - /home/pi/Desktop/images/17032025/09/42/image_17032025_09_43_06_29011.jpg
MAIN: 2025-03-17 09:43:06,409 - INFO - duration: 0.6786589059993275
MAIN: 2025-03-17 09:43:06,410 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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=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-03-17 09:43:37,349 - INFO - taking picture
MAIN: 2025-03-17 09:43:37,350 - INFO - we take 387 photos in this while loop
MAIN: 2025-03-17 09:43:37,350 - INFO - /home/pi/Desktop/images/17032025/09/43/image_17032025_09_43_36_30926.jpg
MAIN: 2025-03-17 09:43:37,351 - INFO - duration: 0.6934752600027423
Corrupt JPEG data: premature end of data segment
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-03-17 09:44:06,766 - INFO - 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-03-17 09:44:07,348 - INFO - taking picture
MAIN: 2025-03-17 09:44:07,349 - INFO - we take 388 photos in this while loop
MAIN: 2025-03-17 09:44:07,349 - INFO - /home/pi/Desktop/images/17032025/09/43/image_17032025_09_44_06_29991.jpg
MAIN: 2025-03-17 09:44:07,349 - INFO - duration: 0.7002374989970122
MAIN: 2025-03-17 09:44:07,349 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:44:37,109 - INFO - taking picture
MAIN: 2025-03-17 09:44:37,110 - INFO - we take 389 photos in this while loop
MAIN: 2025-03-17 09:44:37,110 - INFO - /home/pi/Desktop/images/17032025/09/44/image_17032025_09_44_36_29768.jpg
MAIN: 2025-03-17 09:44:37,110 - INFO - duration: 0.6934411459988041
Corrupt JPEG data: premature end of data segment
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-03-17 09:45:06,667 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:45:07,199 - INFO - taking picture
MAIN: 2025-03-17 09:45:07,200 - INFO - we take 390 photos in this while loop
MAIN: 2025-03-17 09:45:07,200 - INFO - /home/pi/Desktop/images/17032025/09/44/image_17032025_09_45_06_30104.jpg
MAIN: 2025-03-17 09:45:07,200 - INFO - duration: 0.6786750000028405
MAIN: 2025-03-17 09:45:07,201 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:45:36,774 - INFO - taking picture
MAIN: 2025-03-17 09:45:36,774 - INFO - we take 391 photos in this while loop
MAIN: 2025-03-17 09:45:36,774 - INFO - /home/pi/Desktop/images/17032025/09/45/image_17032025_09_45_36_29563.jpg
MAIN: 2025-03-17 09:45:36,775 - INFO - duration: 0.688884010000038
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 09:46:06,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:46:06,677 - INFO - taking picture
MAIN: 2025-03-17 09:46:06,677 - INFO - we take 392 photos in this while loop
MAIN: 2025-03-17 09:46:06,678 - INFO - /home/pi/Desktop/images/17032025/09/45/image_17032025_09_46_06_29892.jpg
MAIN: 2025-03-17 09:46:06,678 - INFO - duration: 0.699050156003068
MAIN: 2025-03-17 09:46:06,678 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:46:37,520 - INFO - taking picture
MAIN: 2025-03-17 09:46:37,521 - INFO - we take 393 photos in this while loop
MAIN: 2025-03-17 09:46:37,521 - INFO - /home/pi/Desktop/images/17032025/09/46/image_17032025_09_46_37_30849.jpg
MAIN: 2025-03-17 09:46:37,521 - INFO - duration: 0.692820208001649
Corrupt JPEG data: premature end of data segment
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-03-17 09:47: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 ! 
MAIN: 2025-03-17 09:47:06,267 - INFO - taking picture
MAIN: 2025-03-17 09:47:06,267 - INFO - we take 394 photos in this while loop
MAIN: 2025-03-17 09:47:06,267 - INFO - /home/pi/Desktop/images/17032025/09/46/image_17032025_09_47_05_28751.jpg
MAIN: 2025-03-17 09:47:06,268 - INFO - duration: 0.6879675519994635
MAIN: 2025-03-17 09:47:06,268 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:47:37,076 - INFO - taking picture
MAIN: 2025-03-17 09:47:37,077 - INFO - we take 395 photos in this while loop
MAIN: 2025-03-17 09:47:37,077 - INFO - /home/pi/Desktop/images/17032025/09/47/image_17032025_09_47_36_30813.jpg
MAIN: 2025-03-17 09:47:37,077 - INFO - duration: 0.6836821360011527
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 09:48: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=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-03-17 09:48:07,286 - INFO - taking picture
MAIN: 2025-03-17 09:48:07,287 - INFO - we take 396 photos in this while loop
MAIN: 2025-03-17 09:48:07,287 - INFO - /home/pi/Desktop/images/17032025/09/47/image_17032025_09_48_06_30202.jpg
MAIN: 2025-03-17 09:48:07,287 - INFO - duration: 0.6912474999990081
MAIN: 2025-03-17 09:48:07,288 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:48:36,916 - INFO - taking picture
MAIN: 2025-03-17 09:48:36,917 - INFO - we take 397 photos in this while loop
MAIN: 2025-03-17 09:48:36,917 - INFO - /home/pi/Desktop/images/17032025/09/48/image_17032025_09_48_36_29646.jpg
MAIN: 2025-03-17 09:48:36,917 - INFO - duration: 0.6740208330011228
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-03-17 09:49:06,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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:49:07,086 - INFO - taking picture
MAIN: 2025-03-17 09:49:07,086 - INFO - we take 398 photos in this while loop
MAIN: 2025-03-17 09:49:07,086 - INFO - /home/pi/Desktop/images/17032025/09/48/image_17032025_09_49_06_30133.jpg
MAIN: 2025-03-17 09:49:07,087 - INFO - duration: 0.7103107290022308
MAIN: 2025-03-17 09:49:07,087 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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=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-03-17 09:49:36,724 - INFO - taking picture
MAIN: 2025-03-17 09:49:36,725 - INFO - we take 399 photos in this while loop
MAIN: 2025-03-17 09:49:36,725 - INFO - /home/pi/Desktop/images/17032025/09/49/image_17032025_09_49_36_29656.jpg
MAIN: 2025-03-17 09:49:36,725 - INFO - duration: 0.6929930730002525
[ WARN:0] global /tmp/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-03-17 09:50:07,141 - INFO - taking picture
MAIN: 2025-03-17 09:50:07,142 - INFO - we take 400 photos in this while loop
MAIN: 2025-03-17 09:50:07,142 - INFO - /home/pi/Desktop/images/17032025/09/49/image_17032025_09_50_06_30423.jpg
MAIN: 2025-03-17 09:50:07,142 - INFO - duration: 0.6861627079997561
MAIN: 2025-03-17 09:50:07,143 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/50'
MAIN: 2025-03-17 09:50:07,543 - INFO - 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-03-17 09:50:36,697 - INFO - taking picture
MAIN: 2025-03-17 09:50:36,697 - INFO - we take 401 photos in this while loop
MAIN: 2025-03-17 09:50:36,697 - INFO - /home/pi/Desktop/images/17032025/09/50/image_17032025_09_50_36_29563.jpg
MAIN: 2025-03-17 09:50:36,698 - INFO - duration: 0.6777763539976149
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 09:51:05,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=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-03-17 09:51:06,569 - INFO - taking picture
MAIN: 2025-03-17 09:51:06,570 - INFO - we take 402 photos in this while loop
MAIN: 2025-03-17 09:51:06,570 - INFO - /home/pi/Desktop/images/17032025/09/50/image_17032025_09_51_06_29907.jpg
MAIN: 2025-03-17 09:51:06,571 - INFO - duration: 0.6430658850003965
MAIN: 2025-03-17 09:51:06,571 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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=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-03-17 09:51:37,440 - INFO - taking picture
MAIN: 2025-03-17 09:51:37,440 - INFO - we take 403 photos in this while loop
MAIN: 2025-03-17 09:51:37,440 - INFO - /home/pi/Desktop/images/17032025/09/51/image_17032025_09_51_37_30820.jpg
MAIN: 2025-03-17 09:51:37,441 - INFO - duration: 0.6927197910008545
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-03-17 09:52: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-03-17 09:52:06,580 - INFO - taking picture
MAIN: 2025-03-17 09:52:06,581 - INFO - we take 404 photos in this while loop
MAIN: 2025-03-17 09:52:06,581 - INFO - /home/pi/Desktop/images/17032025/09/51/image_17032025_09_52_06_29139.jpg
MAIN: 2025-03-17 09:52:06,581 - INFO - duration: 0.6940619269989838
MAIN: 2025-03-17 09:52:06,582 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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=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-03-17 09:52:37,404 - INFO - taking picture
MAIN: 2025-03-17 09:52:37,404 - INFO - we take 405 photos in this while loop
MAIN: 2025-03-17 09:52:37,404 - INFO - /home/pi/Desktop/images/17032025/09/52/image_17032025_09_52_37_30839.jpg
MAIN: 2025-03-17 09:52:37,405 - INFO - duration: 0.6777914579979551
Corrupt JPEG data: premature end of data segment
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-03-17 09:53: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:53:07,342 - INFO - taking picture
MAIN: 2025-03-17 09:53:07,343 - INFO - we take 406 photos in this while loop
MAIN: 2025-03-17 09:53:07,343 - INFO - /home/pi/Desktop/images/17032025/09/52/image_17032025_09_53_06_29930.jpg
MAIN: 2025-03-17 09:53:07,343 - INFO - duration: 0.6854810410004575
MAIN: 2025-03-17 09:53:07,343 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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=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-03-17 09:53:36,860 - INFO - taking picture
MAIN: 2025-03-17 09:53:36,861 - INFO - we take 407 photos in this while loop
MAIN: 2025-03-17 09:53:36,861 - INFO - /home/pi/Desktop/images/17032025/09/53/image_17032025_09_53_36_29534.jpg
MAIN: 2025-03-17 09:53:36,861 - INFO - duration: 0.6697470309991331
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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=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-03-17 09:54:06,675 - INFO - 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-03-17 09:54:06,970 - INFO - taking picture
MAIN: 2025-03-17 09:54:06,970 - INFO - we take 408 photos in this while loop
MAIN: 2025-03-17 09:54:06,970 - INFO - /home/pi/Desktop/images/17032025/09/53/image_17032025_09_54_06_30082.jpg
MAIN: 2025-03-17 09:54:06,971 - INFO - duration: 0.6967392189981183
MAIN: 2025-03-17 09:54:06,971 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:54:36,621 - INFO - taking picture
MAIN: 2025-03-17 09:54:36,621 - INFO - we take 409 photos in this while loop
MAIN: 2025-03-17 09:54:36,621 - INFO - /home/pi/Desktop/images/17032025/09/54/image_17032025_09_54_36_29663.jpg
MAIN: 2025-03-17 09:54:36,622 - INFO - duration: 0.6843439059994125
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-03-17 09:55:06,910 - INFO - 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-03-17 09:55:07,082 - INFO - taking picture
MAIN: 2025-03-17 09:55:07,083 - INFO - we take 410 photos in this while loop
MAIN: 2025-03-17 09:55:07,083 - INFO - /home/pi/Desktop/images/17032025/09/54/image_17032025_09_55_06_30443.jpg
MAIN: 2025-03-17 09:55:07,083 - INFO - duration: 0.7027203120014747
MAIN: 2025-03-17 09:55:07,084 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:55:36,659 - INFO - taking picture
MAIN: 2025-03-17 09:55:36,660 - INFO - we take 411 photos in this while loop
MAIN: 2025-03-17 09:55:36,660 - INFO - /home/pi/Desktop/images/17032025/09/55/image_17032025_09_55_36_29578.jpg
MAIN: 2025-03-17 09:55:36,660 - INFO - duration: 0.7012035420011671
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-03-17 09:56:06,195 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 09:56:06,773 - INFO - taking picture
MAIN: 2025-03-17 09:56:06,774 - INFO - we take 412 photos in this while loop
MAIN: 2025-03-17 09:56:06,774 - INFO - /home/pi/Desktop/images/17032025/09/55/image_17032025_09_56_06_30132.jpg
MAIN: 2025-03-17 09:56:06,774 - INFO - duration: 0.6827510940020147
MAIN: 2025-03-17 09:56:06,774 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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=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-03-17 09:56:36,408 - INFO - taking picture
MAIN: 2025-03-17 09:56:36,408 - INFO - we take 413 photos in this while loop
MAIN: 2025-03-17 09:56:36,408 - INFO - /home/pi/Desktop/images/17032025/09/56/image_17032025_09_56_36_29647.jpg
MAIN: 2025-03-17 09:56:36,409 - INFO - duration: 0.6701797909991001
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-03-17 09:57: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=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-03-17 09:57:06,508 - INFO - taking picture
MAIN: 2025-03-17 09:57:06,509 - INFO - we take 414 photos in this while loop
MAIN: 2025-03-17 09:57:06,509 - INFO - /home/pi/Desktop/images/17032025/09/56/image_17032025_09_57_06_30067.jpg
MAIN: 2025-03-17 09:57:06,509 - INFO - duration: 0.7028718229994411
MAIN: 2025-03-17 09:57:06,509 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 09:57:37,540 - INFO - taking picture
MAIN: 2025-03-17 09:57:37,541 - INFO - we take 415 photos in this while loop
MAIN: 2025-03-17 09:57:37,541 - INFO - /home/pi/Desktop/images/17032025/09/57/image_17032025_09_57_37_31036.jpg
MAIN: 2025-03-17 09:57:37,541 - INFO - duration: 0.6985851560020819
[ WARN:0] global /tmp/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-03-17 09:58:06,565 - INFO - 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-03-17 09:58:06,723 - INFO - taking picture
MAIN: 2025-03-17 09:58:06,724 - INFO - we take 416 photos in this while loop
MAIN: 2025-03-17 09:58:06,724 - INFO - /home/pi/Desktop/images/17032025/09/57/image_17032025_09_58_06_29194.jpg
MAIN: 2025-03-17 09:58:06,724 - INFO - duration: 0.6875343220017385
MAIN: 2025-03-17 09:58:06,725 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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=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-03-17 09:58:36,323 - INFO - taking picture
MAIN: 2025-03-17 09:58:36,323 - INFO - we take 417 photos in this while loop
MAIN: 2025-03-17 09:58:36,324 - INFO - /home/pi/Desktop/images/17032025/09/58/image_17032025_09_58_35_29598.jpg
MAIN: 2025-03-17 09:58:36,324 - INFO - duration: 0.6883306769996125
Corrupt JPEG data: premature end of data segment
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-03-17 09:59: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 ! 
MAIN: 2025-03-17 09:59:06,314 - INFO - taking picture
MAIN: 2025-03-17 09:59:06,315 - INFO - we take 418 photos in this while loop
MAIN: 2025-03-17 09:59:06,315 - INFO - /home/pi/Desktop/images/17032025/09/58/image_17032025_09_59_05_29986.jpg
MAIN: 2025-03-17 09:59:06,315 - INFO - duration: 0.6929552080000576
MAIN: 2025-03-17 09:59:06,316 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/09/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=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-03-17 09:59:37,316 - INFO - taking picture
MAIN: 2025-03-17 09:59:37,317 - INFO - we take 419 photos in this while loop
MAIN: 2025-03-17 09:59:37,317 - INFO - /home/pi/Desktop/images/17032025/09/59/image_17032025_09_59_36_31000.jpg
MAIN: 2025-03-17 09:59:37,317 - INFO - duration: 0.6942854170010833
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 10:00:06,378 - INFO - taking picture
MAIN: 2025-03-17 10:00:06,379 - INFO - we take 420 photos in this while loop
MAIN: 2025-03-17 10:00:06,380 - INFO - /home/pi/Desktop/images/17032025/09/59/image_17032025_10_00_05_29090.jpg
MAIN: 2025-03-17 10:00:06,380 - INFO - duration: 0.6669589060002181
MAIN: 2025-03-17 10:00:06,381 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/00'
MAIN: 2025-03-17 10:00:06,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:00:37,245 - INFO - taking picture
MAIN: 2025-03-17 10:00:37,245 - INFO - we take 421 photos in this while loop
MAIN: 2025-03-17 10:00:37,245 - INFO - /home/pi/Desktop/images/17032025/10/00/image_17032025_10_00_36_30835.jpg
MAIN: 2025-03-17 10:00:37,246 - INFO - duration: 0.6969984890019987
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 10:01:05,837 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:01:07,433 - INFO - taking picture
MAIN: 2025-03-17 10:01:07,434 - INFO - we take 422 photos in this while loop
MAIN: 2025-03-17 10:01:07,434 - INFO - /home/pi/Desktop/images/17032025/10/00/image_17032025_10_01_07_30193.jpg
MAIN: 2025-03-17 10:01:07,434 - INFO - duration: 0.6918773959987448
MAIN: 2025-03-17 10:01:07,434 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/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=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-03-17 10:01:37,027 - INFO - taking picture
MAIN: 2025-03-17 10:01:37,028 - INFO - we take 423 photos in this while loop
MAIN: 2025-03-17 10:01:37,028 - INFO - /home/pi/Desktop/images/17032025/10/01/image_17032025_10_01_36_29594.jpg
MAIN: 2025-03-17 10:01:37,028 - INFO - duration: 0.6919156770018162
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 10:02:06,557 - INFO - 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-03-17 10:02:07,136 - INFO - taking picture
MAIN: 2025-03-17 10:02:07,137 - INFO - we take 424 photos in this while loop
MAIN: 2025-03-17 10:02:07,137 - INFO - /home/pi/Desktop/images/17032025/10/01/image_17032025_10_02_06_30105.jpg
MAIN: 2025-03-17 10:02:07,137 - INFO - duration: 0.6955451559988433
MAIN: 2025-03-17 10:02:07,138 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/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=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-03-17 10:02:36,908 - INFO - taking picture
MAIN: 2025-03-17 10:02:36,909 - INFO - we take 425 photos in this while loop
MAIN: 2025-03-17 10:02:36,909 - INFO - /home/pi/Desktop/images/17032025/10/02/image_17032025_10_02_36_29767.jpg
MAIN: 2025-03-17 10:02:36,909 - INFO - duration: 0.7001236970027094
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 10:03: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=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-03-17 10:03:07,084 - INFO - taking picture
MAIN: 2025-03-17 10:03:07,085 - INFO - we take 426 photos in this while loop
MAIN: 2025-03-17 10:03:07,085 - INFO - /home/pi/Desktop/images/17032025/10/02/image_17032025_10_03_06_30169.jpg
MAIN: 2025-03-17 10:03:07,085 - INFO - duration: 0.7064182810026978
MAIN: 2025-03-17 10:03:07,086 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/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=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-03-17 10:03:36,881 - INFO - taking picture
MAIN: 2025-03-17 10:03:36,881 - INFO - we take 427 photos in this while loop
MAIN: 2025-03-17 10:03:36,881 - INFO - /home/pi/Desktop/images/17032025/10/03/image_17032025_10_03_36_29809.jpg
MAIN: 2025-03-17 10:03:36,882 - INFO - duration: 0.6935567709988391
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 10:04:06,661 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:04:07,141 - INFO - taking picture
MAIN: 2025-03-17 10:04:07,142 - INFO - we take 428 photos in this while loop
MAIN: 2025-03-17 10:04:07,142 - INFO - /home/pi/Desktop/images/17032025/10/03/image_17032025_10_04_06_30240.jpg
MAIN: 2025-03-17 10:04:07,142 - INFO - duration: 0.7133617180006695
MAIN: 2025-03-17 10:04:07,142 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/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=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-03-17 10:04:36,783 - INFO - taking picture
MAIN: 2025-03-17 10:04:36,784 - INFO - we take 429 photos in this while loop
MAIN: 2025-03-17 10:04:36,784 - INFO - /home/pi/Desktop/images/17032025/10/04/image_17032025_10_04_36_29662.jpg
MAIN: 2025-03-17 10:04:36,784 - INFO - duration: 0.6933152599995083
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 10:05: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=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-03-17 10:05:06,834 - INFO - taking picture
MAIN: 2025-03-17 10:05:06,834 - INFO - we take 430 photos in this while loop
MAIN: 2025-03-17 10:05:06,835 - INFO - /home/pi/Desktop/images/17032025/10/04/image_17032025_10_05_06_30065.jpg
MAIN: 2025-03-17 10:05:06,835 - INFO - duration: 0.6783436460027588
MAIN: 2025-03-17 10:05:06,835 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:05:36,423 - INFO - taking picture
MAIN: 2025-03-17 10:05:36,424 - INFO - we take 431 photos in this while loop
MAIN: 2025-03-17 10:05:36,424 - INFO - /home/pi/Desktop/images/17032025/10/05/image_17032025_10_05_36_29602.jpg
MAIN: 2025-03-17 10:05:36,424 - INFO - duration: 0.6646273429978464
Corrupt JPEG data: premature end of data segment
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-03-17 10:06: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=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-03-17 10:06:06,661 - INFO - taking picture
MAIN: 2025-03-17 10:06:06,662 - INFO - we take 432 photos in this while loop
MAIN: 2025-03-17 10:06:06,662 - INFO - /home/pi/Desktop/images/17032025/10/05/image_17032025_10_06_06_30203.jpg
MAIN: 2025-03-17 10:06:06,662 - INFO - duration: 0.698670936999406
MAIN: 2025-03-17 10:06:06,662 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/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=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-03-17 10:06:37,448 - INFO - taking picture
MAIN: 2025-03-17 10:06:37,449 - INFO - we take 433 photos in this while loop
MAIN: 2025-03-17 10:06:37,449 - INFO - /home/pi/Desktop/images/17032025/10/06/image_17032025_10_06_37_30815.jpg
MAIN: 2025-03-17 10:06:37,449 - INFO - duration: 0.6709240620002674
Corrupt JPEG data: premature end of data segment
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-03-17 10:07:05,908 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:07:06,353 - INFO - taking picture
MAIN: 2025-03-17 10:07:06,353 - INFO - we take 434 photos in this while loop
MAIN: 2025-03-17 10:07:06,353 - INFO - /home/pi/Desktop/images/17032025/10/06/image_17032025_10_07_05_28874.jpg
MAIN: 2025-03-17 10:07:06,354 - INFO - duration: 0.7011217189974559
MAIN: 2025-03-17 10:07:06,354 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/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=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-03-17 10:07:37,248 - INFO - taking picture
MAIN: 2025-03-17 10:07:37,249 - INFO - we take 435 photos in this while loop
MAIN: 2025-03-17 10:07:37,249 - INFO - /home/pi/Desktop/images/17032025/10/07/image_17032025_10_07_36_30934.jpg
MAIN: 2025-03-17 10:07:37,249 - INFO - duration: 0.6625927080021938
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 10:08:06,195 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:08:07,019 - INFO - taking picture
MAIN: 2025-03-17 10:08:07,019 - INFO - we take 436 photos in this while loop
MAIN: 2025-03-17 10:08:07,019 - INFO - /home/pi/Desktop/images/17032025/10/07/image_17032025_10_08_06_29802.jpg
MAIN: 2025-03-17 10:08:07,020 - INFO - duration: 0.6304641670030833
MAIN: 2025-03-17 10:08:07,020 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/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=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-03-17 10:08:36,700 - INFO - taking picture
MAIN: 2025-03-17 10:08:36,701 - INFO - we take 437 photos in this while loop
MAIN: 2025-03-17 10:08:36,701 - INFO - /home/pi/Desktop/images/17032025/10/08/image_17032025_10_08_36_29643.jpg
MAIN: 2025-03-17 10:08:36,701 - INFO - duration: 0.669094895998569
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-03-17 10:09:06,225 - INFO - 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-03-17 10:09:06,816 - INFO - taking picture
MAIN: 2025-03-17 10:09:06,817 - INFO - we take 438 photos in this while loop
MAIN: 2025-03-17 10:09:06,817 - INFO - /home/pi/Desktop/images/17032025/10/08/image_17032025_10_09_06_30099.jpg
MAIN: 2025-03-17 10:09:06,817 - INFO - duration: 0.6854474469982961
MAIN: 2025-03-17 10:09:06,818 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/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=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-03-17 10:09:36,525 - INFO - taking picture
MAIN: 2025-03-17 10:09:36,526 - INFO - we take 439 photos in this while loop
MAIN: 2025-03-17 10:09:36,526 - INFO - /home/pi/Desktop/images/17032025/10/09/image_17032025_10_09_36_29706.jpg
MAIN: 2025-03-17 10:09:36,526 - INFO - duration: 0.6873266139991756
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:10:06,955 - INFO - taking picture
MAIN: 2025-03-17 10:10:06,956 - INFO - we take 440 photos in this while loop
MAIN: 2025-03-17 10:10:06,956 - INFO - /home/pi/Desktop/images/17032025/10/09/image_17032025_10_10_06_30435.jpg
MAIN: 2025-03-17 10:10:06,957 - INFO - duration: 0.683070677001524
MAIN: 2025-03-17 10:10:06,958 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/10'
MAIN: 2025-03-17 10:10:07,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:10:36,513 - INFO - taking picture
MAIN: 2025-03-17 10:10:36,514 - INFO - we take 441 photos in this while loop
MAIN: 2025-03-17 10:10:36,514 - INFO - /home/pi/Desktop/images/17032025/10/10/image_17032025_10_10_36_29564.jpg
MAIN: 2025-03-17 10:10:36,514 - INFO - duration: 0.676514374998078
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 10:11:05,661 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:11:06,446 - INFO - taking picture
MAIN: 2025-03-17 10:11:06,447 - INFO - we take 442 photos in this while loop
MAIN: 2025-03-17 10:11:06,447 - INFO - /home/pi/Desktop/images/17032025/10/10/image_17032025_10_11_06_29971.jpg
MAIN: 2025-03-17 10:11:06,447 - INFO - duration: 0.6372091670018563
MAIN: 2025-03-17 10:11:06,447 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:11:37,364 - INFO - taking picture
MAIN: 2025-03-17 10:11:37,364 - INFO - we take 443 photos in this while loop
MAIN: 2025-03-17 10:11:37,365 - INFO - /home/pi/Desktop/images/17032025/10/11/image_17032025_10_11_36_30865.jpg
MAIN: 2025-03-17 10:11:37,365 - INFO - duration: 0.6895966150004824
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 10:12:06,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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:12:07,522 - INFO - taking picture
MAIN: 2025-03-17 10:12:07,523 - INFO - we take 444 photos in this while loop
MAIN: 2025-03-17 10:12:07,523 - INFO - /home/pi/Desktop/images/17032025/10/11/image_17032025_10_12_07_30160.jpg
MAIN: 2025-03-17 10:12:07,523 - INFO - duration: 0.6872440629995253
MAIN: 2025-03-17 10:12:07,524 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/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=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-03-17 10:12:37,209 - INFO - taking picture
MAIN: 2025-03-17 10:12:37,209 - INFO - we take 445 photos in this while loop
MAIN: 2025-03-17 10:12:37,210 - INFO - /home/pi/Desktop/images/17032025/10/12/image_17032025_10_12_36_29683.jpg
MAIN: 2025-03-17 10:12:37,210 - INFO - duration: 0.6898683849976806
Corrupt JPEG data: premature end of data segment
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-03-17 10:13:05,813 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:13:06,997 - INFO - taking picture
MAIN: 2025-03-17 10:13:06,998 - INFO - we take 446 photos in this while loop
MAIN: 2025-03-17 10:13:06,998 - INFO - /home/pi/Desktop/images/17032025/10/12/image_17032025_10_13_06_29800.jpg
MAIN: 2025-03-17 10:13:06,998 - INFO - duration: 0.6770866150000074
MAIN: 2025-03-17 10:13:06,998 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:13:36,548 - INFO - taking picture
MAIN: 2025-03-17 10:13:36,548 - INFO - we take 447 photos in this while loop
MAIN: 2025-03-17 10:13:36,548 - INFO - /home/pi/Desktop/images/17032025/10/13/image_17032025_10_13_36_29556.jpg
MAIN: 2025-03-17 10:13:36,549 - INFO - duration: 0.6711822910001501
Corrupt JPEG data: premature end of data segment
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-03-17 10:14: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 ! 
MAIN: 2025-03-17 10:14:06,627 - INFO - taking picture
MAIN: 2025-03-17 10:14:06,628 - INFO - we take 448 photos in this while loop
MAIN: 2025-03-17 10:14:06,628 - INFO - /home/pi/Desktop/images/17032025/10/13/image_17032025_10_14_06_30043.jpg
MAIN: 2025-03-17 10:14:06,629 - INFO - duration: 0.7074978640011977
MAIN: 2025-03-17 10:14:06,629 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/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=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-03-17 10:14:37,458 - INFO - taking picture
MAIN: 2025-03-17 10:14:37,459 - INFO - we take 449 photos in this while loop
MAIN: 2025-03-17 10:14:37,459 - INFO - /home/pi/Desktop/images/17032025/10/14/image_17032025_10_14_37_30846.jpg
MAIN: 2025-03-17 10:14:37,459 - INFO - duration: 0.6921833849992254
Corrupt JPEG data: premature end of data segment
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-03-17 10:15: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=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-03-17 10:15:07,490 - INFO - taking picture
MAIN: 2025-03-17 10:15:07,491 - INFO - we take 450 photos in this while loop
MAIN: 2025-03-17 10:15:07,491 - INFO - /home/pi/Desktop/images/17032025/10/14/image_17032025_10_15_07_30050.jpg
MAIN: 2025-03-17 10:15:07,492 - INFO - duration: 0.6736423959991953
MAIN: 2025-03-17 10:15:07,493 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/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=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-03-17 10:15:37,044 - INFO - taking picture
MAIN: 2025-03-17 10:15:37,045 - INFO - we take 451 photos in this while loop
MAIN: 2025-03-17 10:15:37,045 - INFO - /home/pi/Desktop/images/17032025/10/15/image_17032025_10_15_36_29561.jpg
MAIN: 2025-03-17 10:15:37,045 - INFO - duration: 0.6655721870010893
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 10:16:06,950 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:16:07,473 - INFO - taking picture
MAIN: 2025-03-17 10:16:07,474 - INFO - we take 452 photos in this while loop
MAIN: 2025-03-17 10:16:07,474 - INFO - /home/pi/Desktop/images/17032025/10/15/image_17032025_10_16_07_30393.jpg
MAIN: 2025-03-17 10:16:07,474 - INFO - duration: 0.7006676559976768
MAIN: 2025-03-17 10:16:07,474 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:16:37,008 - INFO - taking picture
MAIN: 2025-03-17 10:16:37,009 - INFO - we take 453 photos in this while loop
MAIN: 2025-03-17 10:16:37,009 - INFO - /home/pi/Desktop/images/17032025/10/16/image_17032025_10_16_36_29543.jpg
MAIN: 2025-03-17 10:16:37,009 - INFO - duration: 0.6926362500016694
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 10:17:05,967 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:17:07,072 - INFO - taking picture
MAIN: 2025-03-17 10:17:07,073 - INFO - we take 454 photos in this while loop
MAIN: 2025-03-17 10:17:07,073 - INFO - /home/pi/Desktop/images/17032025/10/16/image_17032025_10_17_06_30087.jpg
MAIN: 2025-03-17 10:17:07,073 - INFO - duration: 0.6689698959999077
MAIN: 2025-03-17 10:17:07,074 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/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=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-03-17 10:17:36,776 - INFO - taking picture
MAIN: 2025-03-17 10:17:36,777 - INFO - we take 455 photos in this while loop
MAIN: 2025-03-17 10:17:36,777 - INFO - /home/pi/Desktop/images/17032025/10/17/image_17032025_10_17_36_29699.jpg
MAIN: 2025-03-17 10:17:36,777 - INFO - duration: 0.6727763020026032
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 10:18: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=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-03-17 10:18:06,990 - INFO - taking picture
MAIN: 2025-03-17 10:18:06,990 - INFO - we take 456 photos in this while loop
MAIN: 2025-03-17 10:18:06,991 - INFO - /home/pi/Desktop/images/17032025/10/17/image_17032025_10_18_06_30198.jpg
MAIN: 2025-03-17 10:18:06,991 - INFO - duration: 0.6877461459989718
MAIN: 2025-03-17 10:18:06,991 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 10:18:36,706 - INFO - taking picture
MAIN: 2025-03-17 10:18:36,706 - INFO - we take 457 photos in this while loop
MAIN: 2025-03-17 10:18:36,707 - INFO - /home/pi/Desktop/images/17032025/10/18/image_17032025_10_18_36_29705.jpg
MAIN: 2025-03-17 10:18:36,707 - INFO - duration: 0.6985566140028823
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 10:19: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=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-03-17 10:19:06,879 - INFO - taking picture
MAIN: 2025-03-17 10:19:06,879 - INFO - we take 458 photos in this while loop
MAIN: 2025-03-17 10:19:06,880 - INFO - /home/pi/Desktop/images/17032025/10/18/image_17032025_10_19_06_30176.jpg
MAIN: 2025-03-17 10:19:06,880 - INFO - duration: 0.6946284369987552
MAIN: 2025-03-17 10:19:06,880 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 10:19:36,577 - INFO - taking picture
MAIN: 2025-03-17 10:19:36,577 - INFO - we take 459 photos in this while loop
MAIN: 2025-03-17 10:19:36,578 - INFO - /home/pi/Desktop/images/17032025/10/19/image_17032025_10_19_36_29703.jpg
MAIN: 2025-03-17 10:19:36,578 - INFO - duration: 0.689232759999868
[ WARN:0] global /tmp/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-03-17 10:20:07,037 - INFO - taking picture
MAIN: 2025-03-17 10:20:07,038 - INFO - we take 460 photos in this while loop
MAIN: 2025-03-17 10:20:07,038 - INFO - /home/pi/Desktop/images/17032025/10/19/image_17032025_10_20_06_30476.jpg
MAIN: 2025-03-17 10:20:07,039 - INFO - duration: 0.6735366670000076
MAIN: 2025-03-17 10:20:07,039 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/20'
MAIN: 2025-03-17 10:20: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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:20:36,578 - INFO - taking picture
MAIN: 2025-03-17 10:20:36,578 - INFO - we take 461 photos in this while loop
MAIN: 2025-03-17 10:20:36,578 - INFO - /home/pi/Desktop/images/17032025/10/20/image_17032025_10_20_36_29524.jpg
MAIN: 2025-03-17 10:20:36,579 - INFO - duration: 0.6893308329999854
Corrupt JPEG data: premature end of data segment
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-03-17 10:21:05,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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:21:06,528 - INFO - taking picture
MAIN: 2025-03-17 10:21:06,529 - INFO - we take 462 photos in this while loop
MAIN: 2025-03-17 10:21:06,529 - INFO - /home/pi/Desktop/images/17032025/10/20/image_17032025_10_21_06_30007.jpg
MAIN: 2025-03-17 10:21:06,529 - INFO - duration: 0.6328921349995653
MAIN: 2025-03-17 10:21:06,530 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/21'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:21:37,398 - INFO - taking picture
MAIN: 2025-03-17 10:21:37,398 - INFO - we take 463 photos in this while loop
MAIN: 2025-03-17 10:21:37,398 - INFO - /home/pi/Desktop/images/17032025/10/21/image_17032025_10_21_37_30808.jpg
MAIN: 2025-03-17 10:21:37,399 - INFO - duration: 0.6934651560004568
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-03-17 10:22: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 ! 
MAIN: 2025-03-17 10:22:06,390 - INFO - taking picture
MAIN: 2025-03-17 10:22:06,390 - INFO - we take 464 photos in this while loop
MAIN: 2025-03-17 10:22:06,390 - INFO - /home/pi/Desktop/images/17032025/10/21/image_17032025_10_22_06_28979.jpg
MAIN: 2025-03-17 10:22:06,391 - INFO - duration: 0.7062819790007779
MAIN: 2025-03-17 10:22:06,391 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/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=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-03-17 10:22:37,185 - INFO - taking picture
MAIN: 2025-03-17 10:22:37,186 - INFO - we take 465 photos in this while loop
MAIN: 2025-03-17 10:22:37,186 - INFO - /home/pi/Desktop/images/17032025/10/22/image_17032025_10_22_36_30830.jpg
MAIN: 2025-03-17 10:22:37,187 - INFO - duration: 0.6720554679995985
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-03-17 10:23:05,990 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:23:07,102 - INFO - taking picture
MAIN: 2025-03-17 10:23:07,102 - INFO - we take 466 photos in this while loop
MAIN: 2025-03-17 10:23:07,103 - INFO - /home/pi/Desktop/images/17032025/10/22/image_17032025_10_23_06_29939.jpg
MAIN: 2025-03-17 10:23:07,103 - INFO - duration: 0.6484909370010428
MAIN: 2025-03-17 10:23:07,103 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:23:36,737 - INFO - taking picture
MAIN: 2025-03-17 10:23:36,737 - INFO - we take 467 photos in this while loop
MAIN: 2025-03-17 10:23:36,737 - INFO - /home/pi/Desktop/images/17032025/10/23/image_17032025_10_23_36_29591.jpg
MAIN: 2025-03-17 10:23:36,738 - INFO - duration: 0.6917408330009494
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 10:24:06,434 - INFO - 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-03-17 10:24:07,039 - INFO - taking picture
MAIN: 2025-03-17 10:24:07,039 - INFO - we take 468 photos in this while loop
MAIN: 2025-03-17 10:24:07,039 - INFO - /home/pi/Desktop/images/17032025/10/23/image_17032025_10_24_06_30294.jpg
MAIN: 2025-03-17 10:24:07,040 - INFO - duration: 0.6995873440027935
MAIN: 2025-03-17 10:24:07,040 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:24:36,731 - INFO - taking picture
MAIN: 2025-03-17 10:24:36,731 - INFO - we take 469 photos in this while loop
MAIN: 2025-03-17 10:24:36,731 - INFO - /home/pi/Desktop/images/17032025/10/24/image_17032025_10_24_36_29698.jpg
MAIN: 2025-03-17 10:24:36,732 - INFO - duration: 0.6935206250018382
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-03-17 10:25:07,019 - INFO - taking picture
MAIN: 2025-03-17 10:25:07,020 - INFO - we take 470 photos in this while loop
MAIN: 2025-03-17 10:25:07,021 - INFO - /home/pi/Desktop/images/17032025/10/24/image_17032025_10_25_06_30306.jpg
MAIN: 2025-03-17 10:25:07,022 - INFO - duration: 0.6765495830004511
MAIN: 2025-03-17 10:25:07,023 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/25'
MAIN: 2025-03-17 10:25:07,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:25:36,703 - INFO - taking picture
MAIN: 2025-03-17 10:25:36,703 - INFO - we take 471 photos in this while loop
MAIN: 2025-03-17 10:25:36,704 - INFO - /home/pi/Desktop/images/17032025/10/25/image_17032025_10_25_36_29664.jpg
MAIN: 2025-03-17 10:25:36,704 - INFO - duration: 0.6942894269996032
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 10:26:06,162 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:26:06,881 - INFO - taking picture
MAIN: 2025-03-17 10:26:06,882 - INFO - we take 472 photos in this while loop
MAIN: 2025-03-17 10:26:06,882 - INFO - /home/pi/Desktop/images/17032025/10/25/image_17032025_10_26_06_30196.jpg
MAIN: 2025-03-17 10:26:06,882 - INFO - duration: 0.6763338540004042
MAIN: 2025-03-17 10:26:06,883 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/26'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:26:36,504 - INFO - taking picture
MAIN: 2025-03-17 10:26:36,505 - INFO - we take 473 photos in this while loop
MAIN: 2025-03-17 10:26:36,505 - INFO - /home/pi/Desktop/images/17032025/10/26/image_17032025_10_26_36_29597.jpg
MAIN: 2025-03-17 10:26:36,505 - INFO - duration: 0.7016636459993606
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 10:27: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=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-03-17 10:27:06,591 - INFO - taking picture
MAIN: 2025-03-17 10:27:06,592 - INFO - we take 474 photos in this while loop
MAIN: 2025-03-17 10:27:06,592 - INFO - /home/pi/Desktop/images/17032025/10/26/image_17032025_10_27_06_30085.jpg
MAIN: 2025-03-17 10:27:06,592 - INFO - duration: 0.7027867709985003
MAIN: 2025-03-17 10:27:06,592 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/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=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-03-17 10:27:36,302 - INFO - taking picture
MAIN: 2025-03-17 10:27:36,302 - INFO - we take 475 photos in this while loop
MAIN: 2025-03-17 10:27:36,303 - INFO - /home/pi/Desktop/images/17032025/10/27/image_17032025_10_27_35_29746.jpg
MAIN: 2025-03-17 10:27:36,303 - INFO - duration: 0.6674691139996867
[ WARN:0] global /tmp/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-03-17 10:28:06,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 ! 
MAIN: 2025-03-17 10:28:06,599 - INFO - taking picture
MAIN: 2025-03-17 10:28:06,600 - INFO - we take 476 photos in this while loop
MAIN: 2025-03-17 10:28:06,600 - INFO - /home/pi/Desktop/images/17032025/10/27/image_17032025_10_28_06_30279.jpg
MAIN: 2025-03-17 10:28:06,601 - INFO - duration: 0.6860661450009502
MAIN: 2025-03-17 10:28:06,601 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 10:28:36,295 - INFO - taking picture
MAIN: 2025-03-17 10:28:36,295 - INFO - we take 477 photos in this while loop
MAIN: 2025-03-17 10:28:36,296 - INFO - /home/pi/Desktop/images/17032025/10/28/image_17032025_10_28_35_29689.jpg
MAIN: 2025-03-17 10:28:36,296 - INFO - duration: 0.6912546870007645
[ WARN:0] global /tmp/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-03-17 10:29: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 ! 
MAIN: 2025-03-17 10:29:06,592 - INFO - taking picture
MAIN: 2025-03-17 10:29:06,592 - INFO - we take 478 photos in this while loop
MAIN: 2025-03-17 10:29:06,592 - INFO - /home/pi/Desktop/images/17032025/10/28/image_17032025_10_29_06_30290.jpg
MAIN: 2025-03-17 10:29:06,593 - INFO - duration: 0.6979115630019805
MAIN: 2025-03-17 10:29:06,593 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/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-03-17 10:29:37,511 - INFO - taking picture
MAIN: 2025-03-17 10:29:37,512 - INFO - we take 479 photos in this while loop
MAIN: 2025-03-17 10:29:37,512 - INFO - /home/pi/Desktop/images/17032025/10/29/image_17032025_10_29_37_30934.jpg
MAIN: 2025-03-17 10:29:37,512 - INFO - duration: 0.6835472910024691
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 10:30:06,501 - INFO - taking picture
MAIN: 2025-03-17 10:30:06,502 - INFO - we take 480 photos in this while loop
MAIN: 2025-03-17 10:30:06,502 - INFO - /home/pi/Desktop/images/17032025/10/29/image_17032025_10_30_06_28992.jpg
MAIN: 2025-03-17 10:30:06,502 - INFO - duration: 0.6808691139995062
MAIN: 2025-03-17 10:30:06,503 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/30'
MAIN: 2025-03-17 10:30:06,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:30:37,342 - INFO - taking picture
MAIN: 2025-03-17 10:30:37,342 - INFO - we take 481 photos in this while loop
MAIN: 2025-03-17 10:30:37,343 - INFO - /home/pi/Desktop/images/17032025/10/30/image_17032025_10_30_36_30805.jpg
MAIN: 2025-03-17 10:30:37,343 - INFO - duration: 0.715938853998523
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-03-17 10:31:05,704 - INFO - 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-03-17 10:31:07,509 - INFO - taking picture
MAIN: 2025-03-17 10:31:07,509 - INFO - we take 482 photos in this while loop
MAIN: 2025-03-17 10:31:07,509 - INFO - /home/pi/Desktop/images/17032025/10/30/image_17032025_10_31_07_30192.jpg
MAIN: 2025-03-17 10:31:07,510 - INFO - duration: 0.6901929680025205
MAIN: 2025-03-17 10:31:07,510 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/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=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-03-17 10:31:37,117 - INFO - taking picture
MAIN: 2025-03-17 10:31:37,117 - INFO - we take 483 photos in this while loop
MAIN: 2025-03-17 10:31:37,118 - INFO - /home/pi/Desktop/images/17032025/10/31/image_17032025_10_31_36_29608.jpg
MAIN: 2025-03-17 10:31:37,118 - INFO - duration: 0.6894667179985845
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-03-17 10:32: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=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-03-17 10:32:07,161 - INFO - taking picture
MAIN: 2025-03-17 10:32:07,162 - INFO - we take 484 photos in this while loop
MAIN: 2025-03-17 10:32:07,162 - INFO - /home/pi/Desktop/images/17032025/10/31/image_17032025_10_32_06_30038.jpg
MAIN: 2025-03-17 10:32:07,162 - INFO - duration: 0.695302759999322
MAIN: 2025-03-17 10:32:07,162 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/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=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-03-17 10:32:36,896 - INFO - taking picture
MAIN: 2025-03-17 10:32:36,897 - INFO - we take 485 photos in this while loop
MAIN: 2025-03-17 10:32:36,897 - INFO - /home/pi/Desktop/images/17032025/10/32/image_17032025_10_32_36_29717.jpg
MAIN: 2025-03-17 10:32:36,897 - INFO - duration: 0.7125917190023756
Corrupt JPEG data: premature end of data segment
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-03-17 10:33: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=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-03-17 10:33:06,926 - INFO - taking picture
MAIN: 2025-03-17 10:33:06,927 - INFO - we take 486 photos in this while loop
MAIN: 2025-03-17 10:33:06,927 - INFO - /home/pi/Desktop/images/17032025/10/32/image_17032025_10_33_06_30099.jpg
MAIN: 2025-03-17 10:33:06,927 - INFO - duration: 0.6436070839990862
MAIN: 2025-03-17 10:33:06,928 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:33:36,543 - INFO - taking picture
MAIN: 2025-03-17 10:33:36,543 - INFO - we take 487 photos in this while loop
MAIN: 2025-03-17 10:33:36,544 - INFO - /home/pi/Desktop/images/17032025/10/33/image_17032025_10_33_36_29594.jpg
MAIN: 2025-03-17 10:33:36,544 - INFO - duration: 0.6653052089968696
Corrupt JPEG data: premature end of data segment
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-03-17 10:34:06,428 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:34:06,916 - INFO - taking picture
MAIN: 2025-03-17 10:34:06,916 - INFO - we take 488 photos in this while loop
MAIN: 2025-03-17 10:34:06,916 - INFO - /home/pi/Desktop/images/17032025/10/33/image_17032025_10_34_06_30346.jpg
MAIN: 2025-03-17 10:34:06,917 - INFO - duration: 0.6912713010024163
MAIN: 2025-03-17 10:34:06,917 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:34:36,532 - INFO - taking picture
MAIN: 2025-03-17 10:34:36,533 - INFO - we take 489 photos in this while loop
MAIN: 2025-03-17 10:34:36,533 - INFO - /home/pi/Desktop/images/17032025/10/34/image_17032025_10_34_36_29642.jpg
MAIN: 2025-03-17 10:34:36,533 - INFO - duration: 0.6660057810004218
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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=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-03-17 10:35:06,524 - INFO - taking picture
MAIN: 2025-03-17 10:35:06,525 - INFO - we take 490 photos in this while loop
MAIN: 2025-03-17 10:35:06,526 - INFO - /home/pi/Desktop/images/17032025/10/34/image_17032025_10_35_06_29993.jpg
MAIN: 2025-03-17 10:35:06,527 - INFO - duration: 0.6661145830003079
MAIN: 2025-03-17 10:35:06,528 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/35'
MAIN: 2025-03-17 10:35:06,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:35:37,390 - INFO - taking picture
MAIN: 2025-03-17 10:35:37,390 - INFO - we take 491 photos in this while loop
MAIN: 2025-03-17 10:35:37,390 - INFO - /home/pi/Desktop/images/17032025/10/35/image_17032025_10_35_37_30832.jpg
MAIN: 2025-03-17 10:35:37,391 - INFO - duration: 0.6979381769997417
Corrupt JPEG data: premature end of data segment
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-03-17 10:36:06,925 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:36:07,487 - INFO - taking picture
MAIN: 2025-03-17 10:36:07,488 - INFO - we take 492 photos in this while loop
MAIN: 2025-03-17 10:36:07,488 - INFO - /home/pi/Desktop/images/17032025/10/35/image_17032025_10_36_07_30079.jpg
MAIN: 2025-03-17 10:36:07,488 - INFO - duration: 0.7155434889973549
MAIN: 2025-03-17 10:36:07,488 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/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=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-03-17 10:36:37,148 - INFO - taking picture
MAIN: 2025-03-17 10:36:37,149 - INFO - we take 493 photos in this while loop
MAIN: 2025-03-17 10:36:37,149 - INFO - /home/pi/Desktop/images/17032025/10/36/image_17032025_10_36_36_29677.jpg
MAIN: 2025-03-17 10:36:37,149 - INFO - duration: 0.6990172389996587
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-03-17 10:37: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=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-03-17 10:37:07,367 - INFO - taking picture
MAIN: 2025-03-17 10:37:07,368 - INFO - we take 494 photos in this while loop
MAIN: 2025-03-17 10:37:07,368 - INFO - /home/pi/Desktop/images/17032025/10/36/image_17032025_10_37_06_30226.jpg
MAIN: 2025-03-17 10:37:07,368 - INFO - duration: 0.6911980209988542
MAIN: 2025-03-17 10:37:07,368 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:37:37,035 - INFO - taking picture
MAIN: 2025-03-17 10:37:37,036 - INFO - we take 495 photos in this while loop
MAIN: 2025-03-17 10:37:37,036 - INFO - /home/pi/Desktop/images/17032025/10/37/image_17032025_10_37_36_29665.jpg
MAIN: 2025-03-17 10:37:37,036 - INFO - duration: 0.6942433849981171
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 10:38: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=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-03-17 10:38:07,142 - INFO - taking picture
MAIN: 2025-03-17 10:38:07,143 - INFO - we take 496 photos in this while loop
MAIN: 2025-03-17 10:38:07,143 - INFO - /home/pi/Desktop/images/17032025/10/37/image_17032025_10_38_06_30165.jpg
MAIN: 2025-03-17 10:38:07,143 - INFO - duration: 0.6357726040005218
MAIN: 2025-03-17 10:38:07,144 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/38'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:38:36,824 - INFO - taking picture
MAIN: 2025-03-17 10:38:36,825 - INFO - we take 497 photos in this while loop
MAIN: 2025-03-17 10:38:36,825 - INFO - /home/pi/Desktop/images/17032025/10/38/image_17032025_10_38_36_29630.jpg
MAIN: 2025-03-17 10:38:36,825 - INFO - duration: 0.6870458330013207
Corrupt JPEG data: premature end of data segment
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-03-17 10:39: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=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-03-17 10:39:06,810 - INFO - taking picture
MAIN: 2025-03-17 10:39:06,810 - INFO - we take 498 photos in this while loop
MAIN: 2025-03-17 10:39:06,810 - INFO - /home/pi/Desktop/images/17032025/10/38/image_17032025_10_39_06_30031.jpg
MAIN: 2025-03-17 10:39:06,811 - INFO - duration: 0.640978905998054
MAIN: 2025-03-17 10:39:06,811 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:39:36,491 - INFO - taking picture
MAIN: 2025-03-17 10:39:36,492 - INFO - we take 499 photos in this while loop
MAIN: 2025-03-17 10:39:36,492 - INFO - /home/pi/Desktop/images/17032025/10/39/image_17032025_10_39_36_29631.jpg
MAIN: 2025-03-17 10:39:36,492 - INFO - duration: 0.6913933329997235
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 10:40:07,019 - INFO - taking picture
MAIN: 2025-03-17 10:40:07,019 - INFO - we take 500 photos in this while loop
MAIN: 2025-03-17 10:40:07,019 - INFO - /home/pi/Desktop/images/17032025/10/39/image_17032025_10_40_06_30547.jpg
MAIN: 2025-03-17 10:40:07,020 - INFO - duration: 0.6717393750004703
MAIN: 2025-03-17 10:40:07,020 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/40'
MAIN: 2025-03-17 10:40:07,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:40:36,603 - INFO - taking picture
MAIN: 2025-03-17 10:40:36,603 - INFO - we take 501 photos in this while loop
MAIN: 2025-03-17 10:40:36,603 - INFO - /home/pi/Desktop/images/17032025/10/40/image_17032025_10_40_36_29568.jpg
MAIN: 2025-03-17 10:40:36,604 - INFO - duration: 0.6875440109979536
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 10:41:06,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 ! 
MAIN: 2025-03-17 10:41:06,788 - INFO - taking picture
MAIN: 2025-03-17 10:41:06,789 - INFO - we take 502 photos in this while loop
MAIN: 2025-03-17 10:41:06,789 - INFO - /home/pi/Desktop/images/17032025/10/40/image_17032025_10_41_06_30192.jpg
MAIN: 2025-03-17 10:41:06,789 - INFO - duration: 0.680904687000293
MAIN: 2025-03-17 10:41:06,790 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:41:36,542 - INFO - taking picture
MAIN: 2025-03-17 10:41:36,543 - INFO - we take 503 photos in this while loop
MAIN: 2025-03-17 10:41:36,543 - INFO - /home/pi/Desktop/images/17032025/10/41/image_17032025_10_41_36_29745.jpg
MAIN: 2025-03-17 10:41:36,543 - INFO - duration: 0.6894635930002551
Corrupt JPEG data: premature end of data segment
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-03-17 10:42: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=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-03-17 10:42:06,717 - INFO - taking picture
MAIN: 2025-03-17 10:42:06,717 - INFO - we take 504 photos in this while loop
MAIN: 2025-03-17 10:42:06,717 - INFO - /home/pi/Desktop/images/17032025/10/41/image_17032025_10_42_06_30152.jpg
MAIN: 2025-03-17 10:42:06,718 - INFO - duration: 0.7110551559999294
MAIN: 2025-03-17 10:42:06,718 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:42:36,290 - INFO - taking picture
MAIN: 2025-03-17 10:42:36,291 - INFO - we take 505 photos in this while loop
MAIN: 2025-03-17 10:42:36,291 - INFO - /home/pi/Desktop/images/17032025/10/42/image_17032025_10_42_35_29595.jpg
MAIN: 2025-03-17 10:42:36,291 - INFO - duration: 0.6890949480002746
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 10:43: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=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-03-17 10:43:06,348 - INFO - taking picture
MAIN: 2025-03-17 10:43:06,349 - INFO - we take 506 photos in this while loop
MAIN: 2025-03-17 10:43:06,349 - INFO - /home/pi/Desktop/images/17032025/10/42/image_17032025_10_43_05_30048.jpg
MAIN: 2025-03-17 10:43:06,349 - INFO - duration: 0.6982257290001144
MAIN: 2025-03-17 10:43:06,349 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:43:37,286 - INFO - taking picture
MAIN: 2025-03-17 10:43:37,286 - INFO - we take 507 photos in this while loop
MAIN: 2025-03-17 10:43:37,286 - INFO - /home/pi/Desktop/images/17032025/10/43/image_17032025_10_43_36_30953.jpg
MAIN: 2025-03-17 10:43:37,287 - INFO - duration: 0.6827594269998372
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 10:44:06,604 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:44:07,388 - INFO - taking picture
MAIN: 2025-03-17 10:44:07,389 - INFO - we take 508 photos in this while loop
MAIN: 2025-03-17 10:44:07,389 - INFO - /home/pi/Desktop/images/17032025/10/43/image_17032025_10_44_07_30151.jpg
MAIN: 2025-03-17 10:44:07,389 - INFO - duration: 0.6333175510008004
MAIN: 2025-03-17 10:44:07,390 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:44:37,070 - INFO - taking picture
MAIN: 2025-03-17 10:44:37,071 - INFO - we take 509 photos in this while loop
MAIN: 2025-03-17 10:44:37,071 - INFO - /home/pi/Desktop/images/17032025/10/44/image_17032025_10_44_36_29625.jpg
MAIN: 2025-03-17 10:44:37,071 - INFO - duration: 0.689743176997581
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 10:45:06,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:45:07,350 - INFO - taking picture
MAIN: 2025-03-17 10:45:07,350 - INFO - we take 510 photos in this while loop
MAIN: 2025-03-17 10:45:07,351 - INFO - /home/pi/Desktop/images/17032025/10/44/image_17032025_10_45_06_30277.jpg
MAIN: 2025-03-17 10:45:07,351 - INFO - duration: 0.6919721350022883
MAIN: 2025-03-17 10:45:07,351 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:45:36,907 - INFO - taking picture
MAIN: 2025-03-17 10:45:36,908 - INFO - we take 511 photos in this while loop
MAIN: 2025-03-17 10:45:36,908 - INFO - /home/pi/Desktop/images/17032025/10/45/image_17032025_10_45_36_29559.jpg
MAIN: 2025-03-17 10:45:36,908 - INFO - duration: 0.6892367699983879
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=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-03-17 10:46:06,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 ! 
MAIN: 2025-03-17 10:46:07,237 - INFO - taking picture
MAIN: 2025-03-17 10:46:07,238 - INFO - we take 512 photos in this while loop
MAIN: 2025-03-17 10:46:07,238 - INFO - /home/pi/Desktop/images/17032025/10/45/image_17032025_10_46_06_30316.jpg
MAIN: 2025-03-17 10:46:07,238 - INFO - duration: 0.7030400509975152
MAIN: 2025-03-17 10:46:07,239 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:46:36,887 - INFO - taking picture
MAIN: 2025-03-17 10:46:36,888 - INFO - we take 513 photos in this while loop
MAIN: 2025-03-17 10:46:36,888 - INFO - /home/pi/Desktop/images/17032025/10/46/image_17032025_10_46_36_29655.jpg
MAIN: 2025-03-17 10:46:36,888 - INFO - duration: 0.6975722400020459
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-03-17 10:47:05,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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:47:06,764 - INFO - taking picture
MAIN: 2025-03-17 10:47:06,765 - INFO - we take 514 photos in this while loop
MAIN: 2025-03-17 10:47:06,765 - INFO - /home/pi/Desktop/images/17032025/10/46/image_17032025_10_47_06_29906.jpg
MAIN: 2025-03-17 10:47:06,765 - INFO - duration: 0.6674200520028535
MAIN: 2025-03-17 10:47:06,765 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/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=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-03-17 10:47:36,522 - INFO - taking picture
MAIN: 2025-03-17 10:47:36,523 - INFO - we take 515 photos in this while loop
MAIN: 2025-03-17 10:47:36,523 - INFO - /home/pi/Desktop/images/17032025/10/47/image_17032025_10_47_36_29734.jpg
MAIN: 2025-03-17 10:47:36,523 - INFO - duration: 0.6914554169998155
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 10:48:06,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=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-03-17 10:48:06,985 - INFO - taking picture
MAIN: 2025-03-17 10:48:06,986 - INFO - we take 516 photos in this while loop
MAIN: 2025-03-17 10:48:06,986 - INFO - /home/pi/Desktop/images/17032025/10/47/image_17032025_10_48_06_30448.jpg
MAIN: 2025-03-17 10:48:06,986 - INFO - duration: 0.7059612500015646
MAIN: 2025-03-17 10:48:06,986 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:48:36,698 - INFO - taking picture
MAIN: 2025-03-17 10:48:36,699 - INFO - we take 517 photos in this while loop
MAIN: 2025-03-17 10:48:36,699 - INFO - /home/pi/Desktop/images/17032025/10/48/image_17032025_10_48_36_29720.jpg
MAIN: 2025-03-17 10:48:36,699 - INFO - duration: 0.6983684369988623
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-03-17 10:49: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:49:06,652 - INFO - taking picture
MAIN: 2025-03-17 10:49:06,652 - INFO - we take 518 photos in this while loop
MAIN: 2025-03-17 10:49:06,652 - INFO - /home/pi/Desktop/images/17032025/10/48/image_17032025_10_49_06_29990.jpg
MAIN: 2025-03-17 10:49:06,653 - INFO - duration: 0.6613871350018599
MAIN: 2025-03-17 10:49:06,653 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/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=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-03-17 10:49:37,517 - INFO - taking picture
MAIN: 2025-03-17 10:49:37,518 - INFO - we take 519 photos in this while loop
MAIN: 2025-03-17 10:49:37,518 - INFO - /home/pi/Desktop/images/17032025/10/49/image_17032025_10_49_37_30829.jpg
MAIN: 2025-03-17 10:49:37,518 - INFO - duration: 0.6971571870017215
Corrupt JPEG data: premature end of data segment
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-03-17 10:50:06,930 - INFO - taking picture
MAIN: 2025-03-17 10:50:06,930 - INFO - we take 520 photos in this while loop
MAIN: 2025-03-17 10:50:06,931 - INFO - /home/pi/Desktop/images/17032025/10/49/image_17032025_10_50_06_29436.jpg
MAIN: 2025-03-17 10:50:06,931 - INFO - duration: 0.6732078130007721
MAIN: 2025-03-17 10:50:06,931 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/50'
MAIN: 2025-03-17 10:50:07,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:50:36,325 - INFO - taking picture
MAIN: 2025-03-17 10:50:36,325 - INFO - we take 521 photos in this while loop
MAIN: 2025-03-17 10:50:36,326 - INFO - /home/pi/Desktop/images/17032025/10/50/image_17032025_10_50_35_29381.jpg
MAIN: 2025-03-17 10:50:36,326 - INFO - duration: 0.6861291140012327
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 10:51:06,493 - INFO - taking picture
MAIN: 2025-03-17 10:51:06,494 - INFO - we take 522 photos in this while loop
MAIN: 2025-03-17 10:51:06,494 - INFO - /home/pi/Desktop/images/17032025/10/50/image_17032025_10_51_06_30173.jpg
MAIN: 2025-03-17 10:51:06,494 - INFO - duration: 0.6807471350002743
MAIN: 2025-03-17 10:51:06,494 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/51'
MAIN: 2025-03-17 10:51: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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:51:37,248 - INFO - taking picture
MAIN: 2025-03-17 10:51:37,249 - INFO - we take 523 photos in this while loop
MAIN: 2025-03-17 10:51:37,249 - INFO - /home/pi/Desktop/images/17032025/10/51/image_17032025_10_51_36_30742.jpg
MAIN: 2025-03-17 10:51:37,249 - INFO - duration: 0.6934235929984425
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 10:52:06,943 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:52:07,455 - INFO - taking picture
MAIN: 2025-03-17 10:52:07,455 - INFO - we take 524 photos in this while loop
MAIN: 2025-03-17 10:52:07,455 - INFO - /home/pi/Desktop/images/17032025/10/51/image_17032025_10_52_07_30200.jpg
MAIN: 2025-03-17 10:52:07,456 - INFO - duration: 0.699315467998531
MAIN: 2025-03-17 10:52:07,456 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:52:37,145 - INFO - taking picture
MAIN: 2025-03-17 10:52:37,145 - INFO - we take 525 photos in this while loop
MAIN: 2025-03-17 10:52:37,146 - INFO - /home/pi/Desktop/images/17032025/10/52/image_17032025_10_52_36_29684.jpg
MAIN: 2025-03-17 10:52:37,146 - INFO - duration: 0.7044665100002021
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 10:53:05,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:53:07,188 - INFO - taking picture
MAIN: 2025-03-17 10:53:07,188 - INFO - we take 526 photos in this while loop
MAIN: 2025-03-17 10:53:07,189 - INFO - /home/pi/Desktop/images/17032025/10/52/image_17032025_10_53_06_30046.jpg
MAIN: 2025-03-17 10:53:07,189 - INFO - duration: 0.7014011979990755
MAIN: 2025-03-17 10:53:07,189 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/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=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-03-17 10:53:36,866 - INFO - taking picture
MAIN: 2025-03-17 10:53:36,867 - INFO - we take 527 photos in this while loop
MAIN: 2025-03-17 10:53:36,867 - INFO - /home/pi/Desktop/images/17032025/10/53/image_17032025_10_53_36_29680.jpg
MAIN: 2025-03-17 10:53:36,867 - INFO - duration: 0.6996194790008303
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 10:54:06,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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:54:06,948 - INFO - taking picture
MAIN: 2025-03-17 10:54:06,948 - INFO - we take 528 photos in this while loop
MAIN: 2025-03-17 10:54:06,948 - INFO - /home/pi/Desktop/images/17032025/10/53/image_17032025_10_54_06_30147.jpg
MAIN: 2025-03-17 10:54:06,949 - INFO - duration: 0.6336663539987057
MAIN: 2025-03-17 10:54:06,949 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 10:54:36,642 - INFO - taking picture
MAIN: 2025-03-17 10:54:36,643 - INFO - we take 529 photos in this while loop
MAIN: 2025-03-17 10:54:36,643 - INFO - /home/pi/Desktop/images/17032025/10/54/image_17032025_10_54_36_29557.jpg
MAIN: 2025-03-17 10:54:36,643 - INFO - duration: 0.7715884890021698
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 10:55:06,351 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:55:07,069 - INFO - taking picture
MAIN: 2025-03-17 10:55:07,069 - INFO - we take 530 photos in this while loop
MAIN: 2025-03-17 10:55:07,070 - INFO - /home/pi/Desktop/images/17032025/10/54/image_17032025_10_55_06_30505.jpg
MAIN: 2025-03-17 10:55:07,070 - INFO - duration: 0.6925109379990317
MAIN: 2025-03-17 10:55:07,071 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/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=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-03-17 10:55:36,791 - INFO - taking picture
MAIN: 2025-03-17 10:55:36,792 - INFO - we take 531 photos in this while loop
MAIN: 2025-03-17 10:55:36,792 - INFO - /home/pi/Desktop/images/17032025/10/55/image_17032025_10_55_36_29734.jpg
MAIN: 2025-03-17 10:55:36,792 - INFO - duration: 0.6808191140007693
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 10:56:06,513 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:56:06,914 - INFO - taking picture
MAIN: 2025-03-17 10:56:06,914 - INFO - we take 532 photos in this while loop
MAIN: 2025-03-17 10:56:06,915 - INFO - /home/pi/Desktop/images/17032025/10/55/image_17032025_10_56_06_30118.jpg
MAIN: 2025-03-17 10:56:06,915 - INFO - duration: 0.6851550510000379
MAIN: 2025-03-17 10:56:06,915 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/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=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-03-17 10:56:36,580 - INFO - taking picture
MAIN: 2025-03-17 10:56:36,581 - INFO - we take 533 photos in this while loop
MAIN: 2025-03-17 10:56:36,581 - INFO - /home/pi/Desktop/images/17032025/10/56/image_17032025_10_56_36_29653.jpg
MAIN: 2025-03-17 10:56:36,581 - INFO - duration: 0.6985870310018072
[ WARN:0] global /tmp/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-03-17 10:57:06,397 - INFO - 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-03-17 10:57:06,758 - INFO - taking picture
MAIN: 2025-03-17 10:57:06,759 - INFO - we take 534 photos in this while loop
MAIN: 2025-03-17 10:57:06,759 - INFO - /home/pi/Desktop/images/17032025/10/56/image_17032025_10_57_06_30165.jpg
MAIN: 2025-03-17 10:57:06,759 - INFO - duration: 0.7107411450015206
MAIN: 2025-03-17 10:57:06,760 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/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=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-03-17 10:57:36,467 - INFO - taking picture
MAIN: 2025-03-17 10:57:36,467 - INFO - we take 535 photos in this while loop
MAIN: 2025-03-17 10:57:36,468 - INFO - /home/pi/Desktop/images/17032025/10/57/image_17032025_10_57_36_29720.jpg
MAIN: 2025-03-17 10:57:36,468 - INFO - duration: 0.6988659369999368
[ WARN:0] global /tmp/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-03-17 10:58:06,605 - INFO - taking picture
MAIN: 2025-03-17 10:58:06,606 - INFO - we take 536 photos in this while loop
MAIN: 2025-03-17 10:58:06,606 - INFO - /home/pi/Desktop/images/17032025/10/57/image_17032025_10_58_06_30159.jpg
MAIN: 2025-03-17 10:58:06,606 - INFO - duration: 0.6773935409983096
MAIN: 2025-03-17 10:58:06,606 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/10/58'
MAIN: 2025-03-17 10:58:07,008 - INFO - 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=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-03-17 10:58:36,297 - INFO - taking picture
MAIN: 2025-03-17 10:58:36,297 - INFO - we take 537 photos in this while loop
MAIN: 2025-03-17 10:58:36,297 - INFO - /home/pi/Desktop/images/17032025/10/58/image_17032025_10_58_35_29681.jpg
MAIN: 2025-03-17 10:58:36,298 - INFO - duration: 0.6873843220018898
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 10:59:05,778 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 10:59:06,362 - INFO - taking picture
MAIN: 2025-03-17 10:59:06,362 - INFO - we take 538 photos in this while loop
MAIN: 2025-03-17 10:59:06,362 - INFO - /home/pi/Desktop/images/17032025/10/58/image_17032025_10_59_05_30048.jpg
MAIN: 2025-03-17 10:59:06,362 - INFO - duration: 0.7039152599973022
MAIN: 2025-03-17 10:59:06,363 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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-03-17 10:59:37,328 - INFO - taking picture
MAIN: 2025-03-17 10:59:37,329 - INFO - we take 539 photos in this while loop
MAIN: 2025-03-17 10:59:37,329 - INFO - /home/pi/Desktop/images/17032025/10/59/image_17032025_10_59_36_30963.jpg
MAIN: 2025-03-17 10:59:37,329 - INFO - duration: 0.707443854000303
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 11:00:06,401 - INFO - taking picture
MAIN: 2025-03-17 11:00:06,402 - INFO - we take 540 photos in this while loop
MAIN: 2025-03-17 11:00:06,402 - INFO - /home/pi/Desktop/images/17032025/10/59/image_17032025_11_00_05_29047.jpg
MAIN: 2025-03-17 11:00:06,402 - INFO - duration: 0.732733176999318
MAIN: 2025-03-17 11:00:06,403 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/00'
MAIN: 2025-03-17 11:00: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=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-03-17 11:00:37,372 - INFO - taking picture
MAIN: 2025-03-17 11:00:37,373 - INFO - we take 541 photos in this while loop
MAIN: 2025-03-17 11:00:37,373 - INFO - /home/pi/Desktop/images/17032025/11/00/image_17032025_11_00_36_31000.jpg
MAIN: 2025-03-17 11:00:37,373 - INFO - duration: 0.7031858330010436
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 11:01: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=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-03-17 11:01:07,497 - INFO - taking picture
MAIN: 2025-03-17 11:01:07,498 - INFO - we take 542 photos in this while loop
MAIN: 2025-03-17 11:01:07,498 - INFO - /home/pi/Desktop/images/17032025/11/00/image_17032025_11_01_07_30144.jpg
MAIN: 2025-03-17 11:01:07,498 - INFO - duration: 0.6836265630008711
MAIN: 2025-03-17 11:01:07,499 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 11:01:37,129 - INFO - taking picture
MAIN: 2025-03-17 11:01:37,129 - INFO - we take 543 photos in this while loop
MAIN: 2025-03-17 11:01:37,130 - INFO - /home/pi/Desktop/images/17032025/11/01/image_17032025_11_01_36_29615.jpg
MAIN: 2025-03-17 11:01:37,130 - INFO - duration: 0.6992632290020993
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 11:02:06,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=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-03-17 11:02:07,263 - INFO - taking picture
MAIN: 2025-03-17 11:02:07,264 - INFO - we take 544 photos in this while loop
MAIN: 2025-03-17 11:02:07,264 - INFO - /home/pi/Desktop/images/17032025/11/01/image_17032025_11_02_06_30183.jpg
MAIN: 2025-03-17 11:02:07,264 - INFO - duration: 0.6503480729988951
MAIN: 2025-03-17 11:02:07,264 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 11:02:36,801 - INFO - taking picture
MAIN: 2025-03-17 11:02:36,802 - INFO - we take 545 photos in this while loop
MAIN: 2025-03-17 11:02:36,802 - INFO - /home/pi/Desktop/images/17032025/11/02/image_17032025_11_02_36_29492.jpg
MAIN: 2025-03-17 11:02:36,802 - INFO - duration: 0.6957856769986392
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 11:03:06,014 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 11:03:06,767 - INFO - taking picture
MAIN: 2025-03-17 11:03:06,768 - INFO - we take 546 photos in this while loop
MAIN: 2025-03-17 11:03:06,768 - INFO - /home/pi/Desktop/images/17032025/11/02/image_17032025_11_03_06_30017.jpg
MAIN: 2025-03-17 11:03:06,768 - INFO - duration: 0.6444260939970263
MAIN: 2025-03-17 11:03:06,769 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/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=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-03-17 11:03:36,445 - INFO - taking picture
MAIN: 2025-03-17 11:03:36,446 - INFO - we take 547 photos in this while loop
MAIN: 2025-03-17 11:03:36,446 - INFO - /home/pi/Desktop/images/17032025/11/03/image_17032025_11_03_36_29641.jpg
MAIN: 2025-03-17 11:03:36,446 - INFO - duration: 0.6809490100022231
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 11:04: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 ! 
MAIN: 2025-03-17 11:04:06,668 - INFO - taking picture
MAIN: 2025-03-17 11:04:06,668 - INFO - we take 548 photos in this while loop
MAIN: 2025-03-17 11:04:06,669 - INFO - /home/pi/Desktop/images/17032025/11/03/image_17032025_11_04_06_30205.jpg
MAIN: 2025-03-17 11:04:06,669 - INFO - duration: 0.6982511460009846
MAIN: 2025-03-17 11:04:06,669 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 11:04:37,526 - INFO - taking picture
MAIN: 2025-03-17 11:04:37,527 - INFO - we take 549 photos in this while loop
MAIN: 2025-03-17 11:04:37,527 - INFO - /home/pi/Desktop/images/17032025/11/04/image_17032025_11_04_37_30872.jpg
MAIN: 2025-03-17 11:04:37,527 - INFO - duration: 0.6840116669991403
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-03-17 11:05:06,515 - INFO - taking picture
MAIN: 2025-03-17 11:05:06,516 - INFO - we take 550 photos in this while loop
MAIN: 2025-03-17 11:05:06,516 - INFO - /home/pi/Desktop/images/17032025/11/04/image_17032025_11_05_06_28977.jpg
MAIN: 2025-03-17 11:05:06,516 - INFO - duration: 0.6959904169998481
MAIN: 2025-03-17 11:05:06,517 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/05'
MAIN: 2025-03-17 11:05: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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 11:05:37,361 - INFO - taking picture
MAIN: 2025-03-17 11:05:37,361 - INFO - we take 551 photos in this while loop
MAIN: 2025-03-17 11:05:37,361 - INFO - /home/pi/Desktop/images/17032025/11/05/image_17032025_11_05_36_30850.jpg
MAIN: 2025-03-17 11:05:37,362 - INFO - duration: 0.6909553650002636
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 11:06:06,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=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-03-17 11:06:07,488 - INFO - taking picture
MAIN: 2025-03-17 11:06:07,488 - INFO - we take 552 photos in this while loop
MAIN: 2025-03-17 11:06:07,489 - INFO - /home/pi/Desktop/images/17032025/11/05/image_17032025_11_06_07_30117.jpg
MAIN: 2025-03-17 11:06:07,489 - INFO - duration: 0.700732863999292
MAIN: 2025-03-17 11:06:07,489 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 11:06:37,011 - INFO - taking picture
MAIN: 2025-03-17 11:06:37,011 - INFO - we take 553 photos in this while loop
MAIN: 2025-03-17 11:06:37,011 - INFO - /home/pi/Desktop/images/17032025/11/06/image_17032025_11_06_36_29530.jpg
MAIN: 2025-03-17 11:06:37,012 - INFO - duration: 0.6930753119995643
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-03-17 11:07: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=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-03-17 11:07:07,277 - INFO - taking picture
MAIN: 2025-03-17 11:07:07,278 - INFO - we take 554 photos in this while loop
MAIN: 2025-03-17 11:07:07,278 - INFO - /home/pi/Desktop/images/17032025/11/06/image_17032025_11_07_06_30262.jpg
MAIN: 2025-03-17 11:07:07,278 - INFO - duration: 0.6971835410004132
MAIN: 2025-03-17 11:07:07,278 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/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=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-03-17 11:07:36,955 - INFO - taking picture
MAIN: 2025-03-17 11:07:36,955 - INFO - we take 555 photos in this while loop
MAIN: 2025-03-17 11:07:36,955 - INFO - /home/pi/Desktop/images/17032025/11/07/image_17032025_11_07_36_29680.jpg
MAIN: 2025-03-17 11:07:36,956 - INFO - duration: 0.6947155720008595
Corrupt JPEG data: premature end of data segment
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-03-17 11:08:06,467 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 11:08:07,123 - INFO - taking picture
MAIN: 2025-03-17 11:08:07,123 - INFO - we take 556 photos in this while loop
MAIN: 2025-03-17 11:08:07,124 - INFO - /home/pi/Desktop/images/17032025/11/07/image_17032025_11_08_06_30175.jpg
MAIN: 2025-03-17 11:08:07,124 - INFO - duration: 0.6872014059990761
MAIN: 2025-03-17 11:08:07,124 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/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=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-03-17 11:08:36,730 - INFO - taking picture
MAIN: 2025-03-17 11:08:36,730 - INFO - we take 557 photos in this while loop
MAIN: 2025-03-17 11:08:36,731 - INFO - /home/pi/Desktop/images/17032025/11/08/image_17032025_11_08_36_29603.jpg
MAIN: 2025-03-17 11:08:36,731 - INFO - duration: 0.6911320829967735
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-03-17 11:09: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 11:09:06,861 - INFO - taking picture
MAIN: 2025-03-17 11:09:06,861 - INFO - we take 558 photos in this while loop
MAIN: 2025-03-17 11:09:06,861 - INFO - /home/pi/Desktop/images/17032025/11/08/image_17032025_11_09_06_30129.jpg
MAIN: 2025-03-17 11:09:06,862 - INFO - duration: 0.6927577079986804
MAIN: 2025-03-17 11:09:06,862 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/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=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-03-17 11:09:36,597 - INFO - taking picture
MAIN: 2025-03-17 11:09:36,598 - INFO - we take 559 photos in this while loop
MAIN: 2025-03-17 11:09:36,598 - INFO - /home/pi/Desktop/images/17032025/11/09/image_17032025_11_09_36_29734.jpg
MAIN: 2025-03-17 11:09:36,598 - INFO - duration: 0.6951038020015403
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 11:10:06,994 - INFO - taking picture
MAIN: 2025-03-17 11:10:06,995 - INFO - we take 560 photos in this while loop
MAIN: 2025-03-17 11:10:06,995 - INFO - /home/pi/Desktop/images/17032025/11/09/image_17032025_11_10_06_30391.jpg
MAIN: 2025-03-17 11:10:06,995 - INFO - duration: 0.7002015100006247
MAIN: 2025-03-17 11:10:06,996 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/10'
MAIN: 2025-03-17 11:10:07,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 11:10:36,580 - INFO - taking picture
MAIN: 2025-03-17 11:10:36,581 - INFO - we take 561 photos in this while loop
MAIN: 2025-03-17 11:10:36,581 - INFO - /home/pi/Desktop/images/17032025/11/10/image_17032025_11_10_36_29588.jpg
MAIN: 2025-03-17 11:10:36,581 - INFO - duration: 0.6978022910006985
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 11:11:05,739 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 11:11:06,547 - INFO - taking picture
MAIN: 2025-03-17 11:11:06,547 - INFO - we take 562 photos in this while loop
MAIN: 2025-03-17 11:11:06,548 - INFO - /home/pi/Desktop/images/17032025/11/10/image_17032025_11_11_06_30027.jpg
MAIN: 2025-03-17 11:11:06,548 - INFO - duration: 0.6363579159988149
MAIN: 2025-03-17 11:11:06,548 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/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=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-03-17 11:11:37,363 - INFO - taking picture
MAIN: 2025-03-17 11:11:37,364 - INFO - we take 563 photos in this while loop
MAIN: 2025-03-17 11:11:37,364 - INFO - /home/pi/Desktop/images/17032025/11/11/image_17032025_11_11_36_30763.jpg
MAIN: 2025-03-17 11:11:37,364 - INFO - duration: 0.6895021349992021
Corrupt JPEG data: premature end of data segment
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-03-17 11:12:06,192 - INFO - 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-03-17 11:12:06,449 - INFO - taking picture
MAIN: 2025-03-17 11:12:06,449 - INFO - we take 564 photos in this while loop
MAIN: 2025-03-17 11:12:06,449 - INFO - /home/pi/Desktop/images/17032025/11/11/image_17032025_11_12_06_29074.jpg
MAIN: 2025-03-17 11:12:06,450 - INFO - duration: 0.700916406000033
MAIN: 2025-03-17 11:12:06,450 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/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=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-03-17 11:12:37,238 - INFO - taking picture
MAIN: 2025-03-17 11:12:37,239 - INFO - we take 565 photos in this while loop
MAIN: 2025-03-17 11:12:37,239 - INFO - /home/pi/Desktop/images/17032025/11/12/image_17032025_11_12_36_30816.jpg
MAIN: 2025-03-17 11:12:37,239 - INFO - duration: 0.6742547389985702
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-03-17 11:13: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=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-03-17 11:13:07,219 - INFO - taking picture
MAIN: 2025-03-17 11:13:07,219 - INFO - we take 566 photos in this while loop
MAIN: 2025-03-17 11:13:07,219 - INFO - /home/pi/Desktop/images/17032025/11/12/image_17032025_11_13_06_30020.jpg
MAIN: 2025-03-17 11:13:07,219 - INFO - duration: 0.6340441659995122
MAIN: 2025-03-17 11:13:07,220 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/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=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-03-17 11:13:36,827 - INFO - taking picture
MAIN: 2025-03-17 11:13:36,827 - INFO - we take 567 photos in this while loop
MAIN: 2025-03-17 11:13:36,827 - INFO - /home/pi/Desktop/images/17032025/11/13/image_17032025_11_13_36_29550.jpg
MAIN: 2025-03-17 11:13:36,828 - INFO - duration: 0.6913016140024411
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-03-17 11:14:06,663 - INFO - 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-03-17 11:14:06,978 - INFO - taking picture
MAIN: 2025-03-17 11:14:06,979 - INFO - we take 568 photos in this while loop
MAIN: 2025-03-17 11:14:06,979 - INFO - /home/pi/Desktop/images/17032025/11/13/image_17032025_11_14_06_30146.jpg
MAIN: 2025-03-17 11:14:06,979 - INFO - duration: 0.6963982289998967
MAIN: 2025-03-17 11:14:06,979 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 11:14:36,629 - INFO - taking picture
MAIN: 2025-03-17 11:14:36,630 - INFO - we take 569 photos in this while loop
MAIN: 2025-03-17 11:14:36,630 - INFO - /home/pi/Desktop/images/17032025/11/14/image_17032025_11_14_36_29654.jpg
MAIN: 2025-03-17 11:14:36,630 - INFO - duration: 0.6930581249980605
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 11:15: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 ! 
MAIN: 2025-03-17 11:15:07,059 - INFO - taking picture
MAIN: 2025-03-17 11:15:07,060 - INFO - we take 570 photos in this while loop
MAIN: 2025-03-17 11:15:07,061 - INFO - /home/pi/Desktop/images/17032025/11/14/image_17032025_11_15_06_30428.jpg
MAIN: 2025-03-17 11:15:07,061 - INFO - duration: 0.6949117189979006
MAIN: 2025-03-17 11:15:07,061 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/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=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-03-17 11:15:36,629 - INFO - taking picture
MAIN: 2025-03-17 11:15:36,630 - INFO - we take 571 photos in this while loop
MAIN: 2025-03-17 11:15:36,630 - INFO - /home/pi/Desktop/images/17032025/11/15/image_17032025_11_15_36_29562.jpg
MAIN: 2025-03-17 11:15:36,630 - INFO - duration: 0.7015445829965756
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 11:16:05,973 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 11:16:06,684 - INFO - taking picture
MAIN: 2025-03-17 11:16:06,685 - INFO - we take 572 photos in this while loop
MAIN: 2025-03-17 11:16:06,685 - INFO - /home/pi/Desktop/images/17032025/11/15/image_17032025_11_16_06_30095.jpg
MAIN: 2025-03-17 11:16:06,685 - INFO - duration: 0.6609728120020009
MAIN: 2025-03-17 11:16:06,686 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 11:16:36,411 - INFO - taking picture
MAIN: 2025-03-17 11:16:36,411 - INFO - we take 573 photos in this while loop
MAIN: 2025-03-17 11:16:36,412 - INFO - /home/pi/Desktop/images/17032025/11/16/image_17032025_11_16_36_29694.jpg
MAIN: 2025-03-17 11:16:36,412 - INFO - duration: 0.6928594790006173
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-03-17 11:17: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=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-03-17 11:17:06,412 - INFO - taking picture
MAIN: 2025-03-17 11:17:06,413 - INFO - we take 574 photos in this while loop
MAIN: 2025-03-17 11:17:06,413 - INFO - /home/pi/Desktop/images/17032025/11/16/image_17032025_11_17_06_30037.jpg
MAIN: 2025-03-17 11:17:06,413 - INFO - duration: 0.6571787499997299
MAIN: 2025-03-17 11:17:06,414 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 11:17:37,407 - INFO - taking picture
MAIN: 2025-03-17 11:17:37,408 - INFO - we take 575 photos in this while loop
MAIN: 2025-03-17 11:17:37,408 - INFO - /home/pi/Desktop/images/17032025/11/17/image_17032025_11_17_37_30958.jpg
MAIN: 2025-03-17 11:17:37,408 - INFO - duration: 0.6935385409997252
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 11:18: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-03-17 11:18:06,450 - INFO - taking picture
MAIN: 2025-03-17 11:18:06,451 - INFO - we take 576 photos in this while loop
MAIN: 2025-03-17 11:18:06,451 - INFO - /home/pi/Desktop/images/17032025/11/17/image_17032025_11_18_06_29052.jpg
MAIN: 2025-03-17 11:18:06,451 - INFO - duration: 0.683600051997928
MAIN: 2025-03-17 11:18:06,452 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 11:18:37,277 - INFO - taking picture
MAIN: 2025-03-17 11:18:37,278 - INFO - we take 577 photos in this while loop
MAIN: 2025-03-17 11:18:37,278 - INFO - /home/pi/Desktop/images/17032025/11/18/image_17032025_11_18_36_30828.jpg
MAIN: 2025-03-17 11:18:37,278 - INFO - duration: 0.6823685929994099
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 11:19: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 11:19:07,282 - INFO - taking picture
MAIN: 2025-03-17 11:19:07,283 - INFO - we take 578 photos in this while loop
MAIN: 2025-03-17 11:19:07,283 - INFO - /home/pi/Desktop/images/17032025/11/18/image_17032025_11_19_06_30055.jpg
MAIN: 2025-03-17 11:19:07,283 - INFO - duration: 0.6313826559999143
MAIN: 2025-03-17 11:19:07,283 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 11:19:36,921 - INFO - taking picture
MAIN: 2025-03-17 11:19:36,921 - INFO - we take 579 photos in this while loop
MAIN: 2025-03-17 11:19:36,921 - INFO - /home/pi/Desktop/images/17032025/11/19/image_17032025_11_19_36_29604.jpg
MAIN: 2025-03-17 11:19:36,922 - INFO - duration: 0.665092603998346
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 11:20:07,212 - INFO - taking picture
MAIN: 2025-03-17 11:20:07,213 - INFO - we take 580 photos in this while loop
MAIN: 2025-03-17 11:20:07,213 - INFO - /home/pi/Desktop/images/17032025/11/19/image_17032025_11_20_06_30295.jpg
MAIN: 2025-03-17 11:20:07,214 - INFO - duration: 0.6618319269982749
MAIN: 2025-03-17 11:20:07,214 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/20'
MAIN: 2025-03-17 11:20:07,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 11:20:36,896 - INFO - taking picture
MAIN: 2025-03-17 11:20:36,902 - INFO - we take 581 photos in this while loop
MAIN: 2025-03-17 11:20:36,902 - INFO - /home/pi/Desktop/images/17032025/11/20/image_17032025_11_20_36_29645.jpg
MAIN: 2025-03-17 11:20:36,903 - INFO - duration: 0.7057950519993028
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 11:21: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=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-03-17 11:21:07,086 - INFO - taking picture
MAIN: 2025-03-17 11:21:07,087 - INFO - we take 582 photos in this while loop
MAIN: 2025-03-17 11:21:07,087 - INFO - /home/pi/Desktop/images/17032025/11/20/image_17032025_11_21_06_30188.jpg
MAIN: 2025-03-17 11:21:07,087 - INFO - duration: 0.7018223429986392
MAIN: 2025-03-17 11:21:07,088 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/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-03-17 11:21:36,784 - INFO - taking picture
MAIN: 2025-03-17 11:21:36,785 - INFO - we take 583 photos in this while loop
MAIN: 2025-03-17 11:21:36,785 - INFO - /home/pi/Desktop/images/17032025/11/21/image_17032025_11_21_36_29704.jpg
MAIN: 2025-03-17 11:21:36,785 - INFO - duration: 0.6952296350027609
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 11:22:06,149 - INFO - 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-03-17 11:22:06,955 - INFO - taking picture
MAIN: 2025-03-17 11:22:06,956 - INFO - we take 584 photos in this while loop
MAIN: 2025-03-17 11:22:06,956 - INFO - /home/pi/Desktop/images/17032025/11/21/image_17032025_11_22_06_30223.jpg
MAIN: 2025-03-17 11:22:06,956 - INFO - duration: 0.642173542000819
MAIN: 2025-03-17 11:22:06,956 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 11:22:36,527 - INFO - taking picture
MAIN: 2025-03-17 11:22:36,527 - INFO - we take 585 photos in this while loop
MAIN: 2025-03-17 11:22:36,528 - INFO - /home/pi/Desktop/images/17032025/11/22/image_17032025_11_22_36_29523.jpg
MAIN: 2025-03-17 11:22:36,528 - INFO - duration: 0.6909955210030603
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 11:23:05,839 - INFO - 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-03-17 11:23:06,537 - INFO - taking picture
MAIN: 2025-03-17 11:23:06,537 - INFO - we take 586 photos in this while loop
MAIN: 2025-03-17 11:23:06,537 - INFO - /home/pi/Desktop/images/17032025/11/22/image_17032025_11_23_06_30028.jpg
MAIN: 2025-03-17 11:23:06,538 - INFO - duration: 0.6718498430018371
MAIN: 2025-03-17 11:23:06,538 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 11:23:37,566 - INFO - taking picture
MAIN: 2025-03-17 11:23:37,566 - INFO - we take 587 photos in this while loop
MAIN: 2025-03-17 11:23:37,567 - INFO - /home/pi/Desktop/images/17032025/11/23/image_17032025_11_23_37_30999.jpg
MAIN: 2025-03-17 11:23:37,567 - INFO - duration: 0.7019322920023114
Corrupt JPEG data: premature end of data segment
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-03-17 11:24:06,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=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-03-17 11:24:06,764 - INFO - taking picture
MAIN: 2025-03-17 11:24:06,765 - INFO - we take 588 photos in this while loop
MAIN: 2025-03-17 11:24:06,765 - INFO - /home/pi/Desktop/images/17032025/11/23/image_17032025_11_24_06_29201.jpg
MAIN: 2025-03-17 11:24:06,765 - INFO - duration: 0.6987220310002158
MAIN: 2025-03-17 11:24:06,766 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 11:24:37,519 - INFO - taking picture
MAIN: 2025-03-17 11:24:37,520 - INFO - we take 589 photos in this while loop
MAIN: 2025-03-17 11:24:37,520 - INFO - /home/pi/Desktop/images/17032025/11/24/image_17032025_11_24_37_30768.jpg
MAIN: 2025-03-17 11:24:37,520 - INFO - duration: 0.6855039580004814
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 11:25:06,397 - INFO - taking picture
MAIN: 2025-03-17 11:25:06,397 - INFO - we take 590 photos in this while loop
MAIN: 2025-03-17 11:25:06,398 - INFO - /home/pi/Desktop/images/17032025/11/24/image_17032025_11_25_06_28893.jpg
MAIN: 2025-03-17 11:25:06,398 - INFO - duration: 0.6702965100012079
MAIN: 2025-03-17 11:25:06,399 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/25'
MAIN: 2025-03-17 11:25:06,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 11:25:37,277 - INFO - taking picture
MAIN: 2025-03-17 11:25:37,278 - INFO - we take 591 photos in this while loop
MAIN: 2025-03-17 11:25:37,278 - INFO - /home/pi/Desktop/images/17032025/11/25/image_17032025_11_25_36_30868.jpg
MAIN: 2025-03-17 11:25:37,278 - INFO - duration: 0.6816422910014808
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 11:26:06,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=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-03-17 11:26:07,369 - INFO - taking picture
MAIN: 2025-03-17 11:26:07,369 - INFO - we take 592 photos in this while loop
MAIN: 2025-03-17 11:26:07,369 - INFO - /home/pi/Desktop/images/17032025/11/25/image_17032025_11_26_06_30070.jpg
MAIN: 2025-03-17 11:26:07,370 - INFO - duration: 0.701914792000025
MAIN: 2025-03-17 11:26:07,370 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/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=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-03-17 11:26:37,060 - INFO - taking picture
MAIN: 2025-03-17 11:26:37,061 - INFO - we take 593 photos in this while loop
MAIN: 2025-03-17 11:26:37,061 - INFO - /home/pi/Desktop/images/17032025/11/26/image_17032025_11_26_36_29702.jpg
MAIN: 2025-03-17 11:26:37,061 - INFO - duration: 0.6912111980018381
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-03-17 11:27: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 ! 
MAIN: 2025-03-17 11:27:07,186 - INFO - taking picture
MAIN: 2025-03-17 11:27:07,187 - INFO - we take 594 photos in this while loop
MAIN: 2025-03-17 11:27:07,187 - INFO - /home/pi/Desktop/images/17032025/11/26/image_17032025_11_27_06_30121.jpg
MAIN: 2025-03-17 11:27:07,187 - INFO - duration: 0.6956849480011442
MAIN: 2025-03-17 11:27:07,187 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 11:27:36,804 - INFO - taking picture
MAIN: 2025-03-17 11:27:36,804 - INFO - we take 595 photos in this while loop
MAIN: 2025-03-17 11:27:36,804 - INFO - /home/pi/Desktop/images/17032025/11/27/image_17032025_11_27_36_29619.jpg
MAIN: 2025-03-17 11:27:36,805 - INFO - duration: 0.693707551999978
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-03-17 11:28:05,921 - INFO - 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-03-17 11:28:06,701 - INFO - taking picture
MAIN: 2025-03-17 11:28:06,702 - INFO - we take 596 photos in this while loop
MAIN: 2025-03-17 11:28:06,702 - INFO - /home/pi/Desktop/images/17032025/11/27/image_17032025_11_28_06_29953.jpg
MAIN: 2025-03-17 11:28:06,702 - INFO - duration: 0.6373427610014915
MAIN: 2025-03-17 11:28:06,702 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/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=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-03-17 11:28:36,374 - INFO - taking picture
MAIN: 2025-03-17 11:28:36,375 - INFO - we take 597 photos in this while loop
MAIN: 2025-03-17 11:28:36,375 - INFO - /home/pi/Desktop/images/17032025/11/28/image_17032025_11_28_35_29620.jpg
MAIN: 2025-03-17 11:28:36,375 - INFO - duration: 0.6896172390006541
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 11:29:05,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=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-03-17 11:29:06,310 - INFO - taking picture
MAIN: 2025-03-17 11:29:06,311 - INFO - we take 598 photos in this while loop
MAIN: 2025-03-17 11:29:06,311 - INFO - /home/pi/Desktop/images/17032025/11/28/image_17032025_11_29_05_29932.jpg
MAIN: 2025-03-17 11:29:06,311 - INFO - duration: 0.6930854679994809
MAIN: 2025-03-17 11:29:06,312 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 11:29:37,162 - INFO - taking picture
MAIN: 2025-03-17 11:29:37,162 - INFO - we take 599 photos in this while loop
MAIN: 2025-03-17 11:29:37,163 - INFO - /home/pi/Desktop/images/17032025/11/29/image_17032025_11_29_36_30854.jpg
MAIN: 2025-03-17 11:29:37,163 - INFO - duration: 0.6896649469999829
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-03-17 11:30:06,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=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-03-17 11:30:07,333 - INFO - taking picture
MAIN: 2025-03-17 11:30:07,334 - INFO - we take 600 photos in this while loop
MAIN: 2025-03-17 11:30:07,335 - INFO - /home/pi/Desktop/images/17032025/11/29/image_17032025_11_30_06_30156.jpg
MAIN: 2025-03-17 11:30:07,335 - INFO - duration: 0.7054081770002085
MAIN: 2025-03-17 11:30:07,336 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 11:30:36,906 - INFO - taking picture
MAIN: 2025-03-17 11:30:36,907 - INFO - we take 601 photos in this while loop
MAIN: 2025-03-17 11:30:36,907 - INFO - /home/pi/Desktop/images/17032025/11/30/image_17032025_11_30_36_29577.jpg
MAIN: 2025-03-17 11:30:36,907 - INFO - duration: 0.6996775000006892
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 11:31: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=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-03-17 11:31:06,899 - INFO - taking picture
MAIN: 2025-03-17 11:31:06,899 - INFO - we take 602 photos in this while loop
MAIN: 2025-03-17 11:31:06,899 - INFO - /home/pi/Desktop/images/17032025/11/30/image_17032025_11_31_06_30055.jpg
MAIN: 2025-03-17 11:31:06,900 - INFO - duration: 0.636932863999391
MAIN: 2025-03-17 11:31:06,900 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 11:31:36,446 - INFO - taking picture
MAIN: 2025-03-17 11:31:36,446 - INFO - we take 603 photos in this while loop
MAIN: 2025-03-17 11:31:36,446 - INFO - /home/pi/Desktop/images/17032025/11/31/image_17032025_11_31_36_29490.jpg
MAIN: 2025-03-17 11:31:36,446 - INFO - duration: 0.6937271869974211
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-03-17 11:32:06,746 - INFO - 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-03-17 11:32:06,901 - INFO - taking picture
MAIN: 2025-03-17 11:32:06,902 - INFO - we take 604 photos in this while loop
MAIN: 2025-03-17 11:32:06,902 - INFO - /home/pi/Desktop/images/17032025/11/31/image_17032025_11_32_06_30462.jpg
MAIN: 2025-03-17 11:32:06,902 - INFO - duration: 0.6868046870004036
MAIN: 2025-03-17 11:32:06,902 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 11:32:36,410 - INFO - taking picture
MAIN: 2025-03-17 11:32:36,411 - INFO - we take 605 photos in this while loop
MAIN: 2025-03-17 11:32:36,411 - INFO - /home/pi/Desktop/images/17032025/11/32/image_17032025_11_32_36_29504.jpg
MAIN: 2025-03-17 11:32:36,411 - INFO - duration: 0.6917541670009086
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 11:33: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=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-03-17 11:33:06,389 - INFO - taking picture
MAIN: 2025-03-17 11:33:06,389 - INFO - we take 606 photos in this while loop
MAIN: 2025-03-17 11:33:06,390 - INFO - /home/pi/Desktop/images/17032025/11/32/image_17032025_11_33_06_30030.jpg
MAIN: 2025-03-17 11:33:06,390 - INFO - duration: 0.6397557810014405
MAIN: 2025-03-17 11:33:06,390 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/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=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-03-17 11:33:37,296 - INFO - taking picture
MAIN: 2025-03-17 11:33:37,296 - INFO - we take 607 photos in this while loop
MAIN: 2025-03-17 11:33:37,296 - INFO - /home/pi/Desktop/images/17032025/11/33/image_17032025_11_33_36_30855.jpg
MAIN: 2025-03-17 11:33:37,297 - INFO - duration: 0.6913486459998239
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-03-17 11:34: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 ! 
MAIN: 2025-03-17 11:34:06,418 - INFO - taking picture
MAIN: 2025-03-17 11:34:06,419 - INFO - we take 608 photos in this while loop
MAIN: 2025-03-17 11:34:06,419 - INFO - /home/pi/Desktop/images/17032025/11/33/image_17032025_11_34_06_29108.jpg
MAIN: 2025-03-17 11:34:06,419 - INFO - duration: 0.7056526560008933
MAIN: 2025-03-17 11:34:06,420 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 11:34:37,119 - INFO - taking picture
MAIN: 2025-03-17 11:34:37,120 - INFO - we take 609 photos in this while loop
MAIN: 2025-03-17 11:34:37,120 - INFO - /home/pi/Desktop/images/17032025/11/34/image_17032025_11_34_36_30713.jpg
MAIN: 2025-03-17 11:34:37,120 - INFO - duration: 0.6926293219985382
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 11:35:06,532 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 11:35:07,273 - INFO - taking picture
MAIN: 2025-03-17 11:35:07,273 - INFO - we take 610 photos in this while loop
MAIN: 2025-03-17 11:35:07,273 - INFO - /home/pi/Desktop/images/17032025/11/34/image_17032025_11_35_06_30157.jpg
MAIN: 2025-03-17 11:35:07,274 - INFO - duration: 0.6893230719979329
MAIN: 2025-03-17 11:35:07,274 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 11:35:36,872 - INFO - taking picture
MAIN: 2025-03-17 11:35:36,872 - INFO - we take 611 photos in this while loop
MAIN: 2025-03-17 11:35:36,873 - INFO - /home/pi/Desktop/images/17032025/11/35/image_17032025_11_35_36_29596.jpg
MAIN: 2025-03-17 11:35:36,873 - INFO - duration: 0.691515051999886
[ WARN:0] global /tmp/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-03-17 11:36: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-03-17 11:36:06,949 - INFO - taking picture
MAIN: 2025-03-17 11:36:06,950 - INFO - we take 612 photos in this while loop
MAIN: 2025-03-17 11:36:06,950 - INFO - /home/pi/Desktop/images/17032025/11/35/image_17032025_11_36_06_30082.jpg
MAIN: 2025-03-17 11:36:06,950 - INFO - duration: 0.6862016659979417
MAIN: 2025-03-17 11:36:06,951 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 11:36:36,620 - INFO - taking picture
MAIN: 2025-03-17 11:36:36,621 - INFO - we take 613 photos in this while loop
MAIN: 2025-03-17 11:36:36,621 - INFO - /home/pi/Desktop/images/17032025/11/36/image_17032025_11_36_36_29675.jpg
MAIN: 2025-03-17 11:36:36,621 - INFO - duration: 0.682084323001618
[ WARN:0] global /tmp/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-03-17 11:37: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 ! 
MAIN: 2025-03-17 11:37:06,801 - INFO - taking picture
MAIN: 2025-03-17 11:37:06,801 - INFO - we take 614 photos in this while loop
MAIN: 2025-03-17 11:37:06,801 - INFO - /home/pi/Desktop/images/17032025/11/36/image_17032025_11_37_06_30176.jpg
MAIN: 2025-03-17 11:37:06,802 - INFO - duration: 0.6858163019969652
MAIN: 2025-03-17 11:37:06,802 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/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=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-03-17 11:37:36,434 - INFO - taking picture
MAIN: 2025-03-17 11:37:36,434 - INFO - we take 615 photos in this while loop
MAIN: 2025-03-17 11:37:36,435 - INFO - /home/pi/Desktop/images/17032025/11/37/image_17032025_11_37_36_29624.jpg
MAIN: 2025-03-17 11:37:36,435 - INFO - duration: 0.69472677000158
[ WARN:0] global /tmp/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-03-17 11:38:06,762 - INFO - taking picture
MAIN: 2025-03-17 11:38:06,763 - INFO - we take 616 photos in this while loop
MAIN: 2025-03-17 11:38:06,763 - INFO - /home/pi/Desktop/images/17032025/11/37/image_17032025_11_38_06_30335.jpg
MAIN: 2025-03-17 11:38:06,763 - INFO - duration: 0.6876301559968852
MAIN: 2025-03-17 11:38:06,764 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/38'
MAIN: 2025-03-17 11:38:06,962 - INFO - 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=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-03-17 11:38:36,417 - INFO - taking picture
MAIN: 2025-03-17 11:38:36,418 - INFO - we take 617 photos in this while loop
MAIN: 2025-03-17 11:38:36,418 - INFO - /home/pi/Desktop/images/17032025/11/38/image_17032025_11_38_36_29643.jpg
MAIN: 2025-03-17 11:38:36,418 - INFO - duration: 0.6989913540019188
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 11:39:05,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 11:39:06,487 - INFO - taking picture
MAIN: 2025-03-17 11:39:06,487 - INFO - we take 618 photos in this while loop
MAIN: 2025-03-17 11:39:06,487 - INFO - /home/pi/Desktop/images/17032025/11/38/image_17032025_11_39_06_30125.jpg
MAIN: 2025-03-17 11:39:06,487 - INFO - duration: 0.6431509889989684
MAIN: 2025-03-17 11:39:06,488 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 11:39:37,357 - INFO - taking picture
MAIN: 2025-03-17 11:39:37,357 - INFO - we take 619 photos in this while loop
MAIN: 2025-03-17 11:39:37,358 - INFO - /home/pi/Desktop/images/17032025/11/39/image_17032025_11_39_36_30816.jpg
MAIN: 2025-03-17 11:39:37,358 - INFO - duration: 0.6964964580001833
[ WARN:0] global /tmp/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-03-17 11:40:06,589 - INFO - taking picture
MAIN: 2025-03-17 11:40:06,590 - INFO - we take 620 photos in this while loop
MAIN: 2025-03-17 11:40:06,591 - INFO - /home/pi/Desktop/images/17032025/11/39/image_17032025_11_40_06_29249.jpg
MAIN: 2025-03-17 11:40:06,591 - INFO - duration: 0.6805095310010074
MAIN: 2025-03-17 11:40:06,592 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/40'
MAIN: 2025-03-17 11:40: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 11:40:37,327 - INFO - taking picture
MAIN: 2025-03-17 11:40:37,328 - INFO - we take 621 photos in this while loop
MAIN: 2025-03-17 11:40:37,328 - INFO - /home/pi/Desktop/images/17032025/11/40/image_17032025_11_40_36_30719.jpg
MAIN: 2025-03-17 11:40:37,328 - INFO - duration: 0.6981767179968301
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 11:41:06,108 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 11:41:07,351 - INFO - taking picture
MAIN: 2025-03-17 11:41:07,352 - INFO - we take 622 photos in this while loop
MAIN: 2025-03-17 11:41:07,352 - INFO - /home/pi/Desktop/images/17032025/11/40/image_17032025_11_41_06_30050.jpg
MAIN: 2025-03-17 11:41:07,352 - INFO - duration: 0.6717790100010461
MAIN: 2025-03-17 11:41:07,353 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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-03-17 11:41:37,127 - INFO - taking picture
MAIN: 2025-03-17 11:41:37,127 - INFO - we take 623 photos in this while loop
MAIN: 2025-03-17 11:41:37,127 - INFO - /home/pi/Desktop/images/17032025/11/41/image_17032025_11_41_36_29750.jpg
MAIN: 2025-03-17 11:41:37,128 - INFO - duration: 0.6963912499995786
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 11:42: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=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-03-17 11:42:07,115 - INFO - taking picture
MAIN: 2025-03-17 11:42:07,115 - INFO - we take 624 photos in this while loop
MAIN: 2025-03-17 11:42:07,115 - INFO - /home/pi/Desktop/images/17032025/11/41/image_17032025_11_42_06_29974.jpg
MAIN: 2025-03-17 11:42:07,116 - INFO - duration: 0.7095827079974697
MAIN: 2025-03-17 11:42:07,116 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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-03-17 11:42:36,866 - INFO - taking picture
MAIN: 2025-03-17 11:42:36,867 - INFO - we take 625 photos in this while loop
MAIN: 2025-03-17 11:42:36,867 - INFO - /home/pi/Desktop/images/17032025/11/42/image_17032025_11_42_36_29762.jpg
MAIN: 2025-03-17 11:42:36,867 - INFO - duration: 0.6982044260003022
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 11:43:06,396 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 11:43:06,912 - INFO - taking picture
MAIN: 2025-03-17 11:43:06,913 - INFO - we take 626 photos in this while loop
MAIN: 2025-03-17 11:43:06,913 - INFO - /home/pi/Desktop/images/17032025/11/42/image_17032025_11_43_06_30062.jpg
MAIN: 2025-03-17 11:43:06,913 - INFO - duration: 0.6822386969979561
MAIN: 2025-03-17 11:43:06,914 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/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=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-03-17 11:43:36,650 - INFO - taking picture
MAIN: 2025-03-17 11:43:36,651 - INFO - we take 627 photos in this while loop
MAIN: 2025-03-17 11:43:36,651 - INFO - /home/pi/Desktop/images/17032025/11/43/image_17032025_11_43_36_29728.jpg
MAIN: 2025-03-17 11:43:36,651 - INFO - duration: 0.6917355719997431
[ WARN:0] global /tmp/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

 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (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-03-17 11:44:06,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 ! 
MAIN: 2025-03-17 11:44:06,980 - INFO - taking picture
MAIN: 2025-03-17 11:44:06,981 - INFO - we take 628 photos in this while loop
MAIN: 2025-03-17 11:44:06,981 - INFO - /home/pi/Desktop/images/17032025/11/43/image_17032025_11_44_06_30316.jpg
MAIN: 2025-03-17 11:44:06,981 - INFO - duration: 0.7055188539998198
MAIN: 2025-03-17 11:44:06,982 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/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=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-03-17 11:44:36,642 - INFO - taking picture
MAIN: 2025-03-17 11:44:36,643 - INFO - we take 629 photos in this while loop
MAIN: 2025-03-17 11:44:36,643 - INFO - /home/pi/Desktop/images/17032025/11/44/image_17032025_11_44_36_29675.jpg
MAIN: 2025-03-17 11:44:36,643 - INFO - duration: 0.6921591669997724
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 11:45: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=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-03-17 11:45:06,925 - INFO - taking picture
MAIN: 2025-03-17 11:45:06,926 - INFO - we take 630 photos in this while loop
MAIN: 2025-03-17 11:45:06,926 - INFO - /home/pi/Desktop/images/17032025/11/44/image_17032025_11_45_06_30292.jpg
MAIN: 2025-03-17 11:45:06,926 - INFO - duration: 0.6827868229993328
MAIN: 2025-03-17 11:45:06,927 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/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=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-03-17 11:45:36,522 - INFO - taking picture
MAIN: 2025-03-17 11:45:36,522 - INFO - we take 631 photos in this while loop
MAIN: 2025-03-17 11:45:36,523 - INFO - /home/pi/Desktop/images/17032025/11/45/image_17032025_11_45_36_29613.jpg
MAIN: 2025-03-17 11:45:36,523 - INFO - duration: 0.6653262489999179
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 11:46: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=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-03-17 11:46:06,684 - INFO - taking picture
MAIN: 2025-03-17 11:46:06,685 - INFO - we take 632 photos in this while loop
MAIN: 2025-03-17 11:46:06,685 - INFO - /home/pi/Desktop/images/17032025/11/45/image_17032025_11_46_06_30125.jpg
MAIN: 2025-03-17 11:46:06,685 - INFO - duration: 0.7020242710023012
MAIN: 2025-03-17 11:46:06,686 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/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=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-03-17 11:46:37,530 - INFO - taking picture
MAIN: 2025-03-17 11:46:37,531 - INFO - we take 633 photos in this while loop
MAIN: 2025-03-17 11:46:37,531 - INFO - /home/pi/Desktop/images/17032025/11/46/image_17032025_11_46_37_30867.jpg
MAIN: 2025-03-17 11:46:37,531 - INFO - duration: 0.6804217189965129
[ WARN:0] global /tmp/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-03-17 11:47: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 ! 
MAIN: 2025-03-17 11:47:06,419 - INFO - taking picture
MAIN: 2025-03-17 11:47:06,419 - INFO - we take 634 photos in this while loop
MAIN: 2025-03-17 11:47:06,420 - INFO - /home/pi/Desktop/images/17032025/11/46/image_17032025_11_47_06_28888.jpg
MAIN: 2025-03-17 11:47:06,420 - INFO - duration: 0.6803243750000547
MAIN: 2025-03-17 11:47:06,420 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/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=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-03-17 11:47:37,336 - INFO - taking picture
MAIN: 2025-03-17 11:47:37,337 - INFO - we take 635 photos in this while loop
MAIN: 2025-03-17 11:47:37,337 - INFO - /home/pi/Desktop/images/17032025/11/47/image_17032025_11_47_36_30907.jpg
MAIN: 2025-03-17 11:47:37,337 - INFO - duration: 0.6907549999996263
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 11:48:06,224 - INFO - taking picture
MAIN: 2025-03-17 11:48:06,225 - INFO - we take 636 photos in this while loop
MAIN: 2025-03-17 11:48:06,225 - INFO - /home/pi/Desktop/images/17032025/11/47/image_17032025_11_48_05_28941.jpg
MAIN: 2025-03-17 11:48:06,225 - INFO - duration: 0.6369980210001813
MAIN: 2025-03-17 11:48:06,226 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/48'
MAIN: 2025-03-17 11:48:06,910 - INFO - 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-03-17 11:48:37,047 - INFO - taking picture
MAIN: 2025-03-17 11:48:37,047 - INFO - we take 637 photos in this while loop
MAIN: 2025-03-17 11:48:37,048 - INFO - /home/pi/Desktop/images/17032025/11/48/image_17032025_11_48_36_30793.jpg
MAIN: 2025-03-17 11:48:37,048 - INFO - duration: 0.6658039579997421
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-03-17 11:49: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=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-03-17 11:49:07,116 - INFO - taking picture
MAIN: 2025-03-17 11:49:07,117 - INFO - we take 638 photos in this while loop
MAIN: 2025-03-17 11:49:07,117 - INFO - /home/pi/Desktop/images/17032025/11/48/image_17032025_11_49_06_30078.jpg
MAIN: 2025-03-17 11:49:07,117 - INFO - duration: 0.6566796350016375
MAIN: 2025-03-17 11:49:07,118 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 11:49:36,720 - INFO - taking picture
MAIN: 2025-03-17 11:49:36,721 - INFO - we take 639 photos in this while loop
MAIN: 2025-03-17 11:49:36,721 - INFO - /home/pi/Desktop/images/17032025/11/49/image_17032025_11_49_36_29579.jpg
MAIN: 2025-03-17 11:49:36,721 - INFO - duration: 0.6809998959979566
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 11:50: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 11:50:07,068 - INFO - taking picture
MAIN: 2025-03-17 11:50:07,069 - INFO - we take 640 photos in this while loop
MAIN: 2025-03-17 11:50:07,069 - INFO - /home/pi/Desktop/images/17032025/11/49/image_17032025_11_50_06_30344.jpg
MAIN: 2025-03-17 11:50:07,069 - INFO - duration: 0.6848497909995785
MAIN: 2025-03-17 11:50:07,070 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/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=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-03-17 11:50:36,819 - INFO - taking picture
MAIN: 2025-03-17 11:50:36,819 - INFO - we take 641 photos in this while loop
MAIN: 2025-03-17 11:50:36,820 - INFO - /home/pi/Desktop/images/17032025/11/50/image_17032025_11_50_36_29737.jpg
MAIN: 2025-03-17 11:50:36,820 - INFO - duration: 0.6980473439980415
Corrupt JPEG data: premature end of data segment
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-03-17 11: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=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-03-17 11:51:06,826 - INFO - taking picture
MAIN: 2025-03-17 11:51:06,827 - INFO - we take 642 photos in this while loop
MAIN: 2025-03-17 11:51:06,827 - INFO - /home/pi/Desktop/images/17032025/11/50/image_17032025_11_51_06_30072.jpg
MAIN: 2025-03-17 11:51:06,827 - INFO - duration: 0.6332938019986614
MAIN: 2025-03-17 11:51:06,828 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 11:51:36,467 - INFO - taking picture
MAIN: 2025-03-17 11:51:36,468 - INFO - we take 643 photos in this while loop
MAIN: 2025-03-17 11:51:36,468 - INFO - /home/pi/Desktop/images/17032025/11/51/image_17032025_11_51_36_29581.jpg
MAIN: 2025-03-17 11:51:36,468 - INFO - duration: 0.6926896879995184
Corrupt JPEG data: premature end of data segment
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-03-17 11:52: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 ! 
MAIN: 2025-03-17 11:52:06,646 - INFO - taking picture
MAIN: 2025-03-17 11:52:06,646 - INFO - we take 644 photos in this while loop
MAIN: 2025-03-17 11:52:06,646 - INFO - /home/pi/Desktop/images/17032025/11/51/image_17032025_11_52_06_30197.jpg
MAIN: 2025-03-17 11:52:06,647 - INFO - duration: 0.6741915099992184
MAIN: 2025-03-17 11:52:06,647 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/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=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-03-17 11:52:36,276 - INFO - taking picture
MAIN: 2025-03-17 11:52:36,277 - INFO - we take 645 photos in this while loop
MAIN: 2025-03-17 11:52:36,277 - INFO - /home/pi/Desktop/images/17032025/11/52/image_17032025_11_52_35_29645.jpg
MAIN: 2025-03-17 11:52:36,277 - INFO - duration: 0.6596497909995378
Corrupt JPEG data: premature end of data segment
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-03-17 11:53:06,108 - INFO - 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-03-17 11:53:06,244 - INFO - taking picture
MAIN: 2025-03-17 11:53:06,244 - INFO - we take 646 photos in this while loop
MAIN: 2025-03-17 11:53:06,245 - INFO - /home/pi/Desktop/images/17032025/11/52/image_17032025_11_53_05_29971.jpg
MAIN: 2025-03-17 11:53:06,245 - INFO - duration: 0.6558312500019383
MAIN: 2025-03-17 11:53:06,245 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 11:53:37,282 - INFO - taking picture
MAIN: 2025-03-17 11:53:37,282 - INFO - we take 647 photos in this while loop
MAIN: 2025-03-17 11:53:37,283 - INFO - /home/pi/Desktop/images/17032025/11/53/image_17032025_11_53_36_31013.jpg
MAIN: 2025-03-17 11:53:37,283 - INFO - duration: 0.680661198002781
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 11:54:06,226 - INFO - taking picture
MAIN: 2025-03-17 11:54:06,227 - INFO - we take 648 photos in this while loop
MAIN: 2025-03-17 11:54:06,227 - INFO - /home/pi/Desktop/images/17032025/11/53/image_17032025_11_54_05_28989.jpg
MAIN: 2025-03-17 11:54:06,227 - INFO - duration: 0.6353655720013194
MAIN: 2025-03-17 11:54:06,227 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/54'
MAIN: 2025-03-17 11:54:06,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 11:54:37,123 - INFO - taking picture
MAIN: 2025-03-17 11:54:37,123 - INFO - we take 649 photos in this while loop
MAIN: 2025-03-17 11:54:37,123 - INFO - /home/pi/Desktop/images/17032025/11/54/image_17032025_11_54_36_30841.jpg
MAIN: 2025-03-17 11:54:37,124 - INFO - duration: 0.6906266149999283
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-03-17 11:55: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=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-03-17 11:55:07,381 - INFO - taking picture
MAIN: 2025-03-17 11:55:07,382 - INFO - we take 650 photos in this while loop
MAIN: 2025-03-17 11:55:07,382 - INFO - /home/pi/Desktop/images/17032025/11/54/image_17032025_11_55_06_30270.jpg
MAIN: 2025-03-17 11:55:07,382 - INFO - duration: 0.6785336969987839
MAIN: 2025-03-17 11:55:07,383 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 11:55:37,016 - INFO - taking picture
MAIN: 2025-03-17 11:55:37,017 - INFO - we take 651 photos in this while loop
MAIN: 2025-03-17 11:55:37,017 - INFO - /home/pi/Desktop/images/17032025/11/55/image_17032025_11_55_36_29627.jpg
MAIN: 2025-03-17 11:55:37,017 - INFO - duration: 0.6854906770022353
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 11:56:06,264 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 11:56:06,973 - INFO - taking picture
MAIN: 2025-03-17 11:56:06,974 - INFO - we take 652 photos in this while loop
MAIN: 2025-03-17 11:56:06,974 - INFO - /home/pi/Desktop/images/17032025/11/55/image_17032025_11_56_06_29957.jpg
MAIN: 2025-03-17 11:56:06,974 - INFO - duration: 0.684900052001467
MAIN: 2025-03-17 11:56:06,975 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/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=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-03-17 11:56:36,789 - INFO - taking picture
MAIN: 2025-03-17 11:56:36,790 - INFO - we take 653 photos in this while loop
MAIN: 2025-03-17 11:56:36,790 - INFO - /home/pi/Desktop/images/17032025/11/56/image_17032025_11_56_36_29801.jpg
MAIN: 2025-03-17 11:56:36,791 - INFO - duration: 0.6995645310016698
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-03-17 11:57: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=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-03-17 11:57:06,821 - INFO - taking picture
MAIN: 2025-03-17 11:57:06,822 - INFO - we take 654 photos in this while loop
MAIN: 2025-03-17 11:57:06,822 - INFO - /home/pi/Desktop/images/17032025/11/56/image_17032025_11_57_06_30080.jpg
MAIN: 2025-03-17 11:57:06,822 - INFO - duration: 0.650720989000547
MAIN: 2025-03-17 11:57:06,823 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 11:57:36,671 - INFO - taking picture
MAIN: 2025-03-17 11:57:36,672 - INFO - we take 655 photos in this while loop
MAIN: 2025-03-17 11:57:36,672 - INFO - /home/pi/Desktop/images/17032025/11/57/image_17032025_11_57_36_29829.jpg
MAIN: 2025-03-17 11:57:36,672 - INFO - duration: 0.6713434370030882
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-03-17 11:58:06,343 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 11:58:07,030 - INFO - taking picture
MAIN: 2025-03-17 11:58:07,031 - INFO - we take 656 photos in this while loop
MAIN: 2025-03-17 11:58:07,031 - INFO - /home/pi/Desktop/images/17032025/11/57/image_17032025_11_58_06_30326.jpg
MAIN: 2025-03-17 11:58:07,031 - INFO - duration: 0.7034768230005284
MAIN: 2025-03-17 11:58:07,032 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 11:58:36,674 - INFO - taking picture
MAIN: 2025-03-17 11:58:36,675 - INFO - we take 657 photos in this while loop
MAIN: 2025-03-17 11:58:36,675 - INFO - /home/pi/Desktop/images/17032025/11/58/image_17032025_11_58_36_29657.jpg
MAIN: 2025-03-17 11:58:36,675 - INFO - duration: 0.6898889580006653
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 11:59:06,463 - INFO - 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-03-17 11:59:06,793 - INFO - taking picture
MAIN: 2025-03-17 11:59:06,794 - INFO - we take 658 photos in this while loop
MAIN: 2025-03-17 11:59:06,794 - INFO - /home/pi/Desktop/images/17032025/11/58/image_17032025_11_59_06_30105.jpg
MAIN: 2025-03-17 11:59:06,794 - INFO - duration: 0.7034616140008438
MAIN: 2025-03-17 11:59:06,794 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/11/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=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-03-17 11:59:36,449 - INFO - taking picture
MAIN: 2025-03-17 11:59:36,449 - INFO - we take 659 photos in this while loop
MAIN: 2025-03-17 11:59:36,449 - INFO - /home/pi/Desktop/images/17032025/11/59/image_17032025_11_59_36_29667.jpg
MAIN: 2025-03-17 11:59:36,449 - INFO - duration: 0.6915426040031889
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 12:00:06,980 - INFO - taking picture
MAIN: 2025-03-17 12:00:06,980 - INFO - we take 660 photos in this while loop
MAIN: 2025-03-17 12:00:06,981 - INFO - /home/pi/Desktop/images/17032025/11/59/image_17032025_12_00_06_30555.jpg
MAIN: 2025-03-17 12:00:06,981 - INFO - duration: 0.6672624999991967
MAIN: 2025-03-17 12:00:06,981 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/00'
MAIN: 2025-03-17 12:00:07,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 12:00:36,385 - INFO - taking picture
MAIN: 2025-03-17 12:00:36,385 - INFO - we take 661 photos in this while loop
MAIN: 2025-03-17 12:00:36,386 - INFO - /home/pi/Desktop/images/17032025/12/00/image_17032025_12_00_36_29381.jpg
MAIN: 2025-03-17 12:00:36,386 - INFO - duration: 0.6907427080004709
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 12:01:06,371 - INFO - taking picture
MAIN: 2025-03-17 12:01:06,372 - INFO - we take 662 photos in this while loop
MAIN: 2025-03-17 12:01:06,372 - INFO - /home/pi/Desktop/images/17032025/12/00/image_17032025_12_01_05_29989.jpg
MAIN: 2025-03-17 12:01:06,372 - INFO - duration: 0.687994896001328
MAIN: 2025-03-17 12:01:06,373 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/01'
MAIN: 2025-03-17 12:01: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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 12:01:37,278 - INFO - taking picture
MAIN: 2025-03-17 12:01:37,279 - INFO - we take 663 photos in this while loop
MAIN: 2025-03-17 12:01:37,279 - INFO - /home/pi/Desktop/images/17032025/12/01/image_17032025_12_01_36_30894.jpg
MAIN: 2025-03-17 12:01:37,279 - INFO - duration: 0.7009573959985573
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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=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-03-17 12:02:06,200 - INFO - 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-03-17 12:02:06,347 - INFO - taking picture
MAIN: 2025-03-17 12:02:06,348 - INFO - we take 664 photos in this while loop
MAIN: 2025-03-17 12:02:06,348 - INFO - /home/pi/Desktop/images/17032025/12/01/image_17032025_12_02_05_29065.jpg
MAIN: 2025-03-17 12:02:06,348 - INFO - duration: 0.704819218000921
MAIN: 2025-03-17 12:02:06,349 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/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=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-03-17 12:02:37,121 - INFO - taking picture
MAIN: 2025-03-17 12:02:37,122 - INFO - we take 665 photos in this while loop
MAIN: 2025-03-17 12:02:37,122 - INFO - /home/pi/Desktop/images/17032025/12/02/image_17032025_12_02_36_30814.jpg
MAIN: 2025-03-17 12:02:37,122 - INFO - duration: 0.6642769270001736
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 12:03: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=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-03-17 12:03:07,205 - INFO - taking picture
MAIN: 2025-03-17 12:03:07,205 - INFO - we take 666 photos in this while loop
MAIN: 2025-03-17 12:03:07,205 - INFO - /home/pi/Desktop/images/17032025/12/02/image_17032025_12_03_06_30067.jpg
MAIN: 2025-03-17 12:03:07,206 - INFO - duration: 0.6800060410023434
MAIN: 2025-03-17 12:03:07,206 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/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=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-03-17 12:03:36,958 - INFO - taking picture
MAIN: 2025-03-17 12:03:36,959 - INFO - we take 667 photos in this while loop
MAIN: 2025-03-17 12:03:36,959 - INFO - /home/pi/Desktop/images/17032025/12/03/image_17032025_12_03_36_29733.jpg
MAIN: 2025-03-17 12:03:36,959 - INFO - duration: 0.6995485420011391
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-03-17 12:04: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=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-03-17 12:04:07,131 - INFO - taking picture
MAIN: 2025-03-17 12:04:07,132 - INFO - we take 668 photos in this while loop
MAIN: 2025-03-17 12:04:07,132 - INFO - /home/pi/Desktop/images/17032025/12/03/image_17032025_12_04_06_30203.jpg
MAIN: 2025-03-17 12:04:07,132 - INFO - duration: 0.669357343998854
MAIN: 2025-03-17 12:04:07,133 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 12:04:36,835 - INFO - taking picture
MAIN: 2025-03-17 12:04:36,835 - INFO - we take 669 photos in this while loop
MAIN: 2025-03-17 12:04:36,836 - INFO - /home/pi/Desktop/images/17032025/12/04/image_17032025_12_04_36_29723.jpg
MAIN: 2025-03-17 12:04:36,836 - INFO - duration: 0.6493591149992426
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 12:05: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=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-03-17 12:05:07,033 - INFO - taking picture
MAIN: 2025-03-17 12:05:07,034 - INFO - we take 670 photos in this while loop
MAIN: 2025-03-17 12:05:07,034 - INFO - /home/pi/Desktop/images/17032025/12/04/image_17032025_12_05_06_30184.jpg
MAIN: 2025-03-17 12:05:07,034 - INFO - duration: 0.6630169790005311
MAIN: 2025-03-17 12:05:07,035 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/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=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-03-17 12:05:36,712 - INFO - taking picture
MAIN: 2025-03-17 12:05:36,713 - INFO - we take 671 photos in this while loop
MAIN: 2025-03-17 12:05:36,713 - INFO - /home/pi/Desktop/images/17032025/12/05/image_17032025_12_05_36_29706.jpg
MAIN: 2025-03-17 12:05:36,713 - INFO - duration: 0.6356603649983299
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 12:06: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-03-17 12:06:06,858 - INFO - taking picture
MAIN: 2025-03-17 12:06:06,858 - INFO - we take 672 photos in this while loop
MAIN: 2025-03-17 12:06:06,858 - INFO - /home/pi/Desktop/images/17032025/12/05/image_17032025_12_06_06_30073.jpg
MAIN: 2025-03-17 12:06:06,858 - INFO - duration: 0.7070942710015515
MAIN: 2025-03-17 12:06:06,859 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 12:06:36,506 - INFO - taking picture
MAIN: 2025-03-17 12:06:36,507 - INFO - we take 673 photos in this while loop
MAIN: 2025-03-17 12:06:36,507 - INFO - /home/pi/Desktop/images/17032025/12/06/image_17032025_12_06_36_29720.jpg
MAIN: 2025-03-17 12:06:36,507 - INFO - duration: 0.6351678649989481
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-03-17 12:07:06,543 - INFO - taking picture
MAIN: 2025-03-17 12:07:06,544 - INFO - we take 674 photos in this while loop
MAIN: 2025-03-17 12:07:06,544 - INFO - /home/pi/Desktop/images/17032025/12/06/image_17032025_12_07_06_30039.jpg
MAIN: 2025-03-17 12:07:06,544 - INFO - duration: 0.6328047399983916
MAIN: 2025-03-17 12:07:06,545 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/07'
MAIN: 2025-03-17 12:07: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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 12:07:37,495 - INFO - taking picture
MAIN: 2025-03-17 12:07:37,495 - INFO - we take 675 photos in this while loop
MAIN: 2025-03-17 12:07:37,495 - INFO - /home/pi/Desktop/images/17032025/12/07/image_17032025_12_07_37_30886.jpg
MAIN: 2025-03-17 12:07:37,496 - INFO - duration: 0.697158071998274
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-03-17 12:08:05,762 - INFO - 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-03-17 12:08:06,530 - INFO - taking picture
MAIN: 2025-03-17 12:08:06,531 - INFO - we take 676 photos in this while loop
MAIN: 2025-03-17 12:08:06,531 - INFO - /home/pi/Desktop/images/17032025/12/07/image_17032025_12_08_06_29057.jpg
MAIN: 2025-03-17 12:08:06,531 - INFO - duration: 0.6754131249981583
MAIN: 2025-03-17 12:08:06,532 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/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=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-03-17 12:08:37,433 - INFO - taking picture
MAIN: 2025-03-17 12:08:37,433 - INFO - we take 677 photos in this while loop
MAIN: 2025-03-17 12:08:37,434 - INFO - /home/pi/Desktop/images/17032025/12/08/image_17032025_12_08_37_30887.jpg
MAIN: 2025-03-17 12:08:37,434 - INFO - duration: 0.6899561459977122
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 12:09:06,056 - INFO - 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-03-17 12:09:06,365 - INFO - taking picture
MAIN: 2025-03-17 12:09:06,365 - INFO - we take 678 photos in this while loop
MAIN: 2025-03-17 12:09:06,365 - INFO - /home/pi/Desktop/images/17032025/12/08/image_17032025_12_09_05_28943.jpg
MAIN: 2025-03-17 12:09:06,366 - INFO - duration: 0.6783173439980601
MAIN: 2025-03-17 12:09:06,366 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/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=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-03-17 12:09:37,254 - INFO - taking picture
MAIN: 2025-03-17 12:09:37,255 - INFO - we take 679 photos in this while loop
MAIN: 2025-03-17 12:09:37,255 - INFO - /home/pi/Desktop/images/17032025/12/09/image_17032025_12_09_36_30875.jpg
MAIN: 2025-03-17 12:09:37,255 - INFO - duration: 0.6926410420019238
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 12:10:06,387 - INFO - taking picture
MAIN: 2025-03-17 12:10:06,388 - INFO - we take 680 photos in this while loop
MAIN: 2025-03-17 12:10:06,388 - INFO - /home/pi/Desktop/images/17032025/12/09/image_17032025_12_10_05_29124.jpg
MAIN: 2025-03-17 12:10:06,388 - INFO - duration: 0.7007476559992938
MAIN: 2025-03-17 12:10:06,389 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/10'
MAIN: 2025-03-17 12:10:07,194 - INFO - 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-03-17 12:10:37,152 - INFO - taking picture
MAIN: 2025-03-17 12:10:37,153 - INFO - we take 681 photos in this while loop
MAIN: 2025-03-17 12:10:37,153 - INFO - /home/pi/Desktop/images/17032025/12/10/image_17032025_12_10_36_30774.jpg
MAIN: 2025-03-17 12:10:37,153 - INFO - duration: 0.6909363019985904
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 12:11: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=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-03-17 12:11:07,127 - INFO - taking picture
MAIN: 2025-03-17 12:11:07,128 - INFO - we take 682 photos in this while loop
MAIN: 2025-03-17 12:11:07,128 - INFO - /home/pi/Desktop/images/17032025/12/10/image_17032025_12_11_06_30031.jpg
MAIN: 2025-03-17 12:11:07,128 - INFO - duration: 0.6345408330016653
MAIN: 2025-03-17 12:11:07,129 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/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=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-03-17 12:11:36,745 - INFO - taking picture
MAIN: 2025-03-17 12:11:36,746 - INFO - we take 683 photos in this while loop
MAIN: 2025-03-17 12:11:36,746 - INFO - /home/pi/Desktop/images/17032025/12/11/image_17032025_12_11_36_29560.jpg
MAIN: 2025-03-17 12:11:36,746 - INFO - duration: 0.6923094260018843
[ WARN:0] global /tmp/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-03-17 12:12:06,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 ! 
MAIN: 2025-03-17 12:12:07,100 - INFO - taking picture
MAIN: 2025-03-17 12:12:07,101 - INFO - we take 684 photos in this while loop
MAIN: 2025-03-17 12:12:07,101 - INFO - /home/pi/Desktop/images/17032025/12/11/image_17032025_12_12_06_30350.jpg
MAIN: 2025-03-17 12:12:07,101 - INFO - duration: 0.6970393750016228
MAIN: 2025-03-17 12:12:07,102 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/12'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 12:12:36,646 - INFO - taking picture
MAIN: 2025-03-17 12:12:36,647 - INFO - we take 685 photos in this while loop
MAIN: 2025-03-17 12:12:36,647 - INFO - /home/pi/Desktop/images/17032025/12/12/image_17032025_12_12_36_29569.jpg
MAIN: 2025-03-17 12:12:36,647 - INFO - duration: 0.6736424999980954
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 12:13:05,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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 12:13:06,505 - INFO - taking picture
MAIN: 2025-03-17 12:13:06,505 - INFO - we take 686 photos in this while loop
MAIN: 2025-03-17 12:13:06,505 - INFO - /home/pi/Desktop/images/17032025/12/12/image_17032025_12_13_06_29898.jpg
MAIN: 2025-03-17 12:13:06,506 - INFO - duration: 0.6331751039979281
MAIN: 2025-03-17 12:13:06,506 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/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=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-03-17 12:13:37,446 - INFO - taking picture
MAIN: 2025-03-17 12:13:37,447 - INFO - we take 687 photos in this while loop
MAIN: 2025-03-17 12:13:37,447 - INFO - /home/pi/Desktop/images/17032025/12/13/image_17032025_12_13_37_30902.jpg
MAIN: 2025-03-17 12:13:37,447 - INFO - duration: 0.6725828119997459
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-03-17 12:14: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 ! 
MAIN: 2025-03-17 12:14:06,394 - INFO - taking picture
MAIN: 2025-03-17 12:14:06,394 - INFO - we take 688 photos in this while loop
MAIN: 2025-03-17 12:14:06,395 - INFO - /home/pi/Desktop/images/17032025/12/13/image_17032025_12_14_06_28919.jpg
MAIN: 2025-03-17 12:14:06,395 - INFO - duration: 0.7004817190027097
MAIN: 2025-03-17 12:14:06,395 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 12:14:37,388 - INFO - taking picture
MAIN: 2025-03-17 12:14:37,389 - INFO - we take 689 photos in this while loop
MAIN: 2025-03-17 12:14:37,389 - INFO - /home/pi/Desktop/images/17032025/12/14/image_17032025_12_14_37_30992.jpg
MAIN: 2025-03-17 12:14:37,389 - INFO - duration: 0.7025859369969112
[ WARN:0] global /tmp/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-03-17 12:15:06,415 - INFO - taking picture
MAIN: 2025-03-17 12:15:06,416 - INFO - we take 690 photos in this while loop
MAIN: 2025-03-17 12:15:06,416 - INFO - /home/pi/Desktop/images/17032025/12/14/image_17032025_12_15_06_29065.jpg
MAIN: 2025-03-17 12:15:06,416 - INFO - duration: 0.6644507279997924
MAIN: 2025-03-17 12:15:06,417 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/15'
MAIN: 2025-03-17 12:15: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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 12:15:37,342 - INFO - taking picture
MAIN: 2025-03-17 12:15:37,343 - INFO - we take 691 photos in this while loop
MAIN: 2025-03-17 12:15:37,343 - INFO - /home/pi/Desktop/images/17032025/12/15/image_17032025_12_15_36_30889.jpg
MAIN: 2025-03-17 12:15:37,343 - INFO - duration: 0.7023333329998422
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-03-17 12:16:06,270 - INFO - taking picture
MAIN: 2025-03-17 12:16:06,271 - INFO - we take 692 photos in this while loop
MAIN: 2025-03-17 12:16:06,271 - INFO - /home/pi/Desktop/images/17032025/12/15/image_17032025_12_16_05_28987.jpg
MAIN: 2025-03-17 12:16:06,271 - INFO - duration: 0.6423203119993559
MAIN: 2025-03-17 12:16:06,272 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/16'
MAIN: 2025-03-17 12:16: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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 12:16:37,282 - INFO - taking picture
MAIN: 2025-03-17 12:16:37,283 - INFO - we take 693 photos in this while loop
MAIN: 2025-03-17 12:16:37,283 - INFO - /home/pi/Desktop/images/17032025/12/16/image_17032025_12_16_36_30958.jpg
MAIN: 2025-03-17 12:16:37,283 - INFO - duration: 0.6953920839987404
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 12:17:06,557 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 12:17:07,255 - INFO - taking picture
MAIN: 2025-03-17 12:17:07,256 - INFO - we take 694 photos in this while loop
MAIN: 2025-03-17 12:17:07,256 - INFO - /home/pi/Desktop/images/17032025/12/16/image_17032025_12_17_06_29986.jpg
MAIN: 2025-03-17 12:17:07,256 - INFO - duration: 0.6815732809991459
MAIN: 2025-03-17 12:17:07,256 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 12:17:36,891 - INFO - taking picture
MAIN: 2025-03-17 12:17:36,891 - INFO - we take 695 photos in this while loop
MAIN: 2025-03-17 12:17:36,891 - INFO - /home/pi/Desktop/images/17032025/12/17/image_17032025_12_17_36_29620.jpg
MAIN: 2025-03-17 12:17:36,892 - INFO - duration: 0.6963433849996363
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 12:18: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=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-03-17 12:18:06,938 - INFO - taking picture
MAIN: 2025-03-17 12:18:06,939 - INFO - we take 696 photos in this while loop
MAIN: 2025-03-17 12:18:06,939 - INFO - /home/pi/Desktop/images/17032025/12/17/image_17032025_12_18_06_30101.jpg
MAIN: 2025-03-17 12:18:06,939 - INFO - duration: 0.6418138540029759
MAIN: 2025-03-17 12:18:06,939 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/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=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-03-17 12:18:36,623 - INFO - taking picture
MAIN: 2025-03-17 12:18:36,624 - INFO - we take 697 photos in this while loop
MAIN: 2025-03-17 12:18:36,624 - INFO - /home/pi/Desktop/images/17032025/12/18/image_17032025_12_18_36_29621.jpg
MAIN: 2025-03-17 12:18:36,624 - INFO - duration: 0.7057532290018571
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 12:19:05,910 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 12:19:06,692 - INFO - taking picture
MAIN: 2025-03-17 12:19:06,693 - INFO - we take 698 photos in this while loop
MAIN: 2025-03-17 12:19:06,693 - INFO - /home/pi/Desktop/images/17032025/12/18/image_17032025_12_19_06_30122.jpg
MAIN: 2025-03-17 12:19:06,693 - INFO - duration: 0.6522228639987588
MAIN: 2025-03-17 12:19:06,694 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/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=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-03-17 12:19:36,415 - INFO - taking picture
MAIN: 2025-03-17 12:19:36,416 - INFO - we take 699 photos in this while loop
MAIN: 2025-03-17 12:19:36,416 - INFO - /home/pi/Desktop/images/17032025/12/19/image_17032025_12_19_36_29675.jpg
MAIN: 2025-03-17 12:19:36,416 - INFO - duration: 0.7000909890011826
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-03-17 12:20:06,479 - INFO - 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-03-17 12:20:06,768 - INFO - taking picture
MAIN: 2025-03-17 12:20:06,768 - INFO - we take 700 photos in this while loop
MAIN: 2025-03-17 12:20:06,769 - INFO - /home/pi/Desktop/images/17032025/12/19/image_17032025_12_20_06_30360.jpg
MAIN: 2025-03-17 12:20:06,769 - INFO - duration: 0.6920290620000742
MAIN: 2025-03-17 12:20:06,769 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/20'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 12:20:36,340 - INFO - taking picture
MAIN: 2025-03-17 12:20:36,340 - INFO - we take 701 photos in this while loop
MAIN: 2025-03-17 12:20:36,341 - INFO - /home/pi/Desktop/images/17032025/12/20/image_17032025_12_20_35_29570.jpg
MAIN: 2025-03-17 12:20:36,341 - INFO - duration: 0.6935197390012036
Corrupt JPEG data: premature end of data segment
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-03-17 12:21:06,156 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 12:21:06,552 - INFO - taking picture
MAIN: 2025-03-17 12:21:06,552 - INFO - we take 702 photos in this while loop
MAIN: 2025-03-17 12:21:06,553 - INFO - /home/pi/Desktop/images/17032025/12/20/image_17032025_12_21_06_30264.jpg
MAIN: 2025-03-17 12:21:06,553 - INFO - duration: 0.6409580200015625
MAIN: 2025-03-17 12:21:06,553 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 12:21:36,266 - INFO - taking picture
MAIN: 2025-03-17 12:21:36,267 - INFO - we take 703 photos in this while loop
MAIN: 2025-03-17 12:21:36,267 - INFO - /home/pi/Desktop/images/17032025/12/21/image_17032025_12_21_35_29715.jpg
MAIN: 2025-03-17 12:21:36,267 - INFO - duration: 0.6392135410023911
Corrupt JPEG data: premature end of data segment
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-03-17 12:22:06,323 - INFO - taking picture
MAIN: 2025-03-17 12:22:06,323 - INFO - we take 704 photos in this while loop
MAIN: 2025-03-17 12:22:06,324 - INFO - /home/pi/Desktop/images/17032025/12/21/image_17032025_12_22_05_30058.jpg
MAIN: 2025-03-17 12:22:06,324 - INFO - duration: 0.6370822919998318
MAIN: 2025-03-17 12:22:06,324 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/22'
MAIN: 2025-03-17 12:22:06,908 - INFO - 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=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-03-17 12:22:37,232 - INFO - taking picture
MAIN: 2025-03-17 12:22:37,232 - INFO - we take 705 photos in this while loop
MAIN: 2025-03-17 12:22:37,232 - INFO - /home/pi/Desktop/images/17032025/12/22/image_17032025_12_22_36_30852.jpg
MAIN: 2025-03-17 12:22:37,233 - INFO - duration: 0.6930356249977194
Corrupt JPEG data: premature end of data segment
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-03-17 12:23:05,552 - INFO - 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-03-17 12:23:07,392 - INFO - taking picture
MAIN: 2025-03-17 12:23:07,393 - INFO - we take 706 photos in this while loop
MAIN: 2025-03-17 12:23:07,393 - INFO - /home/pi/Desktop/images/17032025/12/22/image_17032025_12_23_07_30184.jpg
MAIN: 2025-03-17 12:23:07,393 - INFO - duration: 0.6690565620010602
MAIN: 2025-03-17 12:23:07,394 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/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=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-03-17 12:23:37,066 - INFO - taking picture
MAIN: 2025-03-17 12:23:37,067 - INFO - we take 707 photos in this while loop
MAIN: 2025-03-17 12:23:37,067 - INFO - /home/pi/Desktop/images/17032025/12/23/image_17032025_12_23_36_29645.jpg
MAIN: 2025-03-17 12:23:37,067 - INFO - duration: 0.6978332809994754
Corrupt JPEG data: premature end of data segment
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-03-17 12:24: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 12:24:07,371 - INFO - taking picture
MAIN: 2025-03-17 12:24:07,372 - INFO - we take 708 photos in this while loop
MAIN: 2025-03-17 12:24:07,372 - INFO - /home/pi/Desktop/images/17032025/12/23/image_17032025_12_24_06_30314.jpg
MAIN: 2025-03-17 12:24:07,372 - INFO - duration: 0.6883893230005924
MAIN: 2025-03-17 12:24:07,372 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 12:24:36,981 - INFO - taking picture
MAIN: 2025-03-17 12:24:36,981 - INFO - we take 709 photos in this while loop
MAIN: 2025-03-17 12:24:36,982 - INFO - /home/pi/Desktop/images/17032025/12/24/image_17032025_12_24_36_29608.jpg
MAIN: 2025-03-17 12:24:36,982 - INFO - duration: 0.6901255199991283
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-03-17 12:25: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 12:25:07,125 - INFO - taking picture
MAIN: 2025-03-17 12:25:07,125 - INFO - we take 710 photos in this while loop
MAIN: 2025-03-17 12:25:07,126 - INFO - /home/pi/Desktop/images/17032025/12/24/image_17032025_12_25_06_30136.jpg
MAIN: 2025-03-17 12:25:07,126 - INFO - duration: 0.6973950000028708
MAIN: 2025-03-17 12:25:07,126 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/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=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-03-17 12:25:36,741 - INFO - taking picture
MAIN: 2025-03-17 12:25:36,741 - INFO - we take 711 photos in this while loop
MAIN: 2025-03-17 12:25:36,741 - INFO - /home/pi/Desktop/images/17032025/12/25/image_17032025_12_25_36_29619.jpg
MAIN: 2025-03-17 12:25:36,741 - INFO - duration: 0.693585520999477
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 12:26: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 12:26:07,083 - INFO - taking picture
MAIN: 2025-03-17 12:26:07,083 - INFO - we take 712 photos in this while loop
MAIN: 2025-03-17 12:26:07,084 - INFO - /home/pi/Desktop/images/17032025/12/25/image_17032025_12_26_06_30185.jpg
MAIN: 2025-03-17 12:26:07,084 - INFO - duration: 0.8502618739985337
MAIN: 2025-03-17 12:26:07,084 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 12:26:36,554 - INFO - taking picture
MAIN: 2025-03-17 12:26:36,554 - INFO - we take 713 photos in this while loop
MAIN: 2025-03-17 12:26:36,554 - INFO - /home/pi/Desktop/images/17032025/12/26/image_17032025_12_26_36_29632.jpg
MAIN: 2025-03-17 12:26:36,555 - INFO - duration: 0.6887745310013997
Corrupt JPEG data: premature end of data segment
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-03-17 12:27: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 ! 
MAIN: 2025-03-17 12:27:06,553 - INFO - taking picture
MAIN: 2025-03-17 12:27:06,553 - INFO - we take 714 photos in this while loop
MAIN: 2025-03-17 12:27:06,554 - INFO - /home/pi/Desktop/images/17032025/12/26/image_17032025_12_27_06_30003.jpg
MAIN: 2025-03-17 12:27:06,554 - INFO - duration: 0.6839394790004008
MAIN: 2025-03-17 12:27:06,554 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/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=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-03-17 12:27:37,564 - INFO - taking picture
MAIN: 2025-03-17 12:27:37,565 - INFO - we take 715 photos in this while loop
MAIN: 2025-03-17 12:27:37,565 - INFO - /home/pi/Desktop/images/17032025/12/27/image_17032025_12_27_37_30998.jpg
MAIN: 2025-03-17 12:27:37,565 - INFO - duration: 0.6971089059989026
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-03-17 12:28:06,534 - INFO - taking picture
MAIN: 2025-03-17 12:28:06,535 - INFO - we take 716 photos in this while loop
MAIN: 2025-03-17 12:28:06,535 - INFO - /home/pi/Desktop/images/17032025/12/27/image_17032025_12_28_06_28996.jpg
MAIN: 2025-03-17 12:28:06,535 - INFO - duration: 0.6705211459993734
MAIN: 2025-03-17 12:28:06,535 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/28'
MAIN: 2025-03-17 12:28:06,910 - INFO - 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=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-03-17 12:28:37,470 - INFO - taking picture
MAIN: 2025-03-17 12:28:37,470 - INFO - we take 717 photos in this while loop
MAIN: 2025-03-17 12:28:37,470 - INFO - /home/pi/Desktop/images/17032025/12/28/image_17032025_12_28_37_30903.jpg
MAIN: 2025-03-17 12:28:37,471 - INFO - duration: 0.7025228639977286
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 12:29:05,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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 12:29:06,435 - INFO - taking picture
MAIN: 2025-03-17 12:29:06,436 - INFO - we take 718 photos in this while loop
MAIN: 2025-03-17 12:29:06,436 - INFO - /home/pi/Desktop/images/17032025/12/28/image_17032025_12_29_06_28992.jpg
MAIN: 2025-03-17 12:29:06,436 - INFO - duration: 0.6753651559993159
MAIN: 2025-03-17 12:29:06,436 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/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=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-03-17 12:29:37,387 - INFO - taking picture
MAIN: 2025-03-17 12:29:37,388 - INFO - we take 719 photos in this while loop
MAIN: 2025-03-17 12:29:37,388 - INFO - /home/pi/Desktop/images/17032025/12/29/image_17032025_12_29_37_30925.jpg
MAIN: 2025-03-17 12:29:37,388 - INFO - duration: 0.7017789589990571
[ WARN:0] global /tmp/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-03-17 12:30:06,608 - INFO - taking picture
MAIN: 2025-03-17 12:30:06,609 - INFO - we take 720 photos in this while loop
MAIN: 2025-03-17 12:30:06,609 - INFO - /home/pi/Desktop/images/17032025/12/29/image_17032025_12_30_06_29246.jpg
MAIN: 2025-03-17 12:30:06,610 - INFO - duration: 0.6770906250021653
MAIN: 2025-03-17 12:30:06,610 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/30'
MAIN: 2025-03-17 12:30:06,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 12:30:37,253 - INFO - taking picture
MAIN: 2025-03-17 12:30:37,254 - INFO - we take 721 photos in this while loop
MAIN: 2025-03-17 12:30:37,254 - INFO - /home/pi/Desktop/images/17032025/12/30/image_17032025_12_30_36_30679.jpg
MAIN: 2025-03-17 12:30:37,254 - INFO - duration: 0.6417289580022043
Corrupt JPEG data: premature end of data segment
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-03-17 12:31: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=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-03-17 12:31:06,953 - INFO - taking picture
MAIN: 2025-03-17 12:31:06,953 - INFO - we take 722 photos in this while loop
MAIN: 2025-03-17 12:31:06,953 - INFO - /home/pi/Desktop/images/17032025/12/30/image_17032025_12_31_06_29699.jpg
MAIN: 2025-03-17 12:31:06,954 - INFO - duration: 0.6417183859994111
MAIN: 2025-03-17 12:31:06,954 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/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=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-03-17 12:31:36,620 - INFO - taking picture
MAIN: 2025-03-17 12:31:36,621 - INFO - we take 723 photos in this while loop
MAIN: 2025-03-17 12:31:36,621 - INFO - /home/pi/Desktop/images/17032025/12/31/image_17032025_12_31_36_29597.jpg
MAIN: 2025-03-17 12:31:36,621 - INFO - duration: 0.7115770839991455
Corrupt JPEG data: premature end of data segment
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-03-17 12:32:06,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 ! 
MAIN: 2025-03-17 12:32:06,826 - INFO - taking picture
MAIN: 2025-03-17 12:32:06,827 - INFO - we take 724 photos in this while loop
MAIN: 2025-03-17 12:32:06,827 - INFO - /home/pi/Desktop/images/17032025/12/31/image_17032025_12_32_06_30240.jpg
MAIN: 2025-03-17 12:32:06,827 - INFO - duration: 0.6775508850005281
MAIN: 2025-03-17 12:32:06,828 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/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-03-17 12:32:36,593 - INFO - taking picture
MAIN: 2025-03-17 12:32:36,593 - INFO - we take 725 photos in this while loop
MAIN: 2025-03-17 12:32:36,593 - INFO - /home/pi/Desktop/images/17032025/12/32/image_17032025_12_32_36_29747.jpg
MAIN: 2025-03-17 12:32:36,594 - INFO - duration: 0.6962639060002402
Corrupt JPEG data: premature end of data segment
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-03-17 12:33:06,352 - INFO - 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-03-17 12:33:06,538 - INFO - taking picture
MAIN: 2025-03-17 12:33:06,539 - INFO - we take 726 photos in this while loop
MAIN: 2025-03-17 12:33:06,539 - INFO - /home/pi/Desktop/images/17032025/12/32/image_17032025_12_33_06_29974.jpg
MAIN: 2025-03-17 12:33:06,539 - INFO - duration: 0.6668986980002956
MAIN: 2025-03-17 12:33:06,539 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 12:33:37,491 - INFO - taking picture
MAIN: 2025-03-17 12:33:37,492 - INFO - we take 727 photos in this while loop
MAIN: 2025-03-17 12:33:37,492 - INFO - /home/pi/Desktop/images/17032025/12/33/image_17032025_12_33_37_30945.jpg
MAIN: 2025-03-17 12:33:37,492 - INFO - duration: 0.674960103999183
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-03-17 12:34: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=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-03-17 12:34:07,545 - INFO - taking picture
MAIN: 2025-03-17 12:34:07,546 - INFO - we take 728 photos in this while loop
MAIN: 2025-03-17 12:34:07,546 - INFO - /home/pi/Desktop/images/17032025/12/33/image_17032025_12_34_07_30035.jpg
MAIN: 2025-03-17 12:34:07,546 - INFO - duration: 0.6938852079983917
MAIN: 2025-03-17 12:34:07,547 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 12:34:37,311 - INFO - taking picture
MAIN: 2025-03-17 12:34:37,312 - INFO - we take 729 photos in this while loop
MAIN: 2025-03-17 12:34:37,312 - INFO - /home/pi/Desktop/images/17032025/12/34/image_17032025_12_34_36_29762.jpg
MAIN: 2025-03-17 12:34:37,312 - INFO - duration: 0.6971757809988048
[ WARN:0] global /tmp/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-03-17 12:35: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 ! 
MAIN: 2025-03-17 12:35:06,447 - INFO - taking picture
MAIN: 2025-03-17 12:35:06,448 - INFO - we take 730 photos in this while loop
MAIN: 2025-03-17 12:35:06,448 - INFO - /home/pi/Desktop/images/17032025/12/34/image_17032025_12_35_06_29137.jpg
MAIN: 2025-03-17 12:35:06,448 - INFO - duration: 0.6956440620015201
MAIN: 2025-03-17 12:35:06,449 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/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=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-03-17 12:35:37,358 - INFO - taking picture
MAIN: 2025-03-17 12:35:37,359 - INFO - we take 731 photos in this while loop
MAIN: 2025-03-17 12:35:37,359 - INFO - /home/pi/Desktop/images/17032025/12/35/image_17032025_12_35_36_30915.jpg
MAIN: 2025-03-17 12:35:37,359 - INFO - duration: 0.6908598959998926
[ WARN:0] global /tmp/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-03-17 12:36: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 ! 
MAIN: 2025-03-17 12:36:06,309 - INFO - taking picture
MAIN: 2025-03-17 12:36:06,309 - INFO - we take 732 photos in this while loop
MAIN: 2025-03-17 12:36:06,310 - INFO - /home/pi/Desktop/images/17032025/12/35/image_17032025_12_36_05_28960.jpg
MAIN: 2025-03-17 12:36:06,310 - INFO - duration: 0.6811015099992801
MAIN: 2025-03-17 12:36:06,310 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/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=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-03-17 12:36:37,262 - INFO - taking picture
MAIN: 2025-03-17 12:36:37,263 - INFO - we take 733 photos in this while loop
MAIN: 2025-03-17 12:36:37,263 - INFO - /home/pi/Desktop/images/17032025/12/36/image_17032025_12_36_36_30941.jpg
MAIN: 2025-03-17 12:36:37,263 - INFO - duration: 0.6929810930014355
[ WARN:0] global /tmp/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-03-17 12:37: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=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-03-17 12:37:07,065 - INFO - taking picture
MAIN: 2025-03-17 12:37:07,066 - INFO - we take 734 photos in this while loop
MAIN: 2025-03-17 12:37:07,066 - INFO - /home/pi/Desktop/images/17032025/12/36/image_17032025_12_37_06_29855.jpg
MAIN: 2025-03-17 12:37:07,066 - INFO - duration: 0.6409379680007987
MAIN: 2025-03-17 12:37:07,067 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/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-03-17 12:37:36,845 - INFO - taking picture
MAIN: 2025-03-17 12:37:36,845 - INFO - we take 735 photos in this while loop
MAIN: 2025-03-17 12:37:36,845 - INFO - /home/pi/Desktop/images/17032025/12/37/image_17032025_12_37_36_29724.jpg
MAIN: 2025-03-17 12:37:36,846 - INFO - duration: 0.695638229000906
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 12:38: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=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-03-17 12:38:07,077 - INFO - taking picture
MAIN: 2025-03-17 12:38:07,077 - INFO - we take 736 photos in this while loop
MAIN: 2025-03-17 12:38:07,078 - INFO - /home/pi/Desktop/images/17032025/12/37/image_17032025_12_38_06_30219.jpg
MAIN: 2025-03-17 12:38:07,078 - INFO - duration: 0.7079487490009342
MAIN: 2025-03-17 12:38:07,078 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/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=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-03-17 12:38:36,739 - INFO - taking picture
MAIN: 2025-03-17 12:38:36,740 - INFO - we take 737 photos in this while loop
MAIN: 2025-03-17 12:38:36,740 - INFO - /home/pi/Desktop/images/17032025/12/38/image_17032025_12_38_36_29669.jpg
MAIN: 2025-03-17 12:38:36,740 - INFO - duration: 0.7009508849987469
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 12:39: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=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-03-17 12:39:06,594 - INFO - taking picture
MAIN: 2025-03-17 12:39:06,595 - INFO - we take 738 photos in this while loop
MAIN: 2025-03-17 12:39:06,595 - INFO - /home/pi/Desktop/images/17032025/12/38/image_17032025_12_39_06_29914.jpg
MAIN: 2025-03-17 12:39:06,595 - INFO - duration: 0.6420138539979234
MAIN: 2025-03-17 12:39:06,596 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/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=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-03-17 12:39:37,477 - INFO - taking picture
MAIN: 2025-03-17 12:39:37,478 - INFO - we take 739 photos in this while loop
MAIN: 2025-03-17 12:39:37,478 - INFO - /home/pi/Desktop/images/17032025/12/39/image_17032025_12_39_37_30828.jpg
MAIN: 2025-03-17 12:39:37,478 - INFO - duration: 0.6962719780021871
[ WARN:0] global /tmp/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-03-17 12:40:06,543 - INFO - 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-03-17 12:40:06,593 - INFO - taking picture
MAIN: 2025-03-17 12:40:06,594 - INFO - we take 740 photos in this while loop
MAIN: 2025-03-17 12:40:06,594 - INFO - /home/pi/Desktop/images/17032025/12/39/image_17032025_12_40_06_29130.jpg
MAIN: 2025-03-17 12:40:06,594 - INFO - duration: 0.6818299470032798
MAIN: 2025-03-17 12:40:06,595 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 12:40:37,414 - INFO - taking picture
MAIN: 2025-03-17 12:40:37,415 - INFO - we take 741 photos in this while loop
MAIN: 2025-03-17 12:40:37,415 - INFO - /home/pi/Desktop/images/17032025/12/40/image_17032025_12_40_37_30812.jpg
MAIN: 2025-03-17 12:40:37,415 - INFO - duration: 0.689994686999853
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-03-17 12:41: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 12:41:07,200 - INFO - taking picture
MAIN: 2025-03-17 12:41:07,201 - INFO - we take 742 photos in this while loop
MAIN: 2025-03-17 12:41:07,201 - INFO - /home/pi/Desktop/images/17032025/12/40/image_17032025_12_41_06_29798.jpg
MAIN: 2025-03-17 12:41:07,201 - INFO - duration: 0.6777849989994138
MAIN: 2025-03-17 12:41:07,201 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 12:41:36,742 - INFO - taking picture
MAIN: 2025-03-17 12:41:36,742 - INFO - we take 743 photos in this while loop
MAIN: 2025-03-17 12:41:36,742 - INFO - /home/pi/Desktop/images/17032025/12/41/image_17032025_12_41_36_29523.jpg
MAIN: 2025-03-17 12:41:36,743 - INFO - duration: 0.6962442709991592
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 12:42:06,675 - INFO - 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-03-17 12:42:06,954 - INFO - taking picture
MAIN: 2025-03-17 12:42:06,954 - INFO - we take 744 photos in this while loop
MAIN: 2025-03-17 12:42:06,955 - INFO - /home/pi/Desktop/images/17032025/12/41/image_17032025_12_42_06_30209.jpg
MAIN: 2025-03-17 12:42:06,955 - INFO - duration: 0.6994393220011261
MAIN: 2025-03-17 12:42:06,955 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 12:42:36,497 - INFO - taking picture
MAIN: 2025-03-17 12:42:36,498 - INFO - we take 745 photos in this while loop
MAIN: 2025-03-17 12:42:36,498 - INFO - /home/pi/Desktop/images/17032025/12/42/image_17032025_12_42_36_29557.jpg
MAIN: 2025-03-17 12:42:36,498 - INFO - duration: 0.6851043220012798
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=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-03-17 12:43: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 ! 
MAIN: 2025-03-17 12:43:06,363 - INFO - taking picture
MAIN: 2025-03-17 12:43:06,363 - INFO - we take 746 photos in this while loop
MAIN: 2025-03-17 12:43:06,364 - INFO - /home/pi/Desktop/images/17032025/12/42/image_17032025_12_43_05_29854.jpg
MAIN: 2025-03-17 12:43:06,364 - INFO - duration: 0.6967233329996816
MAIN: 2025-03-17 12:43:06,364 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/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=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-03-17 12:43:37,290 - INFO - taking picture
MAIN: 2025-03-17 12:43:37,291 - INFO - we take 747 photos in this while loop
MAIN: 2025-03-17 12:43:37,291 - INFO - /home/pi/Desktop/images/17032025/12/43/image_17032025_12_43_36_30911.jpg
MAIN: 2025-03-17 12:43:37,291 - INFO - duration: 0.7123150520019408
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-03-17 12:44: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=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-03-17 12:44:07,492 - INFO - taking picture
MAIN: 2025-03-17 12:44:07,493 - INFO - we take 748 photos in this while loop
MAIN: 2025-03-17 12:44:07,493 - INFO - /home/pi/Desktop/images/17032025/12/43/image_17032025_12_44_07_30272.jpg
MAIN: 2025-03-17 12:44:07,493 - INFO - duration: 0.6417645830006222
MAIN: 2025-03-17 12:44:07,494 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/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-03-17 12:44:37,144 - INFO - taking picture
MAIN: 2025-03-17 12:44:37,144 - INFO - we take 749 photos in this while loop
MAIN: 2025-03-17 12:44:37,145 - INFO - /home/pi/Desktop/images/17032025/12/44/image_17032025_12_44_36_29642.jpg
MAIN: 2025-03-17 12:44:37,145 - INFO - duration: 0.6509692180006823
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 12:45: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=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-03-17 12:45:07,319 - INFO - taking picture
MAIN: 2025-03-17 12:45:07,320 - INFO - we take 750 photos in this while loop
MAIN: 2025-03-17 12:45:07,320 - INFO - /home/pi/Desktop/images/17032025/12/44/image_17032025_12_45_06_30138.jpg
MAIN: 2025-03-17 12:45:07,321 - INFO - duration: 0.6879993750007998
MAIN: 2025-03-17 12:45:07,321 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/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=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-03-17 12:45:37,053 - INFO - taking picture
MAIN: 2025-03-17 12:45:37,053 - INFO - we take 751 photos in this while loop
MAIN: 2025-03-17 12:45:37,054 - INFO - /home/pi/Desktop/images/17032025/12/45/image_17032025_12_45_36_29780.jpg
MAIN: 2025-03-17 12:45:37,054 - INFO - duration: 0.6409915099975478
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 12:46:06,303 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 12:46:07,059 - INFO - taking picture
MAIN: 2025-03-17 12:46:07,060 - INFO - we take 752 photos in this while loop
MAIN: 2025-03-17 12:46:07,060 - INFO - /home/pi/Desktop/images/17032025/12/45/image_17032025_12_46_06_30010.jpg
MAIN: 2025-03-17 12:46:07,060 - INFO - duration: 0.6371788020005624
MAIN: 2025-03-17 12:46:07,060 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 12:46:36,832 - INFO - taking picture
MAIN: 2025-03-17 12:46:36,833 - INFO - we take 753 photos in this while loop
MAIN: 2025-03-17 12:46:36,833 - INFO - /home/pi/Desktop/images/17032025/12/46/image_17032025_12_46_36_29763.jpg
MAIN: 2025-03-17 12:46:36,833 - INFO - duration: 0.6470140099991113
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 12:47: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=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-03-17 12:47:06,976 - INFO - taking picture
MAIN: 2025-03-17 12:47:06,976 - INFO - we take 754 photos in this while loop
MAIN: 2025-03-17 12:47:06,976 - INFO - /home/pi/Desktop/images/17032025/12/46/image_17032025_12_47_06_30154.jpg
MAIN: 2025-03-17 12:47:06,977 - INFO - duration: 0.6363576040021144
MAIN: 2025-03-17 12:47:06,977 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/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=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-03-17 12:47:36,599 - INFO - taking picture
MAIN: 2025-03-17 12:47:36,600 - INFO - we take 755 photos in this while loop
MAIN: 2025-03-17 12:47:36,600 - INFO - /home/pi/Desktop/images/17032025/12/47/image_17032025_12_47_36_29619.jpg
MAIN: 2025-03-17 12:47:36,600 - INFO - duration: 0.6407730729988543
[ WARN:0] global /tmp/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-03-17 12:48:06,809 - INFO - taking picture
MAIN: 2025-03-17 12:48:06,810 - INFO - we take 756 photos in this while loop
MAIN: 2025-03-17 12:48:06,810 - INFO - /home/pi/Desktop/images/17032025/12/47/image_17032025_12_48_06_30218.jpg
MAIN: 2025-03-17 12:48:06,810 - INFO - duration: 0.632449947999703
MAIN: 2025-03-17 12:48:06,810 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/48'
MAIN: 2025-03-17 12:48:06,934 - INFO - 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=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-03-17 12:48:36,373 - INFO - taking picture
MAIN: 2025-03-17 12:48:36,374 - INFO - we take 757 photos in this while loop
MAIN: 2025-03-17 12:48:36,374 - INFO - /home/pi/Desktop/images/17032025/12/48/image_17032025_12_48_35_29555.jpg
MAIN: 2025-03-17 12:48:36,374 - INFO - duration: 0.6408829680003691
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 12:49:05,523 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 12:49:06,310 - INFO - taking picture
MAIN: 2025-03-17 12:49:06,311 - INFO - we take 758 photos in this while loop
MAIN: 2025-03-17 12:49:06,311 - INFO - /home/pi/Desktop/images/17032025/12/48/image_17032025_12_49_05_29929.jpg
MAIN: 2025-03-17 12:49:06,311 - INFO - duration: 0.6482704679983726
MAIN: 2025-03-17 12:49:06,312 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 12:49:37,288 - INFO - taking picture
MAIN: 2025-03-17 12:49:37,289 - INFO - we take 759 photos in this while loop
MAIN: 2025-03-17 12:49:37,289 - INFO - /home/pi/Desktop/images/17032025/12/49/image_17032025_12_49_36_30936.jpg
MAIN: 2025-03-17 12:49:37,289 - INFO - duration: 0.6891727080001147
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 12:50:06,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=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-03-17 12:50:07,426 - INFO - taking picture
MAIN: 2025-03-17 12:50:07,427 - INFO - we take 760 photos in this while loop
MAIN: 2025-03-17 12:50:07,428 - INFO - /home/pi/Desktop/images/17032025/12/49/image_17032025_12_50_07_30151.jpg
MAIN: 2025-03-17 12:50:07,428 - INFO - duration: 0.6771467710022989
MAIN: 2025-03-17 12:50:07,429 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/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-03-17 12:50:37,067 - INFO - taking picture
MAIN: 2025-03-17 12:50:37,068 - INFO - we take 761 photos in this while loop
MAIN: 2025-03-17 12:50:37,068 - INFO - /home/pi/Desktop/images/17032025/12/50/image_17032025_12_50_36_29637.jpg
MAIN: 2025-03-17 12:50:37,068 - INFO - duration: 0.6800002079980914
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-03-17 12:51: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 12:51:07,018 - INFO - taking picture
MAIN: 2025-03-17 12:51:07,019 - INFO - we take 762 photos in this while loop
MAIN: 2025-03-17 12:51:07,019 - INFO - /home/pi/Desktop/images/17032025/12/50/image_17032025_12_51_06_29930.jpg
MAIN: 2025-03-17 12:51:07,019 - INFO - duration: 0.7002251560006698
MAIN: 2025-03-17 12:51:07,020 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/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-03-17 12:51:36,702 - INFO - taking picture
MAIN: 2025-03-17 12:51:36,703 - INFO - we take 763 photos in this while loop
MAIN: 2025-03-17 12:51:36,703 - INFO - /home/pi/Desktop/images/17032025/12/51/image_17032025_12_51_36_29710.jpg
MAIN: 2025-03-17 12:51:36,703 - INFO - duration: 0.6732868749968475
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 12:52: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=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-03-17 12:52:06,796 - INFO - taking picture
MAIN: 2025-03-17 12:52:06,796 - INFO - we take 764 photos in this while loop
MAIN: 2025-03-17 12:52:06,796 - INFO - /home/pi/Desktop/images/17032025/12/51/image_17032025_12_52_06_30073.jpg
MAIN: 2025-03-17 12:52:06,797 - INFO - duration: 0.6934640620020218
MAIN: 2025-03-17 12:52:06,797 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/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=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-03-17 12:52:36,302 - INFO - taking picture
MAIN: 2025-03-17 12:52:36,303 - INFO - we take 765 photos in this while loop
MAIN: 2025-03-17 12:52:36,303 - INFO - /home/pi/Desktop/images/17032025/12/52/image_17032025_12_52_35_29529.jpg
MAIN: 2025-03-17 12:52:36,303 - INFO - duration: 0.6697279680010979
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 12:53: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=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-03-17 12:53:07,424 - INFO - taking picture
MAIN: 2025-03-17 12:53:07,425 - INFO - we take 766 photos in this while loop
MAIN: 2025-03-17 12:53:07,425 - INFO - /home/pi/Desktop/images/17032025/12/52/image_17032025_12_53_07_31128.jpg
MAIN: 2025-03-17 12:53:07,425 - INFO - duration: 0.663452500000858
MAIN: 2025-03-17 12:53:07,426 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 12:53:36,922 - INFO - taking picture
MAIN: 2025-03-17 12:53:36,923 - INFO - we take 767 photos in this while loop
MAIN: 2025-03-17 12:53:36,923 - INFO - /home/pi/Desktop/images/17032025/12/53/image_17032025_12_53_36_29497.jpg
MAIN: 2025-03-17 12:53:36,923 - INFO - duration: 0.6641063009992649
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 12:54: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=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-03-17 12:54:07,000 - INFO - taking picture
MAIN: 2025-03-17 12:54:07,001 - INFO - we take 768 photos in this while loop
MAIN: 2025-03-17 12:54:07,001 - INFO - /home/pi/Desktop/images/17032025/12/53/image_17032025_12_54_06_30069.jpg
MAIN: 2025-03-17 12:54:07,001 - INFO - duration: 0.672195521001413
MAIN: 2025-03-17 12:54:07,002 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/54'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 12:54:36,629 - INFO - taking picture
MAIN: 2025-03-17 12:54:36,630 - INFO - we take 769 photos in this while loop
MAIN: 2025-03-17 12:54:36,630 - INFO - /home/pi/Desktop/images/17032025/12/54/image_17032025_12_54_36_29607.jpg
MAIN: 2025-03-17 12:54:36,630 - INFO - duration: 0.694026926998049
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 12:55: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 ! 
MAIN: 2025-03-17 12:55:06,724 - INFO - taking picture
MAIN: 2025-03-17 12:55:06,724 - INFO - we take 770 photos in this while loop
MAIN: 2025-03-17 12:55:06,725 - INFO - /home/pi/Desktop/images/17032025/12/54/image_17032025_12_55_06_30097.jpg
MAIN: 2025-03-17 12:55:06,726 - INFO - duration: 0.6913585939983022
MAIN: 2025-03-17 12:55:06,726 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/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=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-03-17 12:55:36,268 - INFO - taking picture
MAIN: 2025-03-17 12:55:36,269 - INFO - we take 771 photos in this while loop
MAIN: 2025-03-17 12:55:36,269 - INFO - /home/pi/Desktop/images/17032025/12/55/image_17032025_12_55_35_29565.jpg
MAIN: 2025-03-17 12:55:36,269 - INFO - duration: 0.6697162499986007
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-03-17 12:56:06,154 - INFO - 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-03-17 12:56:06,538 - INFO - taking picture
MAIN: 2025-03-17 12:56:06,539 - INFO - we take 772 photos in this while loop
MAIN: 2025-03-17 12:56:06,539 - INFO - /home/pi/Desktop/images/17032025/12/55/image_17032025_12_56_06_30256.jpg
MAIN: 2025-03-17 12:56:06,539 - INFO - duration: 0.6830093230018974
MAIN: 2025-03-17 12:56:06,540 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 12:56:37,299 - INFO - taking picture
MAIN: 2025-03-17 12:56:37,300 - INFO - we take 773 photos in this while loop
MAIN: 2025-03-17 12:56:37,300 - INFO - /home/pi/Desktop/images/17032025/12/56/image_17032025_12_56_36_30751.jpg
MAIN: 2025-03-17 12:56:37,301 - INFO - duration: 0.6924918750009965
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 12: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=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-03-17 12:57:07,175 - INFO - taking picture
MAIN: 2025-03-17 12:57:07,175 - INFO - we take 774 photos in this while loop
MAIN: 2025-03-17 12:57:07,176 - INFO - /home/pi/Desktop/images/17032025/12/56/image_17032025_12_57_06_29919.jpg
MAIN: 2025-03-17 12:57:07,176 - INFO - duration: 0.6487304160000349
MAIN: 2025-03-17 12:57:07,176 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 12:57:36,861 - INFO - taking picture
MAIN: 2025-03-17 12:57:36,862 - INFO - we take 775 photos in this while loop
MAIN: 2025-03-17 12:57:36,862 - INFO - /home/pi/Desktop/images/17032025/12/57/image_17032025_12_57_36_29628.jpg
MAIN: 2025-03-17 12:57:36,862 - INFO - duration: 0.7071880209987285
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 12:58:06,782 - INFO - 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-03-17 12:58:06,982 - INFO - taking picture
MAIN: 2025-03-17 12:58:06,982 - INFO - we take 776 photos in this while loop
MAIN: 2025-03-17 12:58:06,983 - INFO - /home/pi/Desktop/images/17032025/12/57/image_17032025_12_58_06_30114.jpg
MAIN: 2025-03-17 12:58:06,983 - INFO - duration: 0.7133719269986614
MAIN: 2025-03-17 12:58:06,983 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 12:58:36,471 - INFO - taking picture
MAIN: 2025-03-17 12:58:36,471 - INFO - we take 777 photos in this while loop
MAIN: 2025-03-17 12:58:36,471 - INFO - /home/pi/Desktop/images/17032025/12/58/image_17032025_12_58_36_29510.jpg
MAIN: 2025-03-17 12:58:36,472 - INFO - duration: 0.6914542710001115
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-03-17 12:59:06,012 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 12:59:07,318 - INFO - taking picture
MAIN: 2025-03-17 12:59:07,319 - INFO - we take 778 photos in this while loop
MAIN: 2025-03-17 12:59:07,319 - INFO - /home/pi/Desktop/images/17032025/12/58/image_17032025_12_59_06_30892.jpg
MAIN: 2025-03-17 12:59:07,319 - INFO - duration: 0.6464928120003606
MAIN: 2025-03-17 12:59:07,320 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/12/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=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-03-17 12:59:37,151 - INFO - taking picture
MAIN: 2025-03-17 12:59:37,151 - INFO - we take 779 photos in this while loop
MAIN: 2025-03-17 12:59:37,152 - INFO - /home/pi/Desktop/images/17032025/12/59/image_17032025_12_59_36_29807.jpg
MAIN: 2025-03-17 12:59:37,152 - INFO - duration: 0.6717860409989953
[ WARN:0] global /tmp/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-03-17 13:00: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 ! 
MAIN: 2025-03-17 13:00:06,307 - INFO - taking picture
MAIN: 2025-03-17 13:00:06,308 - INFO - we take 780 photos in this while loop
MAIN: 2025-03-17 13:00:06,309 - INFO - /home/pi/Desktop/images/17032025/12/59/image_17032025_13_00_05_29138.jpg
MAIN: 2025-03-17 13:00:06,310 - INFO - duration: 0.6909903119994851
MAIN: 2025-03-17 13:00:06,312 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/00'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:00:37,158 - INFO - taking picture
MAIN: 2025-03-17 13:00:37,159 - INFO - we take 781 photos in this while loop
MAIN: 2025-03-17 13:00:37,159 - INFO - /home/pi/Desktop/images/17032025/13/00/image_17032025_13_00_36_30906.jpg
MAIN: 2025-03-17 13:00:37,159 - INFO - duration: 0.6339119259973813
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 13:01: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=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-03-17 13:01:06,960 - INFO - taking picture
MAIN: 2025-03-17 13:01:06,961 - INFO - we take 782 photos in this while loop
MAIN: 2025-03-17 13:01:06,961 - INFO - /home/pi/Desktop/images/17032025/13/00/image_17032025_13_01_06_29800.jpg
MAIN: 2025-03-17 13:01:06,961 - INFO - duration: 0.6350400520022959
MAIN: 2025-03-17 13:01:06,961 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/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=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-03-17 13:01:36,459 - INFO - taking picture
MAIN: 2025-03-17 13:01:36,460 - INFO - we take 783 photos in this while loop
MAIN: 2025-03-17 13:01:36,460 - INFO - /home/pi/Desktop/images/17032025/13/01/image_17032025_13_01_36_29431.jpg
MAIN: 2025-03-17 13:01:36,460 - INFO - duration: 0.7030279159989732
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 13:02: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=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-03-17 13:02:06,724 - INFO - taking picture
MAIN: 2025-03-17 13:02:06,725 - INFO - we take 784 photos in this while loop
MAIN: 2025-03-17 13:02:06,725 - INFO - /home/pi/Desktop/images/17032025/13/01/image_17032025_13_02_06_30299.jpg
MAIN: 2025-03-17 13:02:06,725 - INFO - duration: 0.668338228999346
MAIN: 2025-03-17 13:02:06,726 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:02:36,373 - INFO - taking picture
MAIN: 2025-03-17 13:02:36,373 - INFO - we take 785 photos in this while loop
MAIN: 2025-03-17 13:02:36,374 - INFO - /home/pi/Desktop/images/17032025/13/02/image_17032025_13_02_35_29618.jpg
MAIN: 2025-03-17 13:02:36,374 - INFO - duration: 0.6986773440003162
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-03-17 13:03:06,394 - INFO - 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-03-17 13:03:07,486 - INFO - taking picture
MAIN: 2025-03-17 13:03:07,487 - INFO - we take 786 photos in this while loop
MAIN: 2025-03-17 13:03:07,487 - INFO - /home/pi/Desktop/images/17032025/13/02/image_17032025_13_03_07_31141.jpg
MAIN: 2025-03-17 13:03:07,487 - INFO - duration: 0.6702776559977792
MAIN: 2025-03-17 13:03:07,487 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/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=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-03-17 13:03:37,106 - INFO - taking picture
MAIN: 2025-03-17 13:03:37,107 - INFO - we take 787 photos in this while loop
MAIN: 2025-03-17 13:03:37,107 - INFO - /home/pi/Desktop/images/17032025/13/03/image_17032025_13_03_36_29618.jpg
MAIN: 2025-03-17 13:03:37,107 - INFO - duration: 0.672708281002997
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=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-03-17 13:04:06,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 ! 
MAIN: 2025-03-17 13:04:07,136 - INFO - taking picture
MAIN: 2025-03-17 13:04:07,137 - INFO - we take 788 photos in this while loop
MAIN: 2025-03-17 13:04:07,137 - INFO - /home/pi/Desktop/images/17032025/13/03/image_17032025_13_04_06_30003.jpg
MAIN: 2025-03-17 13:04:07,137 - INFO - duration: 0.6992774999998801
MAIN: 2025-03-17 13:04:07,137 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:04:36,712 - INFO - taking picture
MAIN: 2025-03-17 13:04:36,713 - INFO - we take 789 photos in this while loop
MAIN: 2025-03-17 13:04:36,713 - INFO - /home/pi/Desktop/images/17032025/13/04/image_17032025_13_04_36_29604.jpg
MAIN: 2025-03-17 13:04:36,713 - INFO - duration: 0.6709377609986404
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 13:05:06,087 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:05:06,934 - INFO - taking picture
MAIN: 2025-03-17 13:05:06,935 - INFO - we take 790 photos in this while loop
MAIN: 2025-03-17 13:05:06,935 - INFO - /home/pi/Desktop/images/17032025/13/04/image_17032025_13_05_06_30211.jpg
MAIN: 2025-03-17 13:05:06,936 - INFO - duration: 0.681228645000374
MAIN: 2025-03-17 13:05:06,936 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/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=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-03-17 13:05:36,705 - INFO - taking picture
MAIN: 2025-03-17 13:05:36,706 - INFO - we take 791 photos in this while loop
MAIN: 2025-03-17 13:05:36,706 - INFO - /home/pi/Desktop/images/17032025/13/05/image_17032025_13_05_36_29787.jpg
MAIN: 2025-03-17 13:05:36,706 - INFO - duration: 0.6643580720010505
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 13:06: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:06:06,635 - INFO - taking picture
MAIN: 2025-03-17 13:06:06,636 - INFO - we take 792 photos in this while loop
MAIN: 2025-03-17 13:06:06,636 - INFO - /home/pi/Desktop/images/17032025/13/05/image_17032025_13_06_06_29937.jpg
MAIN: 2025-03-17 13:06:06,636 - INFO - duration: 0.6564016140000604
MAIN: 2025-03-17 13:06:06,636 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/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-03-17 13:06:36,316 - INFO - taking picture
MAIN: 2025-03-17 13:06:36,316 - INFO - we take 793 photos in this while loop
MAIN: 2025-03-17 13:06:36,317 - INFO - /home/pi/Desktop/images/17032025/13/06/image_17032025_13_06_35_29655.jpg
MAIN: 2025-03-17 13:06:36,317 - INFO - duration: 0.6816683329998341
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 13:07:05,866 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:07:06,562 - INFO - taking picture
MAIN: 2025-03-17 13:07:06,562 - INFO - we take 794 photos in this while loop
MAIN: 2025-03-17 13:07:06,563 - INFO - /home/pi/Desktop/images/17032025/13/06/image_17032025_13_07_06_30285.jpg
MAIN: 2025-03-17 13:07:06,563 - INFO - duration: 0.6427111979974143
MAIN: 2025-03-17 13:07:06,563 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/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=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-03-17 13:07:37,395 - INFO - taking picture
MAIN: 2025-03-17 13:07:37,396 - INFO - we take 795 photos in this while loop
MAIN: 2025-03-17 13:07:37,396 - INFO - /home/pi/Desktop/images/17032025/13/07/image_17032025_13_07_37_30783.jpg
MAIN: 2025-03-17 13:07:37,396 - INFO - duration: 0.6923175519987126
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-03-17 13:08: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=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-03-17 13:08:07,293 - INFO - taking picture
MAIN: 2025-03-17 13:08:07,293 - INFO - we take 796 photos in this while loop
MAIN: 2025-03-17 13:08:07,293 - INFO - /home/pi/Desktop/images/17032025/13/07/image_17032025_13_08_06_29954.jpg
MAIN: 2025-03-17 13:08:07,294 - INFO - duration: 0.6355917710025096
MAIN: 2025-03-17 13:08:07,294 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/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=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-03-17 13:08:36,830 - INFO - taking picture
MAIN: 2025-03-17 13:08:36,831 - INFO - we take 797 photos in this while loop
MAIN: 2025-03-17 13:08:36,831 - INFO - /home/pi/Desktop/images/17032025/13/08/image_17032025_13_08_36_29480.jpg
MAIN: 2025-03-17 13:08:36,831 - INFO - duration: 0.6924442700001237
[ WARN:0] global /tmp/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-03-17 13:09: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 ! 
MAIN: 2025-03-17 13:09:06,858 - INFO - taking picture
MAIN: 2025-03-17 13:09:06,859 - INFO - we take 798 photos in this while loop
MAIN: 2025-03-17 13:09:06,859 - INFO - /home/pi/Desktop/images/17032025/13/08/image_17032025_13_09_06_30019.jpg
MAIN: 2025-03-17 13:09:06,859 - INFO - duration: 0.7003695829989738
MAIN: 2025-03-17 13:09:06,859 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/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=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-03-17 13:09:36,487 - INFO - taking picture
MAIN: 2025-03-17 13:09:36,488 - INFO - we take 799 photos in this while loop
MAIN: 2025-03-17 13:09:36,488 - INFO - /home/pi/Desktop/images/17032025/13/09/image_17032025_13_09_36_29635.jpg
MAIN: 2025-03-17 13:09:36,488 - INFO - duration: 0.694139739000093
[ WARN:0] global /tmp/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-03-17 13:10: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-03-17 13:10:06,739 - INFO - taking picture
MAIN: 2025-03-17 13:10:06,739 - INFO - we take 800 photos in this while loop
MAIN: 2025-03-17 13:10:06,740 - INFO - /home/pi/Desktop/images/17032025/13/09/image_17032025_13_10_06_30251.jpg
MAIN: 2025-03-17 13:10:06,740 - INFO - duration: 0.694127655999182
MAIN: 2025-03-17 13:10:06,741 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 13:10:36,316 - INFO - taking picture
MAIN: 2025-03-17 13:10:36,316 - INFO - we take 801 photos in this while loop
MAIN: 2025-03-17 13:10:36,316 - INFO - /home/pi/Desktop/images/17032025/13/10/image_17032025_13_10_35_29567.jpg
MAIN: 2025-03-17 13:10:36,317 - INFO - duration: 0.7032530729993596
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 13:11: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=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-03-17 13:11:06,327 - INFO - taking picture
MAIN: 2025-03-17 13:11:06,328 - INFO - we take 802 photos in this while loop
MAIN: 2025-03-17 13:11:06,328 - INFO - /home/pi/Desktop/images/17032025/13/10/image_17032025_13_11_05_30001.jpg
MAIN: 2025-03-17 13:11:06,328 - INFO - duration: 0.7134551039998769
MAIN: 2025-03-17 13:11:06,329 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/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=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-03-17 13:11:37,248 - INFO - taking picture
MAIN: 2025-03-17 13:11:37,248 - INFO - we take 803 photos in this while loop
MAIN: 2025-03-17 13:11:37,248 - INFO - /home/pi/Desktop/images/17032025/13/11/image_17032025_13_11_36_30926.jpg
MAIN: 2025-03-17 13:11:37,249 - INFO - duration: 0.7071594269982597
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 13:12: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=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-03-17 13:12:07,254 - INFO - taking picture
MAIN: 2025-03-17 13:12:07,255 - INFO - we take 804 photos in this while loop
MAIN: 2025-03-17 13:12:07,255 - INFO - /home/pi/Desktop/images/17032025/13/11/image_17032025_13_12_06_30072.jpg
MAIN: 2025-03-17 13:12:07,255 - INFO - duration: 0.6412688019991037
MAIN: 2025-03-17 13:12:07,255 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/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-03-17 13:12:36,788 - INFO - taking picture
MAIN: 2025-03-17 13:12:36,789 - INFO - we take 805 photos in this while loop
MAIN: 2025-03-17 13:12:36,789 - INFO - /home/pi/Desktop/images/17032025/13/12/image_17032025_13_12_36_29504.jpg
MAIN: 2025-03-17 13:12:36,789 - INFO - duration: 0.6707967189977353
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-03-17 13:13: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 ! 
MAIN: 2025-03-17 13:13:06,624 - INFO - taking picture
MAIN: 2025-03-17 13:13:06,624 - INFO - we take 806 photos in this while loop
MAIN: 2025-03-17 13:13:06,625 - INFO - /home/pi/Desktop/images/17032025/13/12/image_17032025_13_13_06_29798.jpg
MAIN: 2025-03-17 13:13:06,625 - INFO - duration: 0.7078994789990247
MAIN: 2025-03-17 13:13:06,625 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:13:36,268 - INFO - taking picture
MAIN: 2025-03-17 13:13:36,269 - INFO - we take 807 photos in this while loop
MAIN: 2025-03-17 13:13:36,269 - INFO - /home/pi/Desktop/images/17032025/13/13/image_17032025_13_13_35_29661.jpg
MAIN: 2025-03-17 13:13:36,269 - INFO - duration: 0.6906940619992383
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 13: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:14:07,319 - INFO - taking picture
MAIN: 2025-03-17 13:14:07,319 - INFO - we take 808 photos in this while loop
MAIN: 2025-03-17 13:14:07,320 - INFO - /home/pi/Desktop/images/17032025/13/13/image_17032025_13_14_06_31092.jpg
MAIN: 2025-03-17 13:14:07,320 - INFO - duration: 0.648649271002796
MAIN: 2025-03-17 13:14:07,320 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/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=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-03-17 13:14:36,892 - INFO - taking picture
MAIN: 2025-03-17 13:14:36,892 - INFO - we take 809 photos in this while loop
MAIN: 2025-03-17 13:14:36,893 - INFO - /home/pi/Desktop/images/17032025/13/14/image_17032025_13_14_36_29520.jpg
MAIN: 2025-03-17 13:14:36,893 - INFO - duration: 0.7007992180006113
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 13:15:05,863 - INFO - 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-03-17 13:15:06,822 - INFO - taking picture
MAIN: 2025-03-17 13:15:06,823 - INFO - we take 810 photos in this while loop
MAIN: 2025-03-17 13:15:06,823 - INFO - /home/pi/Desktop/images/17032025/13/14/image_17032025_13_15_06_29952.jpg
MAIN: 2025-03-17 13:15:06,823 - INFO - duration: 0.6783922389986401
MAIN: 2025-03-17 13:15:06,824 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:15:36,462 - INFO - taking picture
MAIN: 2025-03-17 13:15:36,462 - INFO - we take 811 photos in this while loop
MAIN: 2025-03-17 13:15:36,463 - INFO - /home/pi/Desktop/images/17032025/13/15/image_17032025_13_15_36_29632.jpg
MAIN: 2025-03-17 13:15:36,463 - INFO - duration: 0.6856112499990559
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=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-03-17 13:16:06,149 - INFO - 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-03-17 13:16:06,474 - INFO - taking picture
MAIN: 2025-03-17 13:16:06,475 - INFO - we take 812 photos in this while loop
MAIN: 2025-03-17 13:16:06,475 - INFO - /home/pi/Desktop/images/17032025/13/15/image_17032025_13_16_06_29985.jpg
MAIN: 2025-03-17 13:16:06,475 - INFO - duration: 0.7125019790000806
MAIN: 2025-03-17 13:16:06,475 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:16:37,258 - INFO - taking picture
MAIN: 2025-03-17 13:16:37,259 - INFO - we take 813 photos in this while loop
MAIN: 2025-03-17 13:16:37,259 - INFO - /home/pi/Desktop/images/17032025/13/16/image_17032025_13_16_36_30833.jpg
MAIN: 2025-03-17 13:16:37,259 - INFO - duration: 0.6631102610008384
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 13:17: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=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-03-17 13:17:07,149 - INFO - taking picture
MAIN: 2025-03-17 13:17:07,149 - INFO - we take 814 photos in this while loop
MAIN: 2025-03-17 13:17:07,150 - INFO - /home/pi/Desktop/images/17032025/13/16/image_17032025_13_17_06_29878.jpg
MAIN: 2025-03-17 13:17:07,150 - INFO - duration: 0.6750195830027224
MAIN: 2025-03-17 13:17:07,150 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:17:36,750 - INFO - taking picture
MAIN: 2025-03-17 13:17:36,750 - INFO - we take 815 photos in this while loop
MAIN: 2025-03-17 13:17:36,751 - INFO - /home/pi/Desktop/images/17032025/13/17/image_17032025_13_17_36_29633.jpg
MAIN: 2025-03-17 13:17:36,751 - INFO - duration: 0.6427810940003837
Corrupt JPEG data: premature end of data segment
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-03-17 13:18:06,264 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:18:06,853 - INFO - taking picture
MAIN: 2025-03-17 13:18:06,853 - INFO - we take 816 photos in this while loop
MAIN: 2025-03-17 13:18:06,853 - INFO - /home/pi/Desktop/images/17032025/13/17/image_17032025_13_18_06_30094.jpg
MAIN: 2025-03-17 13:18:06,854 - INFO - duration: 0.6509287500011851
MAIN: 2025-03-17 13:18:06,854 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/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=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-03-17 13:18:36,500 - INFO - taking picture
MAIN: 2025-03-17 13:18:36,501 - INFO - we take 817 photos in this while loop
MAIN: 2025-03-17 13:18:36,501 - INFO - /home/pi/Desktop/images/17032025/13/18/image_17032025_13_18_36_29654.jpg
MAIN: 2025-03-17 13:18:36,501 - INFO - duration: 0.6435073440006818
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=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-03-17 13:19: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 ! 
MAIN: 2025-03-17 13:19:06,589 - INFO - taking picture
MAIN: 2025-03-17 13:19:06,590 - INFO - we take 818 photos in this while loop
MAIN: 2025-03-17 13:19:06,590 - INFO - /home/pi/Desktop/images/17032025/13/18/image_17032025_13_19_06_30081.jpg
MAIN: 2025-03-17 13:19:06,590 - INFO - duration: 0.6506166660001327
MAIN: 2025-03-17 13:19:06,590 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/19'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:19:37,461 - INFO - taking picture
MAIN: 2025-03-17 13:19:37,461 - INFO - we take 819 photos in this while loop
MAIN: 2025-03-17 13:19:37,461 - INFO - /home/pi/Desktop/images/17032025/13/19/image_17032025_13_19_37_30830.jpg
MAIN: 2025-03-17 13:19:37,462 - INFO - duration: 0.6916932800013456
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:20:06,406 - INFO - taking picture
MAIN: 2025-03-17 13:20:06,407 - INFO - we take 820 photos in this while loop
MAIN: 2025-03-17 13:20:06,407 - INFO - /home/pi/Desktop/images/17032025/13/19/image_17032025_13_20_05_28913.jpg
MAIN: 2025-03-17 13:20:06,408 - INFO - duration: 0.7239371350005968
MAIN: 2025-03-17 13:20:06,415 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/20'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 13:20:07,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:20:37,282 - INFO - taking picture
MAIN: 2025-03-17 13:20:37,282 - INFO - we take 821 photos in this while loop
MAIN: 2025-03-17 13:20:37,283 - INFO - /home/pi/Desktop/images/17032025/13/20/image_17032025_13_20_36_30927.jpg
MAIN: 2025-03-17 13:20:37,283 - INFO - duration: 0.6713514580005722
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 13:21: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=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-03-17 13:21:07,148 - INFO - taking picture
MAIN: 2025-03-17 13:21:07,149 - INFO - we take 822 photos in this while loop
MAIN: 2025-03-17 13:21:07,149 - INFO - /home/pi/Desktop/images/17032025/13/20/image_17032025_13_21_06_29869.jpg
MAIN: 2025-03-17 13:21:07,149 - INFO - duration: 0.6682856240004185
MAIN: 2025-03-17 13:21:07,150 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:21:36,731 - INFO - taking picture
MAIN: 2025-03-17 13:21:36,732 - INFO - we take 823 photos in this while loop
MAIN: 2025-03-17 13:21:36,732 - INFO - /home/pi/Desktop/images/17032025/13/21/image_17032025_13_21_36_29562.jpg
MAIN: 2025-03-17 13:21:36,732 - INFO - duration: 0.6891869790015335
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 13:22: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=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-03-17 13:22:06,804 - INFO - taking picture
MAIN: 2025-03-17 13:22:06,804 - INFO - we take 824 photos in this while loop
MAIN: 2025-03-17 13:22:06,805 - INFO - /home/pi/Desktop/images/17032025/13/21/image_17032025_13_22_06_30093.jpg
MAIN: 2025-03-17 13:22:06,805 - INFO - duration: 0.6679864059988176
MAIN: 2025-03-17 13:22:06,805 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:22:36,299 - INFO - taking picture
MAIN: 2025-03-17 13:22:36,300 - INFO - we take 825 photos in this while loop
MAIN: 2025-03-17 13:22:36,300 - INFO - /home/pi/Desktop/images/17032025/13/22/image_17032025_13_22_35_29492.jpg
MAIN: 2025-03-17 13:22:36,300 - INFO - duration: 0.6710087499996007
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-03-17 13:23: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-03-17 13:23:07,548 - INFO - taking picture
MAIN: 2025-03-17 13:23:07,549 - INFO - we take 826 photos in this while loop
MAIN: 2025-03-17 13:23:07,549 - INFO - /home/pi/Desktop/images/17032025/13/22/image_17032025_13_23_07_31221.jpg
MAIN: 2025-03-17 13:23:07,549 - INFO - duration: 0.6984147389994178
MAIN: 2025-03-17 13:23:07,550 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/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=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-03-17 13:23:37,289 - INFO - taking picture
MAIN: 2025-03-17 13:23:37,289 - INFO - we take 827 photos in this while loop
MAIN: 2025-03-17 13:23:37,289 - INFO - /home/pi/Desktop/images/17032025/13/23/image_17032025_13_23_36_29735.jpg
MAIN: 2025-03-17 13:23:37,290 - INFO - duration: 0.7031875520005997
Corrupt JPEG data: premature end of data segment
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-03-17 13:24: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=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-03-17 13:24:07,207 - INFO - taking picture
MAIN: 2025-03-17 13:24:07,208 - INFO - we take 828 photos in this while loop
MAIN: 2025-03-17 13:24:07,208 - INFO - /home/pi/Desktop/images/17032025/13/23/image_17032025_13_24_06_29974.jpg
MAIN: 2025-03-17 13:24:07,208 - INFO - duration: 0.6467769269984274
MAIN: 2025-03-17 13:24:07,208 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:24:36,707 - INFO - taking picture
MAIN: 2025-03-17 13:24:36,707 - INFO - we take 829 photos in this while loop
MAIN: 2025-03-17 13:24:36,708 - INFO - /home/pi/Desktop/images/17032025/13/24/image_17032025_13_24_36_29446.jpg
MAIN: 2025-03-17 13:24:36,708 - INFO - duration: 0.7000104159997136
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 13:25:07,000 - INFO - taking picture
MAIN: 2025-03-17 13:25:07,001 - INFO - we take 830 photos in this while loop
MAIN: 2025-03-17 13:25:07,001 - INFO - /home/pi/Desktop/images/17032025/13/24/image_17032025_13_25_06_30307.jpg
MAIN: 2025-03-17 13:25:07,001 - INFO - duration: 0.6863229680020595
MAIN: 2025-03-17 13:25:07,002 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/25'
MAIN: 2025-03-17 13:25:07,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:25:36,481 - INFO - taking picture
MAIN: 2025-03-17 13:25:36,482 - INFO - we take 831 photos in this while loop
MAIN: 2025-03-17 13:25:36,482 - INFO - /home/pi/Desktop/images/17032025/13/25/image_17032025_13_25_36_29475.jpg
MAIN: 2025-03-17 13:25:36,482 - INFO - duration: 0.6911692190005851
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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=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-03-17 13:26:06,435 - INFO - taking picture
MAIN: 2025-03-17 13:26:06,435 - INFO - we take 832 photos in this while loop
MAIN: 2025-03-17 13:26:06,435 - INFO - /home/pi/Desktop/images/17032025/13/25/image_17032025_13_26_06_29963.jpg
MAIN: 2025-03-17 13:26:06,436 - INFO - duration: 0.6810159369997564
MAIN: 2025-03-17 13:26:06,436 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/26'
MAIN: 2025-03-17 13:26:06,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:26:37,313 - INFO - taking picture
MAIN: 2025-03-17 13:26:37,314 - INFO - we take 833 photos in this while loop
MAIN: 2025-03-17 13:26:37,314 - INFO - /home/pi/Desktop/images/17032025/13/26/image_17032025_13_26_36_30852.jpg
MAIN: 2025-03-17 13:26:37,314 - INFO - duration: 0.7077822390019719
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 13:27: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=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-03-17 13:27:07,395 - INFO - taking picture
MAIN: 2025-03-17 13:27:07,396 - INFO - we take 834 photos in this while loop
MAIN: 2025-03-17 13:27:07,396 - INFO - /home/pi/Desktop/images/17032025/13/26/image_17032025_13_27_07_30093.jpg
MAIN: 2025-03-17 13:27:07,396 - INFO - duration: 0.6964399999997113
MAIN: 2025-03-17 13:27:07,397 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:27:36,996 - INFO - taking picture
MAIN: 2025-03-17 13:27:36,996 - INFO - we take 835 photos in this while loop
MAIN: 2025-03-17 13:27:36,996 - INFO - /home/pi/Desktop/images/17032025/13/27/image_17032025_13_27_36_29622.jpg
MAIN: 2025-03-17 13:27:36,997 - INFO - duration: 0.6741317179985344
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 13:28: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:28:06,899 - INFO - taking picture
MAIN: 2025-03-17 13:28:06,899 - INFO - we take 836 photos in this while loop
MAIN: 2025-03-17 13:28:06,900 - INFO - /home/pi/Desktop/images/17032025/13/27/image_17032025_13_28_06_29919.jpg
MAIN: 2025-03-17 13:28:06,900 - INFO - duration: 0.6574125519982772
MAIN: 2025-03-17 13:28:06,900 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/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=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-03-17 13:28:36,665 - INFO - taking picture
MAIN: 2025-03-17 13:28:36,666 - INFO - we take 837 photos in this while loop
MAIN: 2025-03-17 13:28:36,666 - INFO - /home/pi/Desktop/images/17032025/13/28/image_17032025_13_28_36_29728.jpg
MAIN: 2025-03-17 13:28:36,666 - INFO - duration: 0.6955629680014681
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-03-17 13:29: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-03-17 13:29:06,427 - INFO - taking picture
MAIN: 2025-03-17 13:29:06,427 - INFO - we take 838 photos in this while loop
MAIN: 2025-03-17 13:29:06,428 - INFO - /home/pi/Desktop/images/17032025/13/28/image_17032025_13_29_06_29768.jpg
MAIN: 2025-03-17 13:29:06,428 - INFO - duration: 0.6890329689995269
MAIN: 2025-03-17 13:29:06,428 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:29:37,366 - INFO - taking picture
MAIN: 2025-03-17 13:29:37,367 - INFO - we take 839 photos in this while loop
MAIN: 2025-03-17 13:29:37,367 - INFO - /home/pi/Desktop/images/17032025/13/29/image_17032025_13_29_36_30993.jpg
MAIN: 2025-03-17 13:29:37,367 - INFO - duration: 0.6347028640011558
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:30:06,323 - INFO - taking picture
MAIN: 2025-03-17 13:30:06,324 - INFO - we take 840 photos in this while loop
MAIN: 2025-03-17 13:30:06,325 - INFO - /home/pi/Desktop/images/17032025/13/29/image_17032025_13_30_05_28900.jpg
MAIN: 2025-03-17 13:30:06,326 - INFO - duration: 0.6923486460000277
MAIN: 2025-03-17 13:30:06,327 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/30'
MAIN: 2025-03-17 13:30:07,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:30:37,190 - INFO - taking picture
MAIN: 2025-03-17 13:30:37,191 - INFO - we take 841 photos in this while loop
MAIN: 2025-03-17 13:30:37,191 - INFO - /home/pi/Desktop/images/17032025/13/30/image_17032025_13_30_36_30921.jpg
MAIN: 2025-03-17 13:30:37,191 - INFO - duration: 0.63684770799955
Corrupt JPEG data: premature end of data segment
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-03-17 13:31:06,238 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:31:07,183 - INFO - taking picture
MAIN: 2025-03-17 13:31:07,184 - INFO - we take 842 photos in this while loop
MAIN: 2025-03-17 13:31:07,184 - INFO - /home/pi/Desktop/images/17032025/13/30/image_17032025_13_31_06_29995.jpg
MAIN: 2025-03-17 13:31:07,184 - INFO - duration: 0.6346383849995618
MAIN: 2025-03-17 13:31:07,184 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:31:36,840 - INFO - taking picture
MAIN: 2025-03-17 13:31:36,841 - INFO - we take 843 photos in this while loop
MAIN: 2025-03-17 13:31:36,841 - INFO - /home/pi/Desktop/images/17032025/13/31/image_17032025_13_31_36_29654.jpg
MAIN: 2025-03-17 13:31:36,841 - INFO - duration: 0.6371802600006049
Corrupt JPEG data: premature end of data segment
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-03-17 13:32:05,991 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:32:06,886 - INFO - taking picture
MAIN: 2025-03-17 13:32:06,887 - INFO - we take 844 photos in this while loop
MAIN: 2025-03-17 13:32:06,887 - INFO - /home/pi/Desktop/images/17032025/13/31/image_17032025_13_32_06_30042.jpg
MAIN: 2025-03-17 13:32:06,887 - INFO - duration: 0.6411609899987525
MAIN: 2025-03-17 13:32:06,888 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/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=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-03-17 13:32:36,572 - INFO - taking picture
MAIN: 2025-03-17 13:32:36,573 - INFO - we take 845 photos in this while loop
MAIN: 2025-03-17 13:32:36,573 - INFO - /home/pi/Desktop/images/17032025/13/32/image_17032025_13_32_36_29689.jpg
MAIN: 2025-03-17 13:32:36,573 - INFO - duration: 0.6377216139990196
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 13:33: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=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-03-17 13:33:06,535 - INFO - taking picture
MAIN: 2025-03-17 13:33:06,536 - INFO - we take 846 photos in this while loop
MAIN: 2025-03-17 13:33:06,536 - INFO - /home/pi/Desktop/images/17032025/13/32/image_17032025_13_33_06_29940.jpg
MAIN: 2025-03-17 13:33:06,536 - INFO - duration: 0.6607193750023725
MAIN: 2025-03-17 13:33:06,537 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 13:33:37,504 - INFO - taking picture
MAIN: 2025-03-17 13:33:37,505 - INFO - we take 847 photos in this while loop
MAIN: 2025-03-17 13:33:37,505 - INFO - /home/pi/Desktop/images/17032025/13/33/image_17032025_13_33_37_30939.jpg
MAIN: 2025-03-17 13:33:37,505 - INFO - duration: 0.6908654690014373
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 13:34:06,358 - INFO - taking picture
MAIN: 2025-03-17 13:34:06,359 - INFO - we take 848 photos in this while loop
MAIN: 2025-03-17 13:34:06,359 - INFO - /home/pi/Desktop/images/17032025/13/33/image_17032025_13_34_05_28876.jpg
MAIN: 2025-03-17 13:34:06,359 - INFO - duration: 0.6676786450007057
MAIN: 2025-03-17 13:34:06,360 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/34'
MAIN: 2025-03-17 13: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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:34:37,206 - INFO - taking picture
MAIN: 2025-03-17 13:34:37,207 - INFO - we take 849 photos in this while loop
MAIN: 2025-03-17 13:34:37,207 - INFO - /home/pi/Desktop/images/17032025/13/34/image_17032025_13_34_36_30826.jpg
MAIN: 2025-03-17 13:34:37,207 - INFO - duration: 0.6896917180019955
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 13:35:06,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=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-03-17 13:35:07,182 - INFO - taking picture
MAIN: 2025-03-17 13:35:07,183 - INFO - we take 850 photos in this while loop
MAIN: 2025-03-17 13:35:07,183 - INFO - /home/pi/Desktop/images/17032025/13/34/image_17032025_13_35_06_29996.jpg
MAIN: 2025-03-17 13:35:07,183 - INFO - duration: 0.6694605729971954
MAIN: 2025-03-17 13:35:07,183 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:35:36,631 - INFO - taking picture
MAIN: 2025-03-17 13:35:36,631 - INFO - we take 851 photos in this while loop
MAIN: 2025-03-17 13:35:36,631 - INFO - /home/pi/Desktop/images/17032025/13/35/image_17032025_13_35_36_29436.jpg
MAIN: 2025-03-17 13:35:36,632 - INFO - duration: 0.6816975519977859
Corrupt JPEG data: premature end of data segment
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-03-17 13:36:06,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 ! 
MAIN: 2025-03-17 13:36:06,800 - INFO - taking picture
MAIN: 2025-03-17 13:36:06,800 - INFO - we take 852 photos in this while loop
MAIN: 2025-03-17 13:36:06,800 - INFO - /home/pi/Desktop/images/17032025/13/35/image_17032025_13_36_06_30174.jpg
MAIN: 2025-03-17 13:36:06,801 - INFO - duration: 0.6758285929972772
MAIN: 2025-03-17 13:36:06,801 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:36:36,325 - INFO - taking picture
MAIN: 2025-03-17 13:36:36,326 - INFO - we take 853 photos in this while loop
MAIN: 2025-03-17 13:36:36,326 - INFO - /home/pi/Desktop/images/17032025/13/36/image_17032025_13_36_35_29504.jpg
MAIN: 2025-03-17 13:36:36,326 - INFO - duration: 0.697600624000188
Corrupt JPEG data: premature end of data segment
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-03-17 13:37: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=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-03-17 13:37:07,361 - INFO - taking picture
MAIN: 2025-03-17 13:37:07,361 - INFO - we take 854 photos in this while loop
MAIN: 2025-03-17 13:37:07,361 - INFO - /home/pi/Desktop/images/17032025/13/36/image_17032025_13_37_06_31098.jpg
MAIN: 2025-03-17 13:37:07,361 - INFO - duration: 0.6342044259945396
MAIN: 2025-03-17 13:37:07,362 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:37:36,896 - INFO - taking picture
MAIN: 2025-03-17 13:37:36,896 - INFO - we take 855 photos in this while loop
MAIN: 2025-03-17 13:37:36,896 - INFO - /home/pi/Desktop/images/17032025/13/37/image_17032025_13_37_36_29479.jpg
MAIN: 2025-03-17 13:37:36,897 - INFO - duration: 0.6900163020036416
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-03-17 13:38:06,115 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:38:06,832 - INFO - taking picture
MAIN: 2025-03-17 13:38:06,833 - INFO - we take 856 photos in this while loop
MAIN: 2025-03-17 13:38:06,833 - INFO - /home/pi/Desktop/images/17032025/13/37/image_17032025_13_38_06_29978.jpg
MAIN: 2025-03-17 13:38:06,833 - INFO - duration: 0.6480068219971145
MAIN: 2025-03-17 13:38:06,834 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 13:38:36,439 - INFO - taking picture
MAIN: 2025-03-17 13:38:36,439 - INFO - we take 857 photos in this while loop
MAIN: 2025-03-17 13:38:36,440 - INFO - /home/pi/Desktop/images/17032025/13/38/image_17032025_13_38_36_29564.jpg
MAIN: 2025-03-17 13:38:36,440 - INFO - duration: 0.690458438002679
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 13:39: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:39:06,420 - INFO - taking picture
MAIN: 2025-03-17 13:39:06,420 - INFO - we take 858 photos in this while loop
MAIN: 2025-03-17 13:39:06,421 - INFO - /home/pi/Desktop/images/17032025/13/38/image_17032025_13_39_06_29968.jpg
MAIN: 2025-03-17 13:39:06,421 - INFO - duration: 0.7027948960021604
MAIN: 2025-03-17 13:39:06,421 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:39:37,174 - INFO - taking picture
MAIN: 2025-03-17 13:39:37,174 - INFO - we take 859 photos in this while loop
MAIN: 2025-03-17 13:39:37,174 - INFO - /home/pi/Desktop/images/17032025/13/39/image_17032025_13_39_36_30790.jpg
MAIN: 2025-03-17 13:39:37,175 - INFO - duration: 0.6663002080022125
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 13:40: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=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-03-17 13:40:07,372 - INFO - taking picture
MAIN: 2025-03-17 13:40:07,373 - INFO - we take 860 photos in this while loop
MAIN: 2025-03-17 13:40:07,373 - INFO - /home/pi/Desktop/images/17032025/13/39/image_17032025_13_40_06_30153.jpg
MAIN: 2025-03-17 13:40:07,374 - INFO - duration: 0.7118763020043843
MAIN: 2025-03-17 13:40:07,375 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/40'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:40:36,983 - INFO - taking picture
MAIN: 2025-03-17 13:40:36,984 - INFO - we take 861 photos in this while loop
MAIN: 2025-03-17 13:40:36,984 - INFO - /home/pi/Desktop/images/17032025/13/40/image_17032025_13_40_36_29627.jpg
MAIN: 2025-03-17 13:40:36,984 - INFO - duration: 0.6940706240056898
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-03-17 13:41:06,355 - INFO - 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-03-17 13:41:06,872 - INFO - taking picture
MAIN: 2025-03-17 13:41:06,873 - INFO - we take 862 photos in this while loop
MAIN: 2025-03-17 13:41:06,873 - INFO - /home/pi/Desktop/images/17032025/13/40/image_17032025_13_41_06_29879.jpg
MAIN: 2025-03-17 13:41:06,873 - INFO - duration: 0.7038164059995324
MAIN: 2025-03-17 13:41:06,874 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:41:36,431 - INFO - taking picture
MAIN: 2025-03-17 13:41:36,432 - INFO - we take 863 photos in this while loop
MAIN: 2025-03-17 13:41:36,432 - INFO - /home/pi/Desktop/images/17032025/13/41/image_17032025_13_41_36_29566.jpg
MAIN: 2025-03-17 13:41:36,432 - INFO - duration: 0.6960368220024975
[ WARN:0] global /tmp/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-03-17 13:42:06,350 - INFO - taking picture
MAIN: 2025-03-17 13:42:06,350 - INFO - we take 864 photos in this while loop
MAIN: 2025-03-17 13:42:06,351 - INFO - /home/pi/Desktop/images/17032025/13/41/image_17032025_13_42_05_29933.jpg
MAIN: 2025-03-17 13:42:06,351 - INFO - duration: 0.6810997399952612
MAIN: 2025-03-17 13:42:06,351 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/42'
MAIN: 2025-03-17 13:42:06,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=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-03-17 13:42:37,145 - INFO - taking picture
MAIN: 2025-03-17 13:42:37,145 - INFO - we take 865 photos in this while loop
MAIN: 2025-03-17 13:42:37,145 - INFO - /home/pi/Desktop/images/17032025/13/42/image_17032025_13_42_36_30772.jpg
MAIN: 2025-03-17 13:42:37,146 - INFO - duration: 0.7031766139989486
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 13:43: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=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-03-17 13:43:07,210 - INFO - taking picture
MAIN: 2025-03-17 13:43:07,211 - INFO - we take 866 photos in this while loop
MAIN: 2025-03-17 13:43:07,211 - INFO - /home/pi/Desktop/images/17032025/13/42/image_17032025_13_43_06_30067.jpg
MAIN: 2025-03-17 13:43:07,211 - INFO - duration: 0.7012476559975767
MAIN: 2025-03-17 13:43:07,211 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/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=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-03-17 13:43:36,843 - INFO - taking picture
MAIN: 2025-03-17 13:43:36,844 - INFO - we take 867 photos in this while loop
MAIN: 2025-03-17 13:43:36,844 - INFO - /home/pi/Desktop/images/17032025/13/43/image_17032025_13_43_36_29631.jpg
MAIN: 2025-03-17 13:43:36,844 - INFO - duration: 0.7030252079930506
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 13:44:06,074 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:44:06,790 - INFO - taking picture
MAIN: 2025-03-17 13:44:06,790 - INFO - we take 868 photos in this while loop
MAIN: 2025-03-17 13:44:06,790 - INFO - /home/pi/Desktop/images/17032025/13/43/image_17032025_13_44_06_30000.jpg
MAIN: 2025-03-17 13:44:06,791 - INFO - duration: 0.649569478999183
MAIN: 2025-03-17 13:44:06,791 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 13:44:36,503 - INFO - taking picture
MAIN: 2025-03-17 13:44:36,504 - INFO - we take 869 photos in this while loop
MAIN: 2025-03-17 13:44:36,504 - INFO - /home/pi/Desktop/images/17032025/13/44/image_17032025_13_44_36_29651.jpg
MAIN: 2025-03-17 13:44:36,505 - INFO - duration: 0.712320989005093
[ WARN:0] global /tmp/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-03-17 13:45:06,707 - INFO - taking picture
MAIN: 2025-03-17 13:45:06,708 - INFO - we take 870 photos in this while loop
MAIN: 2025-03-17 13:45:06,708 - INFO - /home/pi/Desktop/images/17032025/13/44/image_17032025_13_45_06_30239.jpg
MAIN: 2025-03-17 13:45:06,709 - INFO - duration: 0.6766469270005473
MAIN: 2025-03-17 13:45:06,709 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/45'
MAIN: 2025-03-17 13:45:06,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:45:37,457 - INFO - taking picture
MAIN: 2025-03-17 13:45:37,458 - INFO - we take 871 photos in this while loop
MAIN: 2025-03-17 13:45:37,458 - INFO - /home/pi/Desktop/images/17032025/13/45/image_17032025_13_45_37_30744.jpg
MAIN: 2025-03-17 13:45:37,458 - INFO - duration: 0.6815892710001208
[ WARN:0] global /tmp/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-03-17 13:46:06,225 - INFO - 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-03-17 13:46:06,366 - INFO - taking picture
MAIN: 2025-03-17 13:46:06,366 - INFO - we take 872 photos in this while loop
MAIN: 2025-03-17 13:46:06,367 - INFO - /home/pi/Desktop/images/17032025/13/45/image_17032025_13_46_05_28908.jpg
MAIN: 2025-03-17 13:46:06,367 - INFO - duration: 0.682082551997155
MAIN: 2025-03-17 13:46:06,367 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:46:37,217 - INFO - taking picture
MAIN: 2025-03-17 13:46:37,218 - INFO - we take 873 photos in this while loop
MAIN: 2025-03-17 13:46:37,218 - INFO - /home/pi/Desktop/images/17032025/13/46/image_17032025_13_46_36_30859.jpg
MAIN: 2025-03-17 13:46:37,218 - INFO - duration: 0.6746203119982965
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 13:47: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:47:06,979 - INFO - taking picture
MAIN: 2025-03-17 13:47:06,980 - INFO - we take 874 photos in this while loop
MAIN: 2025-03-17 13:47:06,980 - INFO - /home/pi/Desktop/images/17032025/13/46/image_17032025_13_47_06_29789.jpg
MAIN: 2025-03-17 13:47:06,980 - INFO - duration: 0.6469041669988655
MAIN: 2025-03-17 13:47:06,981 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/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=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-03-17 13:47:36,510 - INFO - taking picture
MAIN: 2025-03-17 13:47:36,510 - INFO - we take 875 photos in this while loop
MAIN: 2025-03-17 13:47:36,511 - INFO - /home/pi/Desktop/images/17032025/13/47/image_17032025_13_47_36_29481.jpg
MAIN: 2025-03-17 13:47:36,511 - INFO - duration: 0.6965809890025412
Corrupt JPEG data: premature end of data segment
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-03-17 13:48:06,711 - INFO - taking picture
MAIN: 2025-03-17 13:48:06,711 - INFO - we take 876 photos in this while loop
MAIN: 2025-03-17 13:48:06,711 - INFO - /home/pi/Desktop/images/17032025/13/47/image_17032025_13_48_06_30225.jpg
MAIN: 2025-03-17 13:48:06,712 - INFO - duration: 0.6720909900031984
MAIN: 2025-03-17 13:48:06,712 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/48'
MAIN: 2025-03-17 13:48:06,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:48:36,299 - INFO - taking picture
MAIN: 2025-03-17 13:48:36,300 - INFO - we take 877 photos in this while loop
MAIN: 2025-03-17 13:48:36,300 - INFO - /home/pi/Desktop/images/17032025/13/48/image_17032025_13_48_35_29580.jpg
MAIN: 2025-03-17 13:48:36,300 - INFO - duration: 0.680185937002534
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-03-17 13:49:06,286 - INFO - taking picture
MAIN: 2025-03-17 13:49:06,287 - INFO - we take 878 photos in this while loop
MAIN: 2025-03-17 13:49:06,287 - INFO - /home/pi/Desktop/images/17032025/13/48/image_17032025_13_49_05_29987.jpg
MAIN: 2025-03-17 13:49:06,287 - INFO - duration: 0.6796741139987716
MAIN: 2025-03-17 13:49:06,288 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/49'
MAIN: 2025-03-17 13:49: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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:49:37,127 - INFO - taking picture
MAIN: 2025-03-17 13:49:37,127 - INFO - we take 879 photos in this while loop
MAIN: 2025-03-17 13:49:37,128 - INFO - /home/pi/Desktop/images/17032025/13/49/image_17032025_13_49_36_30822.jpg
MAIN: 2025-03-17 13:49:37,128 - INFO - duration: 0.6979353130009258
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 13:50: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:50:07,308 - INFO - taking picture
MAIN: 2025-03-17 13:50:07,309 - INFO - we take 880 photos in this while loop
MAIN: 2025-03-17 13:50:07,309 - INFO - /home/pi/Desktop/images/17032025/13/49/image_17032025_13_50_06_30210.jpg
MAIN: 2025-03-17 13:50:07,309 - INFO - duration: 0.6691840620042058
MAIN: 2025-03-17 13:50:07,310 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/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=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-03-17 13:50:36,835 - INFO - taking picture
MAIN: 2025-03-17 13:50:36,836 - INFO - we take 881 photos in this while loop
MAIN: 2025-03-17 13:50:36,836 - INFO - /home/pi/Desktop/images/17032025/13/50/image_17032025_13_50_36_29498.jpg
MAIN: 2025-03-17 13:50:36,836 - INFO - duration: 0.6968629689945374
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-03-17 13:51:05,913 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:51:06,746 - INFO - taking picture
MAIN: 2025-03-17 13:51:06,747 - INFO - we take 882 photos in this while loop
MAIN: 2025-03-17 13:51:06,747 - INFO - /home/pi/Desktop/images/17032025/13/50/image_17032025_13_51_06_29973.jpg
MAIN: 2025-03-17 13:51:06,747 - INFO - duration: 0.6343417699972633
MAIN: 2025-03-17 13:51:06,748 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/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=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-03-17 13:51:37,479 - INFO - taking picture
MAIN: 2025-03-17 13:51:37,479 - INFO - we take 883 photos in this while loop
MAIN: 2025-03-17 13:51:37,479 - INFO - /home/pi/Desktop/images/17032025/13/51/image_17032025_13_51_37_30667.jpg
MAIN: 2025-03-17 13:51:37,480 - INFO - duration: 0.6991806240039296
[ WARN:0] global /tmp/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-03-17 13:52: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 ! 
MAIN: 2025-03-17 13:52:06,422 - INFO - taking picture
MAIN: 2025-03-17 13:52:06,423 - INFO - we take 884 photos in this while loop
MAIN: 2025-03-17 13:52:06,423 - INFO - /home/pi/Desktop/images/17032025/13/51/image_17032025_13_52_06_28948.jpg
MAIN: 2025-03-17 13:52:06,424 - INFO - duration: 0.6944654170001741
MAIN: 2025-03-17 13:52:06,424 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:52:37,218 - INFO - taking picture
MAIN: 2025-03-17 13:52:37,219 - INFO - we take 885 photos in this while loop
MAIN: 2025-03-17 13:52:37,219 - INFO - /home/pi/Desktop/images/17032025/13/52/image_17032025_13_52_36_30816.jpg
MAIN: 2025-03-17 13:52:37,219 - INFO - duration: 0.674037603996112
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 13:53:06,258 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:53:07,071 - INFO - taking picture
MAIN: 2025-03-17 13:53:07,072 - INFO - we take 886 photos in this while loop
MAIN: 2025-03-17 13:53:07,072 - INFO - /home/pi/Desktop/images/17032025/13/52/image_17032025_13_53_06_29882.jpg
MAIN: 2025-03-17 13:53:07,072 - INFO - duration: 0.6437529169998015
MAIN: 2025-03-17 13:53:07,073 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/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-03-17 13:53:36,580 - INFO - taking picture
MAIN: 2025-03-17 13:53:36,581 - INFO - we take 887 photos in this while loop
MAIN: 2025-03-17 13:53:36,581 - INFO - /home/pi/Desktop/images/17032025/13/53/image_17032025_13_53_36_29458.jpg
MAIN: 2025-03-17 13:53:36,582 - INFO - duration: 0.6947442180025973
[ WARN:0] global /tmp/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-03-17 13:54:06,407 - INFO - taking picture
MAIN: 2025-03-17 13:54:06,407 - INFO - we take 888 photos in this while loop
MAIN: 2025-03-17 13:54:06,407 - INFO - /home/pi/Desktop/images/17032025/13/53/image_17032025_13_54_06_29851.jpg
MAIN: 2025-03-17 13:54:06,408 - INFO - duration: 0.6691339059980237
MAIN: 2025-03-17 13:54:06,408 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/54'
MAIN: 2025-03-17 13:54:06,815 - INFO - 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-03-17 13:54:37,168 - INFO - taking picture
MAIN: 2025-03-17 13:54:37,169 - INFO - we take 889 photos in this while loop
MAIN: 2025-03-17 13:54:37,169 - INFO - /home/pi/Desktop/images/17032025/13/54/image_17032025_13_54_36_30788.jpg
MAIN: 2025-03-17 13:54:37,169 - INFO - duration: 0.641810989996884
[ WARN:0] global /tmp/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-03-17 13:55: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 ! 
MAIN: 2025-03-17 13:55:07,266 - INFO - taking picture
MAIN: 2025-03-17 13:55:07,267 - INFO - we take 890 photos in this while loop
MAIN: 2025-03-17 13:55:07,267 - INFO - /home/pi/Desktop/images/17032025/13/54/image_17032025_13_55_06_30063.jpg
MAIN: 2025-03-17 13:55:07,267 - INFO - duration: 0.6762166150001576
MAIN: 2025-03-17 13:55:07,268 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 13:55:36,813 - INFO - taking picture
MAIN: 2025-03-17 13:55:36,813 - INFO - we take 891 photos in this while loop
MAIN: 2025-03-17 13:55:36,813 - INFO - /home/pi/Desktop/images/17032025/13/55/image_17032025_13_55_36_29540.jpg
MAIN: 2025-03-17 13:55:36,814 - INFO - duration: 0.6822991660010302
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 13:56: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=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-03-17 13:56:06,843 - INFO - taking picture
MAIN: 2025-03-17 13:56:06,844 - INFO - we take 892 photos in this while loop
MAIN: 2025-03-17 13:56:06,844 - INFO - /home/pi/Desktop/images/17032025/13/55/image_17032025_13_56_06_30075.jpg
MAIN: 2025-03-17 13:56:06,844 - INFO - duration: 0.6377818749970174
MAIN: 2025-03-17 13:56:06,844 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 13:56:36,475 - INFO - taking picture
MAIN: 2025-03-17 13:56:36,475 - INFO - we take 893 photos in this while loop
MAIN: 2025-03-17 13:56:36,475 - INFO - /home/pi/Desktop/images/17032025/13/56/image_17032025_13_56_36_29572.jpg
MAIN: 2025-03-17 13:56:36,476 - INFO - duration: 0.6968103639956098
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 13:57: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-03-17 13:57:06,685 - INFO - taking picture
MAIN: 2025-03-17 13:57:06,686 - INFO - we take 894 photos in this while loop
MAIN: 2025-03-17 13:57:06,686 - INFO - /home/pi/Desktop/images/17032025/13/56/image_17032025_13_57_06_30193.jpg
MAIN: 2025-03-17 13:57:06,686 - INFO - duration: 0.7131971869966947
MAIN: 2025-03-17 13:57:06,687 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 13:57:36,337 - INFO - taking picture
MAIN: 2025-03-17 13:57:36,337 - INFO - we take 895 photos in this while loop
MAIN: 2025-03-17 13:57:36,337 - INFO - /home/pi/Desktop/images/17032025/13/57/image_17032025_13_57_35_29664.jpg
MAIN: 2025-03-17 13:57:36,338 - INFO - duration: 0.7006745830003638
[ WARN:0] global /tmp/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-03-17 13:58: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-03-17 13:58:06,546 - INFO - taking picture
MAIN: 2025-03-17 13:58:06,546 - INFO - we take 896 photos in this while loop
MAIN: 2025-03-17 13:58:06,547 - INFO - /home/pi/Desktop/images/17032025/13/57/image_17032025_13_58_06_30210.jpg
MAIN: 2025-03-17 13:58:06,547 - INFO - duration: 0.6994141659961315
MAIN: 2025-03-17 13:58:06,547 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/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=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-03-17 13:58:37,439 - INFO - taking picture
MAIN: 2025-03-17 13:58:37,440 - INFO - we take 897 photos in this while loop
MAIN: 2025-03-17 13:58:37,440 - INFO - /home/pi/Desktop/images/17032025/13/58/image_17032025_13_58_37_30889.jpg
MAIN: 2025-03-17 13:58:37,440 - INFO - duration: 0.7029078639970976
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 13:59:06,012 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 13:59:07,259 - INFO - taking picture
MAIN: 2025-03-17 13:59:07,260 - INFO - we take 898 photos in this while loop
MAIN: 2025-03-17 13:59:07,260 - INFO - /home/pi/Desktop/images/17032025/13/58/image_17032025_13_59_06_29830.jpg
MAIN: 2025-03-17 13:59:07,260 - INFO - duration: 0.692503125006624
MAIN: 2025-03-17 13:59:07,261 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/13/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=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-03-17 13:59:36,817 - INFO - taking picture
MAIN: 2025-03-17 13:59:36,818 - INFO - we take 899 photos in this while loop
MAIN: 2025-03-17 13:59:36,818 - INFO - /home/pi/Desktop/images/17032025/13/59/image_17032025_13_59_36_29560.jpg
MAIN: 2025-03-17 13:59:36,818 - INFO - duration: 0.690104583001812
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 14:00: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=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-03-17 14:00:07,084 - INFO - taking picture
MAIN: 2025-03-17 14:00:07,085 - INFO - we take 900 photos in this while loop
MAIN: 2025-03-17 14:00:07,085 - INFO - /home/pi/Desktop/images/17032025/13/59/image_17032025_14_00_06_30258.jpg
MAIN: 2025-03-17 14:00:07,086 - INFO - duration: 0.6991616669984069
MAIN: 2025-03-17 14:00:07,086 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/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=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-03-17 14:00:36,628 - INFO - taking picture
MAIN: 2025-03-17 14:00:36,629 - INFO - we take 901 photos in this while loop
MAIN: 2025-03-17 14:00:36,629 - INFO - /home/pi/Desktop/images/17032025/14/00/image_17032025_14_00_36_29559.jpg
MAIN: 2025-03-17 14:00:36,629 - INFO - duration: 0.6833240619962453
Corrupt JPEG data: premature end of data segment
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-03-17 14:01:06,032 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:01:06,523 - INFO - taking picture
MAIN: 2025-03-17 14:01:06,523 - INFO - we take 902 photos in this while loop
MAIN: 2025-03-17 14:01:06,523 - INFO - /home/pi/Desktop/images/17032025/14/00/image_17032025_14_01_06_29875.jpg
MAIN: 2025-03-17 14:01:06,524 - INFO - duration: 0.7018982810041052
MAIN: 2025-03-17 14:01:06,524 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:01:37,200 - INFO - taking picture
MAIN: 2025-03-17 14:01:37,200 - INFO - we take 903 photos in this while loop
MAIN: 2025-03-17 14:01:37,201 - INFO - /home/pi/Desktop/images/17032025/14/01/image_17032025_14_01_36_30706.jpg
MAIN: 2025-03-17 14:01:37,201 - INFO - duration: 0.6724367190035991
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 14:02:06,948 - INFO - 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-03-17 14:02:07,234 - INFO - taking picture
MAIN: 2025-03-17 14:02:07,234 - INFO - we take 904 photos in this while loop
MAIN: 2025-03-17 14:02:07,235 - INFO - /home/pi/Desktop/images/17032025/14/01/image_17032025_14_02_06_30001.jpg
MAIN: 2025-03-17 14:02:07,235 - INFO - duration: 0.7051870309951482
MAIN: 2025-03-17 14:02:07,235 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/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=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-03-17 14:02:36,725 - INFO - taking picture
MAIN: 2025-03-17 14:02:36,726 - INFO - we take 905 photos in this while loop
MAIN: 2025-03-17 14:02:36,726 - INFO - /home/pi/Desktop/images/17032025/14/02/image_17032025_14_02_36_29505.jpg
MAIN: 2025-03-17 14:02:36,726 - INFO - duration: 0.6910185939996154
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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=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-03-17 14:03:06,553 - INFO - 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-03-17 14:03:06,694 - INFO - taking picture
MAIN: 2025-03-17 14:03:06,695 - INFO - we take 906 photos in this while loop
MAIN: 2025-03-17 14:03:06,695 - INFO - /home/pi/Desktop/images/17032025/14/02/image_17032025_14_03_06_29948.jpg
MAIN: 2025-03-17 14:03:06,695 - INFO - duration: 0.7112866140014376
MAIN: 2025-03-17 14:03:06,696 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/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=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-03-17 14:03:36,262 - INFO - taking picture
MAIN: 2025-03-17 14:03:36,263 - INFO - we take 907 photos in this while loop
MAIN: 2025-03-17 14:03:36,263 - INFO - /home/pi/Desktop/images/17032025/14/03/image_17032025_14_03_35_29594.jpg
MAIN: 2025-03-17 14:03:36,263 - INFO - duration: 0.6847957810023217
Corrupt JPEG data: premature end of data segment
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=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-03-17 14:04: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-03-17 14:04:06,401 - INFO - taking picture
MAIN: 2025-03-17 14:04:06,402 - INFO - we take 908 photos in this while loop
MAIN: 2025-03-17 14:04:06,402 - INFO - /home/pi/Desktop/images/17032025/14/03/image_17032025_14_04_06_30122.jpg
MAIN: 2025-03-17 14:04:06,402 - INFO - duration: 0.7009044270016602
MAIN: 2025-03-17 14:04:06,403 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/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=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-03-17 14:04:37,171 - INFO - taking picture
MAIN: 2025-03-17 14:04:37,171 - INFO - we take 909 photos in this while loop
MAIN: 2025-03-17 14:04:37,171 - INFO - /home/pi/Desktop/images/17032025/14/04/image_17032025_14_04_36_30793.jpg
MAIN: 2025-03-17 14:04:37,172 - INFO - duration: 0.6771736459995736
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 14:05: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:05:07,200 - INFO - taking picture
MAIN: 2025-03-17 14:05:07,200 - INFO - we take 910 photos in this while loop
MAIN: 2025-03-17 14:05:07,201 - INFO - /home/pi/Desktop/images/17032025/14/04/image_17032025_14_05_06_30020.jpg
MAIN: 2025-03-17 14:05:07,201 - INFO - duration: 0.6863376559995231
MAIN: 2025-03-17 14:05:07,201 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/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=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-03-17 14:05:36,764 - INFO - taking picture
MAIN: 2025-03-17 14:05:36,764 - INFO - we take 911 photos in this while loop
MAIN: 2025-03-17 14:05:36,764 - INFO - /home/pi/Desktop/images/17032025/14/05/image_17032025_14_05_36_29561.jpg
MAIN: 2025-03-17 14:05:36,765 - INFO - duration: 0.688290104000771
[ WARN:0] global /tmp/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-03-17 14:06:06,418 - INFO - 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-03-17 14:06:06,780 - INFO - taking picture
MAIN: 2025-03-17 14:06:06,781 - INFO - we take 912 photos in this while loop
MAIN: 2025-03-17 14:06:06,781 - INFO - /home/pi/Desktop/images/17032025/14/05/image_17032025_14_06_06_30009.jpg
MAIN: 2025-03-17 14:06:06,781 - INFO - duration: 0.6953584370057797
MAIN: 2025-03-17 14:06:06,781 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/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=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-03-17 14:06:37,537 - INFO - taking picture
MAIN: 2025-03-17 14:06:37,538 - INFO - we take 913 photos in this while loop
MAIN: 2025-03-17 14:06:37,538 - INFO - /home/pi/Desktop/images/17032025/14/06/image_17032025_14_06_37_30761.jpg
MAIN: 2025-03-17 14:06:37,538 - INFO - duration: 0.6917059889965458
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 14:07:06,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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:07:07,481 - INFO - taking picture
MAIN: 2025-03-17 14:07:07,482 - INFO - we take 914 photos in this while loop
MAIN: 2025-03-17 14:07:07,482 - INFO - /home/pi/Desktop/images/17032025/14/06/image_17032025_14_07_07_29962.jpg
MAIN: 2025-03-17 14:07:07,482 - INFO - duration: 0.6733260929977405
MAIN: 2025-03-17 14:07:07,483 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/07'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:07:36,963 - INFO - taking picture
MAIN: 2025-03-17 14:07:36,963 - INFO - we take 915 photos in this while loop
MAIN: 2025-03-17 14:07:36,964 - INFO - /home/pi/Desktop/images/17032025/14/07/image_17032025_14_07_36_29490.jpg
MAIN: 2025-03-17 14:07:36,964 - INFO - duration: 0.6644781249997322
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 14:08:06,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=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-03-17 14:08:07,041 - INFO - taking picture
MAIN: 2025-03-17 14:08:07,041 - INFO - we take 916 photos in this while loop
MAIN: 2025-03-17 14:08:07,041 - INFO - /home/pi/Desktop/images/17032025/14/07/image_17032025_14_08_06_30057.jpg
MAIN: 2025-03-17 14:08:07,042 - INFO - duration: 0.6846194270037813
MAIN: 2025-03-17 14:08:07,042 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/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=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-03-17 14:08:36,685 - INFO - taking picture
MAIN: 2025-03-17 14:08:36,686 - INFO - we take 917 photos in this while loop
MAIN: 2025-03-17 14:08:36,686 - INFO - /home/pi/Desktop/images/17032025/14/08/image_17032025_14_08_36_29632.jpg
MAIN: 2025-03-17 14:08:36,686 - INFO - duration: 0.6967959369940218
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-03-17 14:09:05,734 - INFO - 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-03-17 14:09:06,459 - INFO - taking picture
MAIN: 2025-03-17 14:09:06,459 - INFO - we take 918 photos in this while loop
MAIN: 2025-03-17 14:09:06,459 - INFO - /home/pi/Desktop/images/17032025/14/08/image_17032025_14_09_06_29818.jpg
MAIN: 2025-03-17 14:09:06,460 - INFO - duration: 0.6522595310016186
MAIN: 2025-03-17 14:09:06,460 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/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=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-03-17 14:09:37,204 - INFO - taking picture
MAIN: 2025-03-17 14:09:37,204 - INFO - we take 919 photos in this while loop
MAIN: 2025-03-17 14:09:37,205 - INFO - /home/pi/Desktop/images/17032025/14/09/image_17032025_14_09_36_30708.jpg
MAIN: 2025-03-17 14:09:37,205 - INFO - duration: 0.688894375001837
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 14:10:06,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=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-03-17 14:10:07,456 - INFO - taking picture
MAIN: 2025-03-17 14:10:07,457 - INFO - we take 920 photos in this while loop
MAIN: 2025-03-17 14:10:07,457 - INFO - /home/pi/Desktop/images/17032025/14/09/image_17032025_14_10_07_30245.jpg
MAIN: 2025-03-17 14:10:07,457 - INFO - duration: 0.6957902610010933
MAIN: 2025-03-17 14:10:07,458 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:10:37,070 - INFO - taking picture
MAIN: 2025-03-17 14:10:37,070 - INFO - we take 921 photos in this while loop
MAIN: 2025-03-17 14:10:37,070 - INFO - /home/pi/Desktop/images/17032025/14/10/image_17032025_14_10_36_29614.jpg
MAIN: 2025-03-17 14:10:37,071 - INFO - duration: 0.6945947909989627
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 14:11:05,915 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:11:06,926 - INFO - taking picture
MAIN: 2025-03-17 14:11:06,926 - INFO - we take 922 photos in this while loop
MAIN: 2025-03-17 14:11:06,926 - INFO - /home/pi/Desktop/images/17032025/14/10/image_17032025_14_11_06_29917.jpg
MAIN: 2025-03-17 14:11:06,927 - INFO - duration: 0.6332463540020399
MAIN: 2025-03-17 14:11:06,927 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/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=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-03-17 14:11:36,535 - INFO - taking picture
MAIN: 2025-03-17 14:11:36,536 - INFO - we take 923 photos in this while loop
MAIN: 2025-03-17 14:11:36,536 - INFO - /home/pi/Desktop/images/17032025/14/11/image_17032025_14_11_36_29556.jpg
MAIN: 2025-03-17 14:11:36,536 - INFO - duration: 0.6865126039992901
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 14:12: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=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-03-17 14:12:06,829 - INFO - taking picture
MAIN: 2025-03-17 14:12:06,829 - INFO - we take 924 photos in this while loop
MAIN: 2025-03-17 14:12:06,830 - INFO - /home/pi/Desktop/images/17032025/14/11/image_17032025_14_12_06_30266.jpg
MAIN: 2025-03-17 14:12:06,830 - INFO - duration: 0.7135072919991217
MAIN: 2025-03-17 14:12:06,830 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:12:36,362 - INFO - taking picture
MAIN: 2025-03-17 14:12:36,362 - INFO - we take 925 photos in this while loop
MAIN: 2025-03-17 14:12:36,363 - INFO - /home/pi/Desktop/images/17032025/14/12/image_17032025_14_12_35_29549.jpg
MAIN: 2025-03-17 14:12:36,363 - INFO - duration: 0.6974756250056089
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 14:13: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:13:07,416 - INFO - taking picture
MAIN: 2025-03-17 14:13:07,417 - INFO - we take 926 photos in this while loop
MAIN: 2025-03-17 14:13:07,417 - INFO - /home/pi/Desktop/images/17032025/14/12/image_17032025_14_13_07_31089.jpg
MAIN: 2025-03-17 14:13:07,417 - INFO - duration: 0.6621036979995552
MAIN: 2025-03-17 14:13:07,417 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/13'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:13:36,911 - INFO - taking picture
MAIN: 2025-03-17 14:13:36,912 - INFO - we take 927 photos in this while loop
MAIN: 2025-03-17 14:13:36,912 - INFO - /home/pi/Desktop/images/17032025/14/13/image_17032025_14_13_36_29482.jpg
MAIN: 2025-03-17 14:13:36,912 - INFO - duration: 0.6744844269996975
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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=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-03-17 14:14:06,847 - INFO - 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-03-17 14:14:07,018 - INFO - taking picture
MAIN: 2025-03-17 14:14:07,019 - INFO - we take 928 photos in this while loop
MAIN: 2025-03-17 14:14:07,019 - INFO - /home/pi/Desktop/images/17032025/14/13/image_17032025_14_14_06_30086.jpg
MAIN: 2025-03-17 14:14:07,019 - INFO - duration: 0.6951626560039585
MAIN: 2025-03-17 14:14:07,020 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:14:36,539 - INFO - taking picture
MAIN: 2025-03-17 14:14:36,540 - INFO - we take 929 photos in this while loop
MAIN: 2025-03-17 14:14:36,540 - INFO - /home/pi/Desktop/images/17032025/14/14/image_17032025_14_14_36_29518.jpg
MAIN: 2025-03-17 14:14:36,540 - INFO - duration: 0.6974341140012257
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 14:15: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=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-03-17 14:15:06,579 - INFO - taking picture
MAIN: 2025-03-17 14:15:06,579 - INFO - we take 930 photos in this while loop
MAIN: 2025-03-17 14:15:06,580 - INFO - /home/pi/Desktop/images/17032025/14/14/image_17032025_14_15_06_30059.jpg
MAIN: 2025-03-17 14:15:06,580 - INFO - duration: 0.6771568740005023
MAIN: 2025-03-17 14:15:06,580 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/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=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-03-17 14:15:37,419 - INFO - taking picture
MAIN: 2025-03-17 14:15:37,419 - INFO - we take 931 photos in this while loop
MAIN: 2025-03-17 14:15:37,419 - INFO - /home/pi/Desktop/images/17032025/14/15/image_17032025_14_15_37_30819.jpg
MAIN: 2025-03-17 14:15:37,420 - INFO - duration: 0.6974514579997049
Corrupt JPEG data: premature end of data segment
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-03-17 14:16:05,843 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:16:06,297 - INFO - taking picture
MAIN: 2025-03-17 14:16:06,298 - INFO - we take 932 photos in this while loop
MAIN: 2025-03-17 14:16:06,298 - INFO - /home/pi/Desktop/images/17032025/14/15/image_17032025_14_16_05_28878.jpg
MAIN: 2025-03-17 14:16:06,298 - INFO - duration: 0.6972334379970562
MAIN: 2025-03-17 14:16:06,298 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 14:16:37,190 - INFO - taking picture
MAIN: 2025-03-17 14:16:37,191 - INFO - we take 933 photos in this while loop
MAIN: 2025-03-17 14:16:37,191 - INFO - /home/pi/Desktop/images/17032025/14/16/image_17032025_14_16_36_30894.jpg
MAIN: 2025-03-17 14:16:37,191 - INFO - duration: 0.6960988540013204
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 14:17:05,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=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-03-17 14:17:07,108 - INFO - taking picture
MAIN: 2025-03-17 14:17:07,109 - INFO - we take 934 photos in this while loop
MAIN: 2025-03-17 14:17:07,109 - INFO - /home/pi/Desktop/images/17032025/14/16/image_17032025_14_17_06_29916.jpg
MAIN: 2025-03-17 14:17:07,109 - INFO - duration: 0.6971892180008581
MAIN: 2025-03-17 14:17:07,110 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 14:17:36,665 - INFO - taking picture
MAIN: 2025-03-17 14:17:36,666 - INFO - we take 935 photos in this while loop
MAIN: 2025-03-17 14:17:36,666 - INFO - /home/pi/Desktop/images/17032025/14/17/image_17032025_14_17_36_29577.jpg
MAIN: 2025-03-17 14:17:36,666 - INFO - duration: 0.6768044790005661
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 14:18: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=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-03-17 14:18:06,976 - INFO - taking picture
MAIN: 2025-03-17 14:18:06,976 - INFO - we take 936 photos in this while loop
MAIN: 2025-03-17 14:18:06,976 - INFO - /home/pi/Desktop/images/17032025/14/17/image_17032025_14_18_06_30261.jpg
MAIN: 2025-03-17 14:18:06,977 - INFO - duration: 0.7252311979973456
MAIN: 2025-03-17 14:18:06,977 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 14:18:36,477 - INFO - taking picture
MAIN: 2025-03-17 14:18:36,477 - INFO - we take 937 photos in this while loop
MAIN: 2025-03-17 14:18:36,477 - INFO - /home/pi/Desktop/images/17032025/14/18/image_17032025_14_18_36_29536.jpg
MAIN: 2025-03-17 14:18:36,477 - INFO - duration: 0.6894760419963859
[ WARN:0] global /tmp/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-03-17 14:19:06,260 - INFO - taking picture
MAIN: 2025-03-17 14:19:06,261 - INFO - we take 938 photos in this while loop
MAIN: 2025-03-17 14:19:06,261 - INFO - /home/pi/Desktop/images/17032025/14/18/image_17032025_14_19_05_29840.jpg
MAIN: 2025-03-17 14:19:06,261 - INFO - duration: 0.6329298440032289
MAIN: 2025-03-17 14:19:06,262 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/19'
MAIN: 2025-03-17 14:19:06,686 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:19:37,037 - INFO - taking picture
MAIN: 2025-03-17 14:19:37,037 - INFO - we take 939 photos in this while loop
MAIN: 2025-03-17 14:19:37,037 - INFO - /home/pi/Desktop/images/17032025/14/19/image_17032025_14_19_36_30722.jpg
MAIN: 2025-03-17 14:19:37,038 - INFO - duration: 0.6862397919976502
[ WARN:0] global /tmp/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-03-17 14:20:07,393 - INFO - taking picture
MAIN: 2025-03-17 14:20:07,394 - INFO - we take 940 photos in this while loop
MAIN: 2025-03-17 14:20:07,394 - INFO - /home/pi/Desktop/images/17032025/14/19/image_17032025_14_20_06_30371.jpg
MAIN: 2025-03-17 14:20:07,394 - INFO - duration: 0.6712841670014313
MAIN: 2025-03-17 14:20:07,395 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/20'
MAIN: 2025-03-17 14:20:07,621 - INFO - 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-03-17 14:20:37,014 - INFO - taking picture
MAIN: 2025-03-17 14:20:37,015 - INFO - we take 941 photos in this while loop
MAIN: 2025-03-17 14:20:37,015 - INFO - /home/pi/Desktop/images/17032025/14/20/image_17032025_14_20_36_29601.jpg
MAIN: 2025-03-17 14:20:37,015 - INFO - duration: 0.6906329170014942
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-03-17 14:21:05,872 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:21:06,774 - INFO - taking picture
MAIN: 2025-03-17 14:21:06,775 - INFO - we take 942 photos in this while loop
MAIN: 2025-03-17 14:21:06,775 - INFO - /home/pi/Desktop/images/17032025/14/20/image_17032025_14_21_06_29814.jpg
MAIN: 2025-03-17 14:21:06,775 - INFO - duration: 0.6356655209965538
MAIN: 2025-03-17 14:21:06,775 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/21'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:21:36,312 - INFO - taking picture
MAIN: 2025-03-17 14:21:36,313 - INFO - we take 943 photos in this while loop
MAIN: 2025-03-17 14:21:36,313 - INFO - /home/pi/Desktop/images/17032025/14/21/image_17032025_14_21_35_29482.jpg
MAIN: 2025-03-17 14:21:36,313 - INFO - duration: 0.6910702599998331
[ WARN:0] global /tmp/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

 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (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-03-17 14:22: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 ! 
MAIN: 2025-03-17 14:22:06,471 - INFO - taking picture
MAIN: 2025-03-17 14:22:06,471 - INFO - we take 944 photos in this while loop
MAIN: 2025-03-17 14:22:06,471 - INFO - /home/pi/Desktop/images/17032025/14/21/image_17032025_14_22_06_30152.jpg
MAIN: 2025-03-17 14:22:06,472 - INFO - duration: 0.6973471349992906
MAIN: 2025-03-17 14:22:06,472 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/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=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-03-17 14:22:37,262 - INFO - taking picture
MAIN: 2025-03-17 14:22:37,263 - INFO - we take 945 photos in this while loop
MAIN: 2025-03-17 14:22:37,263 - INFO - /home/pi/Desktop/images/17032025/14/22/image_17032025_14_22_36_30822.jpg
MAIN: 2025-03-17 14:22:37,263 - INFO - duration: 0.6666834889983875
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 14:23:05,996 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:23:06,981 - INFO - taking picture
MAIN: 2025-03-17 14:23:06,982 - INFO - we take 946 photos in this while loop
MAIN: 2025-03-17 14:23:06,982 - INFO - /home/pi/Desktop/images/17032025/14/22/image_17032025_14_23_06_29749.jpg
MAIN: 2025-03-17 14:23:06,982 - INFO - duration: 0.6355526560000726
MAIN: 2025-03-17 14:23:06,983 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/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-03-17 14:23:36,557 - INFO - taking picture
MAIN: 2025-03-17 14:23:36,557 - INFO - we take 947 photos in this while loop
MAIN: 2025-03-17 14:23:36,558 - INFO - /home/pi/Desktop/images/17032025/14/23/image_17032025_14_23_36_29518.jpg
MAIN: 2025-03-17 14:23:36,558 - INFO - duration: 0.6924248439972871
[ WARN:0] global /tmp/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-03-17 14:24:06,435 - INFO - 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-03-17 14:24:06,743 - INFO - taking picture
MAIN: 2025-03-17 14:24:06,744 - INFO - we take 948 photos in this while loop
MAIN: 2025-03-17 14:24:06,744 - INFO - /home/pi/Desktop/images/17032025/14/23/image_17032025_14_24_06_30188.jpg
MAIN: 2025-03-17 14:24:06,744 - INFO - duration: 0.6908339580040774
MAIN: 2025-03-17 14:24:06,745 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 14:24:36,425 - INFO - taking picture
MAIN: 2025-03-17 14:24:36,426 - INFO - we take 949 photos in this while loop
MAIN: 2025-03-17 14:24:36,426 - INFO - /home/pi/Desktop/images/17032025/14/24/image_17032025_14_24_36_29674.jpg
MAIN: 2025-03-17 14:24:36,426 - INFO - duration: 0.697935417003464
[ WARN:0] global /tmp/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-03-17 14:25:06,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 ! 
MAIN: 2025-03-17 14:25:06,726 - INFO - taking picture
MAIN: 2025-03-17 14:25:06,727 - INFO - we take 950 photos in this while loop
MAIN: 2025-03-17 14:25:06,728 - INFO - /home/pi/Desktop/images/17032025/14/24/image_17032025_14_25_06_30327.jpg
MAIN: 2025-03-17 14:25:06,729 - INFO - duration: 0.6726574470012565
MAIN: 2025-03-17 14:25:06,730 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/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-03-17 14:25:36,289 - INFO - taking picture
MAIN: 2025-03-17 14:25:36,289 - INFO - we take 951 photos in this while loop
MAIN: 2025-03-17 14:25:36,289 - INFO - /home/pi/Desktop/images/17032025/14/25/image_17032025_14_25_35_29540.jpg
MAIN: 2025-03-17 14:25:36,290 - INFO - duration: 0.6927920300004189
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 14:26:06,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=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-03-17 14:26:07,489 - INFO - taking picture
MAIN: 2025-03-17 14:26:07,489 - INFO - we take 952 photos in this while loop
MAIN: 2025-03-17 14:26:07,489 - INFO - /home/pi/Desktop/images/17032025/14/25/image_17032025_14_26_07_31197.jpg
MAIN: 2025-03-17 14:26:07,490 - INFO - duration: 0.6951305730035529
MAIN: 2025-03-17 14:26:07,490 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/26'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:26:36,974 - INFO - taking picture
MAIN: 2025-03-17 14:26:36,974 - INFO - we take 953 photos in this while loop
MAIN: 2025-03-17 14:26:36,975 - INFO - /home/pi/Desktop/images/17032025/14/26/image_17032025_14_26_36_29498.jpg
MAIN: 2025-03-17 14:26:36,975 - INFO - duration: 0.681472656004189
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=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-03-17 14:27:06,527 - INFO - 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-03-17 14:27:06,821 - INFO - taking picture
MAIN: 2025-03-17 14:27:06,821 - INFO - we take 954 photos in this while loop
MAIN: 2025-03-17 14:27:06,821 - INFO - /home/pi/Desktop/images/17032025/14/26/image_17032025_14_27_06_29816.jpg
MAIN: 2025-03-17 14:27:06,822 - INFO - duration: 0.7114747910018195
MAIN: 2025-03-17 14:27:06,822 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/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=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-03-17 14:27:36,465 - INFO - taking picture
MAIN: 2025-03-17 14:27:36,465 - INFO - we take 955 photos in this while loop
MAIN: 2025-03-17 14:27:36,465 - INFO - /home/pi/Desktop/images/17032025/14/27/image_17032025_14_27_36_29665.jpg
MAIN: 2025-03-17 14:27:36,466 - INFO - duration: 0.6900838010042207
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-03-17 14:28:06,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=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-03-17 14:28:06,684 - INFO - taking picture
MAIN: 2025-03-17 14:28:06,685 - INFO - we take 956 photos in this while loop
MAIN: 2025-03-17 14:28:06,685 - INFO - /home/pi/Desktop/images/17032025/14/27/image_17032025_14_28_06_30206.jpg
MAIN: 2025-03-17 14:28:06,685 - INFO - duration: 0.7034857289982028
MAIN: 2025-03-17 14:28:06,686 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/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=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-03-17 14:28:37,519 - INFO - taking picture
MAIN: 2025-03-17 14:28:37,520 - INFO - we take 957 photos in this while loop
MAIN: 2025-03-17 14:28:37,520 - INFO - /home/pi/Desktop/images/17032025/14/28/image_17032025_14_28_37_30855.jpg
MAIN: 2025-03-17 14:28:37,520 - INFO - duration: 0.682388697998249
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-03-17 14:29:06,263 - INFO - 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-03-17 14:29:06,476 - INFO - taking picture
MAIN: 2025-03-17 14:29:06,476 - INFO - we take 958 photos in this while loop
MAIN: 2025-03-17 14:29:06,476 - INFO - /home/pi/Desktop/images/17032025/14/28/image_17032025_14_29_06_28936.jpg
MAIN: 2025-03-17 14:29:06,477 - INFO - duration: 0.7026134900006582
MAIN: 2025-03-17 14:29:06,477 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 14:29:37,360 - INFO - taking picture
MAIN: 2025-03-17 14:29:37,360 - INFO - we take 959 photos in this while loop
MAIN: 2025-03-17 14:29:37,361 - INFO - /home/pi/Desktop/images/17032025/14/29/image_17032025_14_29_36_30887.jpg
MAIN: 2025-03-17 14:29:37,361 - INFO - duration: 0.6994108849976328
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:30:06,358 - INFO - taking picture
MAIN: 2025-03-17 14:30:06,359 - INFO - we take 960 photos in this while loop
MAIN: 2025-03-17 14:30:06,359 - INFO - /home/pi/Desktop/images/17032025/14/29/image_17032025_14_30_05_29007.jpg
MAIN: 2025-03-17 14:30:06,360 - INFO - duration: 0.6905795829952694
MAIN: 2025-03-17 14:30:06,360 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/30'
MAIN: 2025-03-17 14:30:07,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:30:37,125 - INFO - taking picture
MAIN: 2025-03-17 14:30:37,126 - INFO - we take 961 photos in this while loop
MAIN: 2025-03-17 14:30:37,126 - INFO - /home/pi/Desktop/images/17032025/14/30/image_17032025_14_30_36_30758.jpg
MAIN: 2025-03-17 14:30:37,126 - INFO - duration: 0.6985070309965522
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-03-17 14:31: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=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-03-17 14:31:07,234 - INFO - taking picture
MAIN: 2025-03-17 14:31:07,235 - INFO - we take 962 photos in this while loop
MAIN: 2025-03-17 14:31:07,235 - INFO - /home/pi/Desktop/images/17032025/14/30/image_17032025_14_31_06_30108.jpg
MAIN: 2025-03-17 14:31:07,235 - INFO - duration: 0.698971875004645
MAIN: 2025-03-17 14:31:07,236 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/31'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:31:36,804 - INFO - taking picture
MAIN: 2025-03-17 14:31:36,805 - INFO - we take 963 photos in this while loop
MAIN: 2025-03-17 14:31:36,805 - INFO - /home/pi/Desktop/images/17032025/14/31/image_17032025_14_31_36_29576.jpg
MAIN: 2025-03-17 14:31:36,805 - INFO - duration: 0.6925410409967299
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 14:32: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=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-03-17 14:32:06,862 - INFO - taking picture
MAIN: 2025-03-17 14:32:06,862 - INFO - we take 964 photos in this while loop
MAIN: 2025-03-17 14:32:06,863 - INFO - /home/pi/Desktop/images/17032025/14/31/image_17032025_14_32_06_30048.jpg
MAIN: 2025-03-17 14:32:06,863 - INFO - duration: 0.7018142710003303
MAIN: 2025-03-17 14:32:06,863 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/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=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-03-17 14:32:36,566 - INFO - taking picture
MAIN: 2025-03-17 14:32:36,567 - INFO - we take 965 photos in this while loop
MAIN: 2025-03-17 14:32:36,567 - INFO - /home/pi/Desktop/images/17032025/14/32/image_17032025_14_32_36_29723.jpg
MAIN: 2025-03-17 14:32:36,567 - INFO - duration: 0.6823575520029408
[ WARN:0] global /tmp/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-03-17 14:33:05,901 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:33:06,651 - INFO - taking picture
MAIN: 2025-03-17 14:33:06,652 - INFO - we take 966 photos in this while loop
MAIN: 2025-03-17 14:33:06,652 - INFO - /home/pi/Desktop/images/17032025/14/32/image_17032025_14_33_06_30105.jpg
MAIN: 2025-03-17 14:33:06,652 - INFO - duration: 0.6622381770066568
MAIN: 2025-03-17 14:33:06,653 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 14:33:36,341 - INFO - taking picture
MAIN: 2025-03-17 14:33:36,342 - INFO - we take 967 photos in this while loop
MAIN: 2025-03-17 14:33:36,342 - INFO - /home/pi/Desktop/images/17032025/14/33/image_17032025_14_33_35_29653.jpg
MAIN: 2025-03-17 14:33:36,342 - INFO - duration: 0.6991386450026766
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-03-17 14: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 ! 
MAIN: 2025-03-17 14:34:06,461 - INFO - taking picture
MAIN: 2025-03-17 14:34:06,461 - INFO - we take 968 photos in this while loop
MAIN: 2025-03-17 14:34:06,461 - INFO - /home/pi/Desktop/images/17032025/14/33/image_17032025_14_34_06_30146.jpg
MAIN: 2025-03-17 14:34:06,462 - INFO - duration: 0.6713754159936798
MAIN: 2025-03-17 14:34:06,462 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:34:37,391 - INFO - taking picture
MAIN: 2025-03-17 14:34:37,391 - INFO - we take 969 photos in this while loop
MAIN: 2025-03-17 14:34:37,392 - INFO - /home/pi/Desktop/images/17032025/14/34/image_17032025_14_34_37_30911.jpg
MAIN: 2025-03-17 14:34:37,392 - INFO - duration: 0.6903130209975643
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=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-03-17 14: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 ! 
MAIN: 2025-03-17 14:35:06,508 - INFO - taking picture
MAIN: 2025-03-17 14:35:06,509 - INFO - we take 970 photos in this while loop
MAIN: 2025-03-17 14:35:06,509 - INFO - /home/pi/Desktop/images/17032025/14/34/image_17032025_14_35_06_29097.jpg
MAIN: 2025-03-17 14:35:06,509 - INFO - duration: 0.7098494269957882
MAIN: 2025-03-17 14:35:06,510 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/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=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-03-17 14:35:37,333 - INFO - taking picture
MAIN: 2025-03-17 14:35:37,333 - INFO - we take 971 photos in this while loop
MAIN: 2025-03-17 14:35:37,334 - INFO - /home/pi/Desktop/images/17032025/14/35/image_17032025_14_35_36_30831.jpg
MAIN: 2025-03-17 14:35:37,334 - INFO - duration: 0.7030843229949824
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 14:36:06,383 - INFO - taking picture
MAIN: 2025-03-17 14:36:06,384 - INFO - we take 972 photos in this while loop
MAIN: 2025-03-17 14:36:06,384 - INFO - /home/pi/Desktop/images/17032025/14/35/image_17032025_14_36_06_29050.jpg
MAIN: 2025-03-17 14:36:06,384 - INFO - duration: 0.7026194270001724
MAIN: 2025-03-17 14:36:06,385 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/36'
MAIN: 2025-03-17 14:36:06,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:36:37,296 - INFO - taking picture
MAIN: 2025-03-17 14:36:37,297 - INFO - we take 973 photos in this while loop
MAIN: 2025-03-17 14:36:37,297 - INFO - /home/pi/Desktop/images/17032025/14/36/image_17032025_14_36_36_30930.jpg
MAIN: 2025-03-17 14:36:37,297 - INFO - duration: 0.6858082289982121
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-03-17 14:37:06,060 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:37:06,949 - INFO - taking picture
MAIN: 2025-03-17 14:37:06,950 - INFO - we take 974 photos in this while loop
MAIN: 2025-03-17 14:37:06,950 - INFO - /home/pi/Desktop/images/17032025/14/36/image_17032025_14_37_06_29703.jpg
MAIN: 2025-03-17 14:37:06,950 - INFO - duration: 0.6352829160023248
MAIN: 2025-03-17 14:37:06,951 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/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=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-03-17 14:37:36,485 - INFO - taking picture
MAIN: 2025-03-17 14:37:36,485 - INFO - we take 975 photos in this while loop
MAIN: 2025-03-17 14:37:36,485 - INFO - /home/pi/Desktop/images/17032025/14/37/image_17032025_14_37_36_29473.jpg
MAIN: 2025-03-17 14:37:36,485 - INFO - duration: 0.697124687001633
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 14:38: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 ! 
MAIN: 2025-03-17 14:38:06,669 - INFO - taking picture
MAIN: 2025-03-17 14:38:06,670 - INFO - we take 976 photos in this while loop
MAIN: 2025-03-17 14:38:06,670 - INFO - /home/pi/Desktop/images/17032025/14/37/image_17032025_14_38_06_30190.jpg
MAIN: 2025-03-17 14:38:06,670 - INFO - duration: 0.6915431759989588
MAIN: 2025-03-17 14:38:06,671 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/38'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:38:37,534 - INFO - taking picture
MAIN: 2025-03-17 14:38:37,534 - INFO - we take 977 photos in this while loop
MAIN: 2025-03-17 14:38:37,535 - INFO - /home/pi/Desktop/images/17032025/14/38/image_17032025_14_38_37_30850.jpg
MAIN: 2025-03-17 14:38:37,535 - INFO - duration: 0.7058098950001295
Corrupt JPEG data: premature end of data segment
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-03-17 14:39: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=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-03-17 14:39:07,460 - INFO - taking picture
MAIN: 2025-03-17 14:39:07,460 - INFO - we take 978 photos in this while loop
MAIN: 2025-03-17 14:39:07,461 - INFO - /home/pi/Desktop/images/17032025/14/38/image_17032025_14_39_07_29951.jpg
MAIN: 2025-03-17 14:39:07,461 - INFO - duration: 0.6802604680051445
MAIN: 2025-03-17 14:39:07,461 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:39:36,924 - INFO - taking picture
MAIN: 2025-03-17 14:39:36,925 - INFO - we take 979 photos in this while loop
MAIN: 2025-03-17 14:39:36,925 - INFO - /home/pi/Desktop/images/17032025/14/39/image_17032025_14_39_36_29466.jpg
MAIN: 2025-03-17 14:39:36,925 - INFO - duration: 0.6775409370020498
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-03-17 14:40:07,234 - INFO - taking picture
MAIN: 2025-03-17 14:40:07,235 - INFO - we take 980 photos in this while loop
MAIN: 2025-03-17 14:40:07,235 - INFO - /home/pi/Desktop/images/17032025/14/39/image_17032025_14_40_06_30319.jpg
MAIN: 2025-03-17 14:40:07,235 - INFO - duration: 0.6682692190006492
MAIN: 2025-03-17 14:40:07,236 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/40'
MAIN: 2025-03-17 14:40:07,454 - INFO - 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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:40:36,700 - INFO - taking picture
MAIN: 2025-03-17 14:40:36,701 - INFO - we take 981 photos in this while loop
MAIN: 2025-03-17 14:40:36,701 - INFO - /home/pi/Desktop/images/17032025/14/40/image_17032025_14_40_36_29432.jpg
MAIN: 2025-03-17 14:40:36,701 - INFO - duration: 0.7012299990019528
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-03-17 14:41: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=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-03-17 14:41:06,612 - INFO - taking picture
MAIN: 2025-03-17 14:41:06,612 - INFO - we take 982 photos in this while loop
MAIN: 2025-03-17 14:41:06,612 - INFO - /home/pi/Desktop/images/17032025/14/40/image_17032025_14_41_06_29976.jpg
MAIN: 2025-03-17 14:41:06,613 - INFO - duration: 0.6359919780006749
MAIN: 2025-03-17 14:41:06,613 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:41:37,490 - INFO - taking picture
MAIN: 2025-03-17 14:41:37,490 - INFO - we take 983 photos in this while loop
MAIN: 2025-03-17 14:41:37,491 - INFO - /home/pi/Desktop/images/17032025/14/41/image_17032025_14_41_37_30816.jpg
MAIN: 2025-03-17 14:41:37,491 - INFO - duration: 0.6972165620027226
[ WARN:0] global /tmp/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-03-17 14:42:06,485 - INFO - taking picture
MAIN: 2025-03-17 14:42:06,485 - INFO - we take 984 photos in this while loop
MAIN: 2025-03-17 14:42:06,486 - INFO - /home/pi/Desktop/images/17032025/14/41/image_17032025_14_42_06_29019.jpg
MAIN: 2025-03-17 14:42:06,486 - INFO - duration: 0.6727417189977132
MAIN: 2025-03-17 14:42:06,486 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/42'
MAIN: 2025-03-17 14:42:06,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:42:37,396 - INFO - taking picture
MAIN: 2025-03-17 14:42:37,396 - INFO - we take 985 photos in this while loop
MAIN: 2025-03-17 14:42:37,396 - INFO - /home/pi/Desktop/images/17032025/14/42/image_17032025_14_42_37_30894.jpg
MAIN: 2025-03-17 14:42:37,397 - INFO - duration: 0.6894395309936954
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 14:43:06,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=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-03-17 14:43:07,302 - INFO - taking picture
MAIN: 2025-03-17 14:43:07,303 - INFO - we take 986 photos in this while loop
MAIN: 2025-03-17 14:43:07,303 - INFO - /home/pi/Desktop/images/17032025/14/42/image_17032025_14_43_06_29955.jpg
MAIN: 2025-03-17 14:43:07,303 - INFO - duration: 0.640843800996663
MAIN: 2025-03-17 14:43:07,304 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:43:36,804 - INFO - taking picture
MAIN: 2025-03-17 14:43:36,805 - INFO - we take 987 photos in this while loop
MAIN: 2025-03-17 14:43:36,805 - INFO - /home/pi/Desktop/images/17032025/14/43/image_17032025_14_43_36_29477.jpg
MAIN: 2025-03-17 14:43:36,805 - INFO - duration: 0.6657305200060364
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 14:44:06,882 - INFO - taking picture
MAIN: 2025-03-17 14:44:06,882 - INFO - we take 988 photos in this while loop
MAIN: 2025-03-17 14:44:06,882 - INFO - /home/pi/Desktop/images/17032025/14/43/image_17032025_14_44_06_30080.jpg
MAIN: 2025-03-17 14:44:06,883 - INFO - duration: 0.6624979679982061
MAIN: 2025-03-17 14:44:06,883 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/44'
MAIN: 2025-03-17 14:44:06,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:44:36,471 - INFO - taking picture
MAIN: 2025-03-17 14:44:36,471 - INFO - we take 989 photos in this while loop
MAIN: 2025-03-17 14:44:36,472 - INFO - /home/pi/Desktop/images/17032025/14/44/image_17032025_14_44_36_29556.jpg
MAIN: 2025-03-17 14:44:36,472 - INFO - duration: 0.6950107290031156
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 14:45:06,461 - INFO - taking picture
MAIN: 2025-03-17 14:45:06,462 - INFO - we take 990 photos in this while loop
MAIN: 2025-03-17 14:45:06,462 - INFO - /home/pi/Desktop/images/17032025/14/44/image_17032025_14_45_06_29975.jpg
MAIN: 2025-03-17 14:45:06,463 - INFO - duration: 0.7099549999984447
MAIN: 2025-03-17 14:45:06,463 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/45'
MAIN: 2025-03-17 14:45:06,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:45:37,337 - INFO - taking picture
MAIN: 2025-03-17 14:45:37,337 - INFO - we take 991 photos in this while loop
MAIN: 2025-03-17 14:45:37,337 - INFO - /home/pi/Desktop/images/17032025/14/45/image_17032025_14_45_36_30888.jpg
MAIN: 2025-03-17 14:45:37,338 - INFO - duration: 0.6962328640001942
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 14:46: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:46:07,499 - INFO - taking picture
MAIN: 2025-03-17 14:46:07,500 - INFO - we take 992 photos in this while loop
MAIN: 2025-03-17 14:46:07,500 - INFO - /home/pi/Desktop/images/17032025/14/45/image_17032025_14_46_07_30163.jpg
MAIN: 2025-03-17 14:46:07,500 - INFO - duration: 0.6951541140006157
MAIN: 2025-03-17 14:46:07,501 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:46:37,150 - INFO - taking picture
MAIN: 2025-03-17 14:46:37,151 - INFO - we take 993 photos in this while loop
MAIN: 2025-03-17 14:46:37,151 - INFO - /home/pi/Desktop/images/17032025/14/46/image_17032025_14_46_36_29646.jpg
MAIN: 2025-03-17 14:46:37,151 - INFO - duration: 0.6998826039998676
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 14:47:05,792 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:47:06,848 - INFO - taking picture
MAIN: 2025-03-17 14:47:06,849 - INFO - we take 994 photos in this while loop
MAIN: 2025-03-17 14:47:06,849 - INFO - /home/pi/Desktop/images/17032025/14/46/image_17032025_14_47_06_29756.jpg
MAIN: 2025-03-17 14:47:06,849 - INFO - duration: 0.6411439590010559
MAIN: 2025-03-17 14:47:06,849 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:47:36,526 - INFO - taking picture
MAIN: 2025-03-17 14:47:36,527 - INFO - we take 995 photos in this while loop
MAIN: 2025-03-17 14:47:36,527 - INFO - /home/pi/Desktop/images/17032025/14/47/image_17032025_14_47_36_29631.jpg
MAIN: 2025-03-17 14:47:36,527 - INFO - duration: 0.6878017179988092
Corrupt JPEG data: premature end of data segment
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-03-17 14:48:06,217 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:48:06,649 - INFO - taking picture
MAIN: 2025-03-17 14:48:06,650 - INFO - we take 996 photos in this while loop
MAIN: 2025-03-17 14:48:06,650 - INFO - /home/pi/Desktop/images/17032025/14/47/image_17032025_14_48_06_30100.jpg
MAIN: 2025-03-17 14:48:06,651 - INFO - duration: 0.7110132290035835
MAIN: 2025-03-17 14:48:06,651 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:48:36,294 - INFO - taking picture
MAIN: 2025-03-17 14:48:36,295 - INFO - we take 997 photos in this while loop
MAIN: 2025-03-17 14:48:36,295 - INFO - /home/pi/Desktop/images/17032025/14/48/image_17032025_14_48_35_29673.jpg
MAIN: 2025-03-17 14:48:36,295 - INFO - duration: 0.6819768749992363
Corrupt JPEG data: premature end of data segment
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-03-17 14:49: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 ! 
MAIN: 2025-03-17 14:49:06,410 - INFO - taking picture
MAIN: 2025-03-17 14:49:06,411 - INFO - we take 998 photos in this while loop
MAIN: 2025-03-17 14:49:06,411 - INFO - /home/pi/Desktop/images/17032025/14/48/image_17032025_14_49_06_30118.jpg
MAIN: 2025-03-17 14:49:06,411 - INFO - duration: 0.6803892179959803
MAIN: 2025-03-17 14:49:06,412 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/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=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-03-17 14:49:37,242 - INFO - taking picture
MAIN: 2025-03-17 14:49:37,243 - INFO - we take 999 photos in this while loop
MAIN: 2025-03-17 14:49:37,243 - INFO - /home/pi/Desktop/images/17032025/14/49/image_17032025_14_49_36_30818.jpg
MAIN: 2025-03-17 14:49:37,243 - INFO - duration: 0.6935205209956621
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 14:50:06,934 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:50:07,425 - INFO - taking picture
MAIN: 2025-03-17 14:50:07,426 - INFO - we take 1000 photos in this while loop
MAIN: 2025-03-17 14:50:07,426 - INFO - /home/pi/Desktop/images/17032025/14/49/image_17032025_14_50_07_30176.jpg
MAIN: 2025-03-17 14:50:07,426 - INFO - duration: 0.7003334900000482
MAIN: 2025-03-17 14:50:07,427 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/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=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-03-17 14:50:36,890 - INFO - taking picture
MAIN: 2025-03-17 14:50:36,890 - INFO - we take 1001 photos in this while loop
MAIN: 2025-03-17 14:50:36,891 - INFO - /home/pi/Desktop/images/17032025/14/50/image_17032025_14_50_36_29469.jpg
MAIN: 2025-03-17 14:50:36,891 - INFO - duration: 0.6947222919989144
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 14:51:06,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=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-03-17 14:51:06,943 - INFO - taking picture
MAIN: 2025-03-17 14:51:06,943 - INFO - we take 1002 photos in this while loop
MAIN: 2025-03-17 14:51:06,943 - INFO - /home/pi/Desktop/images/17032025/14/50/image_17032025_14_51_06_30053.jpg
MAIN: 2025-03-17 14:51:06,943 - INFO - duration: 0.693948696993175
MAIN: 2025-03-17 14:51:06,944 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/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=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-03-17 14:51:36,508 - INFO - taking picture
MAIN: 2025-03-17 14:51:36,509 - INFO - we take 1003 photos in this while loop
MAIN: 2025-03-17 14:51:36,509 - INFO - /home/pi/Desktop/images/17032025/14/51/image_17032025_14_51_36_29565.jpg
MAIN: 2025-03-17 14:51:36,509 - INFO - duration: 0.6942919270004495
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 14:52: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-03-17 14:52:06,442 - INFO - taking picture
MAIN: 2025-03-17 14:52:06,443 - INFO - we take 1004 photos in this while loop
MAIN: 2025-03-17 14:52:06,443 - INFO - /home/pi/Desktop/images/17032025/14/51/image_17032025_14_52_06_29917.jpg
MAIN: 2025-03-17 14:52:06,443 - INFO - duration: 0.7101818230003119
MAIN: 2025-03-17 14:52:06,443 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/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=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-03-17 14:52:37,328 - INFO - taking picture
MAIN: 2025-03-17 14:52:37,329 - INFO - we take 1005 photos in this while loop
MAIN: 2025-03-17 14:52:37,329 - INFO - /home/pi/Desktop/images/17032025/14/52/image_17032025_14_52_36_30894.jpg
MAIN: 2025-03-17 14:52:37,329 - INFO - duration: 0.7017567190050613
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-03-17 14:53:05,741 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:53:07,379 - INFO - taking picture
MAIN: 2025-03-17 14:53:07,380 - INFO - we take 1006 photos in this while loop
MAIN: 2025-03-17 14:53:07,380 - INFO - /home/pi/Desktop/images/17032025/14/52/image_17032025_14_53_07_30059.jpg
MAIN: 2025-03-17 14:53:07,380 - INFO - duration: 0.693177499997546
MAIN: 2025-03-17 14:53:07,381 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:53:36,981 - INFO - taking picture
MAIN: 2025-03-17 14:53:36,982 - INFO - we take 1007 photos in this while loop
MAIN: 2025-03-17 14:53:36,982 - INFO - /home/pi/Desktop/images/17032025/14/53/image_17032025_14_53_36_29594.jpg
MAIN: 2025-03-17 14:53:36,982 - INFO - duration: 0.7002608330003568
Corrupt JPEG data: premature end of data segment
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-03-17 14:54: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=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-03-17 14:54:06,948 - INFO - taking picture
MAIN: 2025-03-17 14:54:06,949 - INFO - we take 1008 photos in this while loop
MAIN: 2025-03-17 14:54:06,949 - INFO - /home/pi/Desktop/images/17032025/14/53/image_17032025_14_54_06_30033.jpg
MAIN: 2025-03-17 14:54:06,949 - INFO - duration: 0.6342337500027497
MAIN: 2025-03-17 14:54:06,950 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/54'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:54:36,567 - INFO - taking picture
MAIN: 2025-03-17 14:54:36,568 - INFO - we take 1009 photos in this while loop
MAIN: 2025-03-17 14:54:36,568 - INFO - /home/pi/Desktop/images/17032025/14/54/image_17032025_14_54_36_29548.jpg
MAIN: 2025-03-17 14:54:36,568 - INFO - duration: 0.7040505719996872
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-03-17 14:55:06,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 ! 
MAIN: 2025-03-17 14:55:06,805 - INFO - taking picture
MAIN: 2025-03-17 14:55:06,806 - INFO - we take 1010 photos in this while loop
MAIN: 2025-03-17 14:55:06,807 - INFO - /home/pi/Desktop/images/17032025/14/54/image_17032025_14_55_06_30249.jpg
MAIN: 2025-03-17 14:55:06,807 - INFO - duration: 0.6940840109964483
MAIN: 2025-03-17 14:55:06,808 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:55:36,402 - INFO - taking picture
MAIN: 2025-03-17 14:55:36,402 - INFO - we take 1011 photos in this while loop
MAIN: 2025-03-17 14:55:36,403 - INFO - /home/pi/Desktop/images/17032025/14/55/image_17032025_14_55_36_29592.jpg
MAIN: 2025-03-17 14:55:36,403 - INFO - duration: 0.6974278119960218
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-03-17 14:56:06,524 - INFO - taking picture
MAIN: 2025-03-17 14:56:06,524 - INFO - we take 1012 photos in this while loop
MAIN: 2025-03-17 14:56:06,525 - INFO - /home/pi/Desktop/images/17032025/14/55/image_17032025_14_56_06_30144.jpg
MAIN: 2025-03-17 14:56:06,525 - INFO - duration: 0.6746683849996771
MAIN: 2025-03-17 14:56:06,525 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/56'
MAIN: 2025-03-17 14:56:06,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:56:37,346 - INFO - taking picture
MAIN: 2025-03-17 14:56:37,346 - INFO - we take 1013 photos in this while loop
MAIN: 2025-03-17 14:56:37,346 - INFO - /home/pi/Desktop/images/17032025/14/56/image_17032025_14_56_36_30799.jpg
MAIN: 2025-03-17 14:56:37,347 - INFO - duration: 0.697270260003279
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 14:57:06,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=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-03-17 14:57:07,252 - INFO - taking picture
MAIN: 2025-03-17 14:57:07,252 - INFO - we take 1014 photos in this while loop
MAIN: 2025-03-17 14:57:07,253 - INFO - /home/pi/Desktop/images/17032025/14/56/image_17032025_14_57_06_29967.jpg
MAIN: 2025-03-17 14:57:07,253 - INFO - duration: 0.6360505210031988
MAIN: 2025-03-17 14:57:07,253 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:57:36,756 - INFO - taking picture
MAIN: 2025-03-17 14:57:36,756 - INFO - we take 1015 photos in this while loop
MAIN: 2025-03-17 14:57:36,757 - INFO - /home/pi/Desktop/images/17032025/14/57/image_17032025_14_57_36_29464.jpg
MAIN: 2025-03-17 14:57:36,757 - INFO - duration: 0.6756957809993764
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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=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-03-17 14:58:06,923 - INFO - taking picture
MAIN: 2025-03-17 14:58:06,923 - INFO - we take 1016 photos in this while loop
MAIN: 2025-03-17 14:58:06,923 - INFO - /home/pi/Desktop/images/17032025/14/57/image_17032025_14_58_06_30175.jpg
MAIN: 2025-03-17 14:58:06,924 - INFO - duration: 0.6668003640006646
MAIN: 2025-03-17 14:58:06,924 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/58'
MAIN: 2025-03-17 14:58: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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:58:36,534 - INFO - taking picture
MAIN: 2025-03-17 14:58:36,535 - INFO - we take 1017 photos in this while loop
MAIN: 2025-03-17 14:58:36,535 - INFO - /home/pi/Desktop/images/17032025/14/58/image_17032025_14_58_36_29585.jpg
MAIN: 2025-03-17 14:58:36,535 - INFO - duration: 0.6927979680040153
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 14:59:05,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=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-03-17 14:59:06,455 - INFO - taking picture
MAIN: 2025-03-17 14:59:06,456 - INFO - we take 1018 photos in this while loop
MAIN: 2025-03-17 14:59:06,456 - INFO - /home/pi/Desktop/images/17032025/14/58/image_17032025_14_59_06_29966.jpg
MAIN: 2025-03-17 14:59:06,456 - INFO - duration: 0.6468447389997891
MAIN: 2025-03-17 14:59:06,457 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/14/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 14:59:37,313 - INFO - taking picture
MAIN: 2025-03-17 14:59:37,314 - INFO - we take 1019 photos in this while loop
MAIN: 2025-03-17 14:59:37,314 - INFO - /home/pi/Desktop/images/17032025/14/59/image_17032025_14_59_36_30814.jpg
MAIN: 2025-03-17 14:59:37,314 - INFO - duration: 0.6906001039969851
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:00:06,396 - INFO - taking picture
MAIN: 2025-03-17 15:00:06,397 - INFO - we take 1020 photos in this while loop
MAIN: 2025-03-17 15:00:06,397 - INFO - /home/pi/Desktop/images/17032025/14/59/image_17032025_15_00_05_28990.jpg
MAIN: 2025-03-17 15:00:06,397 - INFO - duration: 0.7829761460016016
MAIN: 2025-03-17 15:00:06,526 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/00'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 15:00:07,560 - INFO - 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=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-03-17 15:00:37,095 - INFO - taking picture
MAIN: 2025-03-17 15:00:37,096 - INFO - we take 1021 photos in this while loop
MAIN: 2025-03-17 15:00:37,096 - INFO - /home/pi/Desktop/images/17032025/15/00/image_17032025_15_00_36_30791.jpg
MAIN: 2025-03-17 15:00:37,096 - INFO - duration: 0.6900629160008975
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-03-17 15:01: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=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-03-17 15:01:07,289 - INFO - taking picture
MAIN: 2025-03-17 15:01:07,290 - INFO - we take 1022 photos in this while loop
MAIN: 2025-03-17 15:01:07,290 - INFO - /home/pi/Desktop/images/17032025/15/00/image_17032025_15_01_06_30188.jpg
MAIN: 2025-03-17 15:01:07,290 - INFO - duration: 0.6951719790013158
MAIN: 2025-03-17 15:01:07,290 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:01:36,939 - INFO - taking picture
MAIN: 2025-03-17 15:01:36,940 - INFO - we take 1023 photos in this while loop
MAIN: 2025-03-17 15:01:36,940 - INFO - /home/pi/Desktop/images/17032025/15/01/image_17032025_15_01_36_29652.jpg
MAIN: 2025-03-17 15:01:36,940 - INFO - duration: 0.692743594001513
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 15:02:06,205 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:02:06,965 - INFO - taking picture
MAIN: 2025-03-17 15:02:06,966 - INFO - we take 1024 photos in this while loop
MAIN: 2025-03-17 15:02:06,966 - INFO - /home/pi/Desktop/images/17032025/15/01/image_17032025_15_02_06_30071.jpg
MAIN: 2025-03-17 15:02:06,967 - INFO - duration: 0.6475292190007167
MAIN: 2025-03-17 15:02:06,967 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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=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-03-17 15:02:36,534 - INFO - taking picture
MAIN: 2025-03-17 15:02:36,535 - INFO - we take 1025 photos in this while loop
MAIN: 2025-03-17 15:02:36,535 - INFO - /home/pi/Desktop/images/17032025/15/02/image_17032025_15_02_36_29525.jpg
MAIN: 2025-03-17 15:02:36,535 - INFO - duration: 0.6909306250017835
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 15:03:05,925 - INFO - 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-03-17 15:03:06,553 - INFO - taking picture
MAIN: 2025-03-17 15:03:06,554 - INFO - we take 1026 photos in this while loop
MAIN: 2025-03-17 15:03:06,554 - INFO - /home/pi/Desktop/images/17032025/15/02/image_17032025_15_03_06_30027.jpg
MAIN: 2025-03-17 15:03:06,554 - INFO - duration: 0.6823813020018861
MAIN: 2025-03-17 15:03:06,555 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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=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-03-17 15:03:37,341 - INFO - taking picture
MAIN: 2025-03-17 15:03:37,342 - INFO - we take 1027 photos in this while loop
MAIN: 2025-03-17 15:03:37,342 - INFO - /home/pi/Desktop/images/17032025/15/03/image_17032025_15_03_36_30790.jpg
MAIN: 2025-03-17 15:03:37,342 - INFO - duration: 0.6796268219986814
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 15:04:06,502 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:04:07,237 - INFO - taking picture
MAIN: 2025-03-17 15:04:07,238 - INFO - we take 1028 photos in this while loop
MAIN: 2025-03-17 15:04:07,238 - INFO - /home/pi/Desktop/images/17032025/15/03/image_17032025_15_04_06_29939.jpg
MAIN: 2025-03-17 15:04:07,238 - INFO - duration: 0.6364783850003732
MAIN: 2025-03-17 15:04:07,239 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:04:36,785 - INFO - taking picture
MAIN: 2025-03-17 15:04:36,786 - INFO - we take 1029 photos in this while loop
MAIN: 2025-03-17 15:04:36,786 - INFO - /home/pi/Desktop/images/17032025/15/04/image_17032025_15_04_36_29496.jpg
MAIN: 2025-03-17 15:04:36,786 - INFO - duration: 0.6882555199990747
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 15:05: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-03-17 15:05:06,956 - INFO - taking picture
MAIN: 2025-03-17 15:05:06,957 - INFO - we take 1030 photos in this while loop
MAIN: 2025-03-17 15:05:06,958 - INFO - /home/pi/Desktop/images/17032025/15/04/image_17032025_15_05_06_30181.jpg
MAIN: 2025-03-17 15:05:06,958 - INFO - duration: 0.678295416997571
MAIN: 2025-03-17 15:05:06,959 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:05:36,377 - INFO - taking picture
MAIN: 2025-03-17 15:05:36,378 - INFO - we take 1031 photos in this while loop
MAIN: 2025-03-17 15:05:36,378 - INFO - /home/pi/Desktop/images/17032025/15/05/image_17032025_15_05_36_29412.jpg
MAIN: 2025-03-17 15:05:36,378 - INFO - duration: 0.6858949989982648
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 15:06:06,437 - INFO - taking picture
MAIN: 2025-03-17 15:06:06,438 - INFO - we take 1032 photos in this while loop
MAIN: 2025-03-17 15:06:06,438 - INFO - /home/pi/Desktop/images/17032025/15/05/image_17032025_15_06_06_30082.jpg
MAIN: 2025-03-17 15:06:06,438 - INFO - duration: 0.6632876040021074
MAIN: 2025-03-17 15:06:06,439 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/06'
MAIN: 2025-03-17 15:06:06,698 - INFO - 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=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-03-17 15:06:37,352 - INFO - taking picture
MAIN: 2025-03-17 15:06:37,353 - INFO - we take 1033 photos in this while loop
MAIN: 2025-03-17 15:06:37,353 - INFO - /home/pi/Desktop/images/17032025/15/06/image_17032025_15_06_36_30879.jpg
MAIN: 2025-03-17 15:06:37,353 - INFO - duration: 0.6988005209932453
Corrupt JPEG data: premature end of data segment
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-03-17 15:07: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=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-03-17 15:07:06,297 - INFO - taking picture
MAIN: 2025-03-17 15:07:06,298 - INFO - we take 1034 photos in this while loop
MAIN: 2025-03-17 15:07:06,298 - INFO - /home/pi/Desktop/images/17032025/15/06/image_17032025_15_07_05_28939.jpg
MAIN: 2025-03-17 15:07:06,298 - INFO - duration: 0.7042744790014694
MAIN: 2025-03-17 15:07:06,299 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/07'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:07:37,087 - INFO - taking picture
MAIN: 2025-03-17 15:07:37,088 - INFO - we take 1035 photos in this while loop
MAIN: 2025-03-17 15:07:37,088 - INFO - /home/pi/Desktop/images/17032025/15/07/image_17032025_15_07_36_30805.jpg
MAIN: 2025-03-17 15:07:37,088 - INFO - duration: 0.6890788540040376
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 15:08:06,305 - INFO - 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-03-17 15:08:06,947 - INFO - taking picture
MAIN: 2025-03-17 15:08:06,948 - INFO - we take 1036 photos in this while loop
MAIN: 2025-03-17 15:08:06,948 - INFO - /home/pi/Desktop/images/17032025/15/07/image_17032025_15_08_06_29864.jpg
MAIN: 2025-03-17 15:08:06,948 - INFO - duration: 0.684391353999672
MAIN: 2025-03-17 15:08:06,949 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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=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-03-17 15:08:36,524 - INFO - taking picture
MAIN: 2025-03-17 15:08:36,525 - INFO - we take 1037 photos in this while loop
MAIN: 2025-03-17 15:08:36,525 - INFO - /home/pi/Desktop/images/17032025/15/08/image_17032025_15_08_36_29568.jpg
MAIN: 2025-03-17 15:08:36,525 - INFO - duration: 0.6928378119991976
Corrupt JPEG data: premature end of data segment
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-03-17 15:09:06,162 - INFO - 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-03-17 15:09:06,518 - INFO - taking picture
MAIN: 2025-03-17 15:09:06,519 - INFO - we take 1038 photos in this while loop
MAIN: 2025-03-17 15:09:06,519 - INFO - /home/pi/Desktop/images/17032025/15/08/image_17032025_15_09_06_29988.jpg
MAIN: 2025-03-17 15:09:06,519 - INFO - duration: 0.698639321999508
MAIN: 2025-03-17 15:09:06,520 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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=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-03-17 15:09:37,315 - INFO - taking picture
MAIN: 2025-03-17 15:09:37,316 - INFO - we take 1039 photos in this while loop
MAIN: 2025-03-17 15:09:37,316 - INFO - /home/pi/Desktop/images/17032025/15/09/image_17032025_15_09_36_30806.jpg
MAIN: 2025-03-17 15:09:37,316 - INFO - duration: 0.6889367179974215
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:10:06,332 - INFO - taking picture
MAIN: 2025-03-17 15:10:06,333 - INFO - we take 1040 photos in this while loop
MAIN: 2025-03-17 15:10:06,333 - INFO - /home/pi/Desktop/images/17032025/15/09/image_17032025_15_10_05_28982.jpg
MAIN: 2025-03-17 15:10:06,333 - INFO - duration: 0.7234980209977948
MAIN: 2025-03-17 15:10:06,334 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/10'
MAIN: 2025-03-17 15:10:07,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:10:36,984 - INFO - taking picture
MAIN: 2025-03-17 15:10:36,984 - INFO - we take 1041 photos in this while loop
MAIN: 2025-03-17 15:10:36,984 - INFO - /home/pi/Desktop/images/17032025/15/10/image_17032025_15_10_36_30697.jpg
MAIN: 2025-03-17 15:10:36,985 - INFO - duration: 0.6779023429990048
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 15:11: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:11:06,991 - INFO - taking picture
MAIN: 2025-03-17 15:11:06,992 - INFO - we take 1042 photos in this while loop
MAIN: 2025-03-17 15:11:06,992 - INFO - /home/pi/Desktop/images/17032025/15/10/image_17032025_15_11_06_29971.jpg
MAIN: 2025-03-17 15:11:06,992 - INFO - duration: 0.7137493749978603
MAIN: 2025-03-17 15:11:06,993 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:11:36,447 - INFO - taking picture
MAIN: 2025-03-17 15:11:36,447 - INFO - we take 1043 photos in this while loop
MAIN: 2025-03-17 15:11:36,448 - INFO - /home/pi/Desktop/images/17032025/15/11/image_17032025_15_11_36_29480.jpg
MAIN: 2025-03-17 15:11:36,448 - INFO - duration: 0.6891057290049503
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-03-17 15:12:06,461 - INFO - taking picture
MAIN: 2025-03-17 15:12:06,461 - INFO - we take 1044 photos in this while loop
MAIN: 2025-03-17 15:12:06,461 - INFO - /home/pi/Desktop/images/17032025/15/11/image_17032025_15_12_06_30027.jpg
MAIN: 2025-03-17 15:12:06,462 - INFO - duration: 0.674855363999086
MAIN: 2025-03-17 15:12:06,462 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/12'
MAIN: 2025-03-17 15:12:06,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:12:37,322 - INFO - taking picture
MAIN: 2025-03-17 15:12:37,323 - INFO - we take 1045 photos in this while loop
MAIN: 2025-03-17 15:12:37,323 - INFO - /home/pi/Desktop/images/17032025/15/12/image_17032025_15_12_36_30843.jpg
MAIN: 2025-03-17 15:12:37,323 - INFO - duration: 0.6928113530011615
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 15:13:05,993 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:13:07,395 - INFO - taking picture
MAIN: 2025-03-17 15:13:07,395 - INFO - we take 1046 photos in this while loop
MAIN: 2025-03-17 15:13:07,396 - INFO - /home/pi/Desktop/images/17032025/15/12/image_17032025_15_13_07_30074.jpg
MAIN: 2025-03-17 15:13:07,396 - INFO - duration: 0.6903460419998737
MAIN: 2025-03-17 15:13:07,396 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:13:37,049 - INFO - taking picture
MAIN: 2025-03-17 15:13:37,050 - INFO - we take 1047 photos in this while loop
MAIN: 2025-03-17 15:13:37,050 - INFO - /home/pi/Desktop/images/17032025/15/13/image_17032025_15_13_36_29668.jpg
MAIN: 2025-03-17 15:13:37,050 - INFO - duration: 0.676256563005154
Corrupt JPEG data: premature end of data segment
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-03-17 15:14:06,205 - INFO - 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-03-17 15:14:07,017 - INFO - taking picture
MAIN: 2025-03-17 15:14:07,018 - INFO - we take 1048 photos in this while loop
MAIN: 2025-03-17 15:14:07,018 - INFO - /home/pi/Desktop/images/17032025/15/13/image_17032025_15_14_06_30000.jpg
MAIN: 2025-03-17 15:14:07,018 - INFO - duration: 0.6432439060008619
MAIN: 2025-03-17 15:14:07,018 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:14:36,691 - INFO - taking picture
MAIN: 2025-03-17 15:14:36,691 - INFO - we take 1049 photos in this while loop
MAIN: 2025-03-17 15:14:36,691 - INFO - /home/pi/Desktop/images/17032025/15/14/image_17032025_15_14_36_29622.jpg
MAIN: 2025-03-17 15:14:36,692 - INFO - duration: 0.6938965630033636
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-03-17 15:15:06,764 - INFO - 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-03-17 15:15:06,837 - INFO - taking picture
MAIN: 2025-03-17 15:15:06,838 - INFO - we take 1050 photos in this while loop
MAIN: 2025-03-17 15:15:06,838 - INFO - /home/pi/Desktop/images/17032025/15/14/image_17032025_15_15_06_30160.jpg
MAIN: 2025-03-17 15:15:06,839 - INFO - duration: 0.6807080720027443
MAIN: 2025-03-17 15:15:06,839 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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=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-03-17 15:15:36,294 - INFO - taking picture
MAIN: 2025-03-17 15:15:36,294 - INFO - we take 1051 photos in this while loop
MAIN: 2025-03-17 15:15:36,295 - INFO - /home/pi/Desktop/images/17032025/15/15/image_17032025_15_15_35_29456.jpg
MAIN: 2025-03-17 15:15:36,295 - INFO - duration: 0.6810039060001145
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-03-17 15:16:06,505 - INFO - 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-03-17 15:16:06,509 - INFO - taking picture
MAIN: 2025-03-17 15:16:06,510 - INFO - we take 1052 photos in this while loop
MAIN: 2025-03-17 15:16:06,511 - INFO - /home/pi/Desktop/images/17032025/15/15/image_17032025_15_16_06_30208.jpg
MAIN: 2025-03-17 15:16:06,511 - INFO - duration: 0.6882171350007411
MAIN: 2025-03-17 15:16:06,511 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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=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-03-17 15:16:37,347 - INFO - taking picture
MAIN: 2025-03-17 15:16:37,348 - INFO - we take 1053 photos in this while loop
MAIN: 2025-03-17 15:16:37,348 - INFO - /home/pi/Desktop/images/17032025/15/16/image_17032025_15_16_36_30831.jpg
MAIN: 2025-03-17 15:16:37,348 - INFO - duration: 0.6938565620002919
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 15:17: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:17:07,127 - INFO - taking picture
MAIN: 2025-03-17 15:17:07,127 - INFO - we take 1054 photos in this while loop
MAIN: 2025-03-17 15:17:07,127 - INFO - /home/pi/Desktop/images/17032025/15/16/image_17032025_15_17_06_29803.jpg
MAIN: 2025-03-17 15:17:07,128 - INFO - duration: 0.6697286979979253
MAIN: 2025-03-17 15:17:07,128 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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=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-03-17 15:17:36,757 - INFO - taking picture
MAIN: 2025-03-17 15:17:36,758 - INFO - we take 1055 photos in this while loop
MAIN: 2025-03-17 15:17:36,758 - INFO - /home/pi/Desktop/images/17032025/15/17/image_17032025_15_17_36_29630.jpg
MAIN: 2025-03-17 15:17:36,758 - INFO - duration: 0.6700576559960609
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 15:18: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-03-17 15:18:06,984 - INFO - taking picture
MAIN: 2025-03-17 15:18:06,985 - INFO - we take 1056 photos in this while loop
MAIN: 2025-03-17 15:18:06,985 - INFO - /home/pi/Desktop/images/17032025/15/17/image_17032025_15_18_06_30208.jpg
MAIN: 2025-03-17 15:18:06,985 - INFO - duration: 0.6894770830040216
MAIN: 2025-03-17 15:18:06,986 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:18:36,626 - INFO - taking picture
MAIN: 2025-03-17 15:18:36,627 - INFO - we take 1057 photos in this while loop
MAIN: 2025-03-17 15:18:36,627 - INFO - /home/pi/Desktop/images/17032025/15/18/image_17032025_15_18_36_29644.jpg
MAIN: 2025-03-17 15:18:36,627 - INFO - duration: 0.687186406001274
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-03-17 15:19:05,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=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-03-17 15:19:06,627 - INFO - taking picture
MAIN: 2025-03-17 15:19:06,628 - INFO - we take 1058 photos in this while loop
MAIN: 2025-03-17 15:19:06,628 - INFO - /home/pi/Desktop/images/17032025/15/18/image_17032025_15_19_05_29791.jpg
MAIN: 2025-03-17 15:19:06,628 - INFO - duration: 0.8960005729968543
MAIN: 2025-03-17 15:19:06,629 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:19:37,424 - INFO - taking picture
MAIN: 2025-03-17 15:19:37,424 - INFO - we take 1059 photos in this while loop
MAIN: 2025-03-17 15:19:37,425 - INFO - /home/pi/Desktop/images/17032025/15/19/image_17032025_15_19_37_30999.jpg
MAIN: 2025-03-17 15:19:37,425 - INFO - duration: 0.6935748950054403
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-03-17 15:20:06,522 - INFO - taking picture
MAIN: 2025-03-17 15:20:06,523 - INFO - we take 1060 photos in this while loop
MAIN: 2025-03-17 15:20:06,523 - INFO - /home/pi/Desktop/images/17032025/15/19/image_17032025_15_20_06_29109.jpg
MAIN: 2025-03-17 15:20:06,523 - INFO - duration: 0.6831220829990343
MAIN: 2025-03-17 15:20:06,524 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/20'
MAIN: 2025-03-17 15:20:06,656 - INFO - 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=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-03-17 15:20:37,338 - INFO - taking picture
MAIN: 2025-03-17 15:20:37,339 - INFO - we take 1061 photos in this while loop
MAIN: 2025-03-17 15:20:37,339 - INFO - /home/pi/Desktop/images/17032025/15/20/image_17032025_15_20_36_30804.jpg
MAIN: 2025-03-17 15:20:37,339 - INFO - duration: 0.6939235930040013
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 15:21: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=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-03-17 15:21:07,147 - INFO - taking picture
MAIN: 2025-03-17 15:21:07,147 - INFO - we take 1062 photos in this while loop
MAIN: 2025-03-17 15:21:07,147 - INFO - /home/pi/Desktop/images/17032025/15/20/image_17032025_15_21_06_29863.jpg
MAIN: 2025-03-17 15:21:07,147 - INFO - duration: 0.639007917001436
MAIN: 2025-03-17 15:21:07,148 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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-03-17 15:21:36,744 - INFO - taking picture
MAIN: 2025-03-17 15:21:36,744 - INFO - we take 1063 photos in this while loop
MAIN: 2025-03-17 15:21:36,745 - INFO - /home/pi/Desktop/images/17032025/15/21/image_17032025_15_21_36_29533.jpg
MAIN: 2025-03-17 15:21:36,745 - INFO - duration: 0.7029585409982246
Corrupt JPEG data: premature end of data segment
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-03-17 15:22:06,857 - INFO - 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-03-17 15:22:07,041 - INFO - taking picture
MAIN: 2025-03-17 15:22:07,041 - INFO - we take 1064 photos in this while loop
MAIN: 2025-03-17 15:22:07,041 - INFO - /home/pi/Desktop/images/17032025/15/21/image_17032025_15_22_06_30297.jpg
MAIN: 2025-03-17 15:22:07,042 - INFO - duration: 0.7026529159993515
MAIN: 2025-03-17 15:22:07,042 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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=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-03-17 15:22:36,624 - INFO - taking picture
MAIN: 2025-03-17 15:22:36,625 - INFO - we take 1065 photos in this while loop
MAIN: 2025-03-17 15:22:36,625 - INFO - /home/pi/Desktop/images/17032025/15/22/image_17032025_15_22_36_29594.jpg
MAIN: 2025-03-17 15:22:36,625 - INFO - duration: 0.6918226560010226
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-03-17 15:23:05,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=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-03-17 15:23:06,483 - INFO - taking picture
MAIN: 2025-03-17 15:23:06,484 - INFO - we take 1066 photos in this while loop
MAIN: 2025-03-17 15:23:06,484 - INFO - /home/pi/Desktop/images/17032025/15/22/image_17032025_15_23_06_29901.jpg
MAIN: 2025-03-17 15:23:06,484 - INFO - duration: 0.6495307809964288
MAIN: 2025-03-17 15:23:06,485 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:23:37,276 - INFO - taking picture
MAIN: 2025-03-17 15:23:37,276 - INFO - we take 1067 photos in this while loop
MAIN: 2025-03-17 15:23:37,276 - INFO - /home/pi/Desktop/images/17032025/15/23/image_17032025_15_23_36_30752.jpg
MAIN: 2025-03-17 15:23:37,277 - INFO - duration: 0.6889325510055642
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-03-17 15:24: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 ! 
MAIN: 2025-03-17 15:24:06,289 - INFO - taking picture
MAIN: 2025-03-17 15:24:06,290 - INFO - we take 1068 photos in this while loop
MAIN: 2025-03-17 15:24:06,290 - INFO - /home/pi/Desktop/images/17032025/15/23/image_17032025_15_24_05_29045.jpg
MAIN: 2025-03-17 15:24:06,291 - INFO - duration: 0.65725593699608
MAIN: 2025-03-17 15:24:06,291 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:24:37,161 - INFO - taking picture
MAIN: 2025-03-17 15:24:37,162 - INFO - we take 1069 photos in this while loop
MAIN: 2025-03-17 15:24:37,162 - INFO - /home/pi/Desktop/images/17032025/15/24/image_17032025_15_24_36_30828.jpg
MAIN: 2025-03-17 15:24:37,162 - INFO - duration: 0.7001331759965979
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-03-17 15: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=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-03-17 15:25:07,392 - INFO - taking picture
MAIN: 2025-03-17 15:25:07,392 - INFO - we take 1070 photos in this while loop
MAIN: 2025-03-17 15:25:07,393 - INFO - /home/pi/Desktop/images/17032025/15/24/image_17032025_15_25_06_30237.jpg
MAIN: 2025-03-17 15:25:07,393 - INFO - duration: 0.6931868739993661
MAIN: 2025-03-17 15:25:07,393 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:25:36,968 - INFO - taking picture
MAIN: 2025-03-17 15:25:36,968 - INFO - we take 1071 photos in this while loop
MAIN: 2025-03-17 15:25:36,968 - INFO - /home/pi/Desktop/images/17032025/15/25/image_17032025_15_25_36_29575.jpg
MAIN: 2025-03-17 15:25:36,969 - INFO - duration: 0.6936981250037206
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-03-17 15:26:06,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 ! 
MAIN: 2025-03-17 15:26:07,082 - INFO - taking picture
MAIN: 2025-03-17 15:26:07,083 - INFO - we take 1072 photos in this while loop
MAIN: 2025-03-17 15:26:07,084 - INFO - /home/pi/Desktop/images/17032025/15/25/image_17032025_15_26_06_30119.jpg
MAIN: 2025-03-17 15:26:07,084 - INFO - duration: 0.6891502600046806
MAIN: 2025-03-17 15:26:07,084 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:26:36,615 - INFO - taking picture
MAIN: 2025-03-17 15:26:36,615 - INFO - we take 1073 photos in this while loop
MAIN: 2025-03-17 15:26:36,616 - INFO - /home/pi/Desktop/images/17032025/15/26/image_17032025_15_26_36_29523.jpg
MAIN: 2025-03-17 15:26:36,616 - INFO - duration: 0.697883748995082
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 15:27:05,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:27:06,505 - INFO - taking picture
MAIN: 2025-03-17 15:27:06,506 - INFO - we take 1074 photos in this while loop
MAIN: 2025-03-17 15:27:06,506 - INFO - /home/pi/Desktop/images/17032025/15/26/image_17032025_15_27_06_29946.jpg
MAIN: 2025-03-17 15:27:06,506 - INFO - duration: 0.6421219270050642
MAIN: 2025-03-17 15:27:06,507 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 15:27:37,391 - INFO - taking picture
MAIN: 2025-03-17 15:27:37,392 - INFO - we take 1075 photos in this while loop
MAIN: 2025-03-17 15:27:37,392 - INFO - /home/pi/Desktop/images/17032025/15/27/image_17032025_15_27_36_30849.jpg
MAIN: 2025-03-17 15:27:37,392 - INFO - duration: 0.6785213020048104
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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=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-03-17 15:28: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 ! 
MAIN: 2025-03-17 15:28:06,331 - INFO - taking picture
MAIN: 2025-03-17 15:28:06,332 - INFO - we take 1076 photos in this while loop
MAIN: 2025-03-17 15:28:06,332 - INFO - /home/pi/Desktop/images/17032025/15/27/image_17032025_15_28_05_28962.jpg
MAIN: 2025-03-17 15:28:06,332 - INFO - duration: 0.6564011459995527
MAIN: 2025-03-17 15:28:06,333 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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=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-03-17 15:28:37,124 - INFO - taking picture
MAIN: 2025-03-17 15:28:37,125 - INFO - we take 1077 photos in this while loop
MAIN: 2025-03-17 15:28:37,125 - INFO - /home/pi/Desktop/images/17032025/15/28/image_17032025_15_28_36_30774.jpg
MAIN: 2025-03-17 15:28:37,125 - INFO - duration: 0.675136666999606
Corrupt JPEG data: premature end of data segment
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-03-17 15:29:05,641 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:29:06,966 - INFO - taking picture
MAIN: 2025-03-17 15:29:06,967 - INFO - we take 1078 photos in this while loop
MAIN: 2025-03-17 15:29:06,967 - INFO - /home/pi/Desktop/images/17032025/15/28/image_17032025_15_29_06_29841.jpg
MAIN: 2025-03-17 15:29:06,967 - INFO - duration: 0.6755276039984892
MAIN: 2025-03-17 15:29:06,968 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:29:36,575 - INFO - taking picture
MAIN: 2025-03-17 15:29:36,576 - INFO - we take 1079 photos in this while loop
MAIN: 2025-03-17 15:29:36,576 - INFO - /home/pi/Desktop/images/17032025/15/29/image_17032025_15_29_36_29615.jpg
MAIN: 2025-03-17 15:29:36,576 - INFO - duration: 0.6688233330060029
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 15:30:06,921 - INFO - 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-03-17 15:30:06,991 - INFO - taking picture
MAIN: 2025-03-17 15:30:06,992 - INFO - we take 1080 photos in this while loop
MAIN: 2025-03-17 15:30:06,993 - INFO - /home/pi/Desktop/images/17032025/15/29/image_17032025_15_30_06_30411.jpg
MAIN: 2025-03-17 15:30:06,994 - INFO - duration: 0.6753159889995004
MAIN: 2025-03-17 15:30:06,995 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:30:36,416 - INFO - taking picture
MAIN: 2025-03-17 15:30:36,416 - INFO - we take 1081 photos in this while loop
MAIN: 2025-03-17 15:30:36,416 - INFO - /home/pi/Desktop/images/17032025/15/30/image_17032025_15_30_36_29430.jpg
MAIN: 2025-03-17 15:30:36,417 - INFO - duration: 0.6678636450014892
Corrupt JPEG data: premature end of data segment
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-03-17 15:31:06,215 - INFO - taking picture
MAIN: 2025-03-17 15:31:06,216 - INFO - we take 1082 photos in this while loop
MAIN: 2025-03-17 15:31:06,216 - INFO - /home/pi/Desktop/images/17032025/15/30/image_17032025_15_31_05_29835.jpg
MAIN: 2025-03-17 15:31:06,216 - INFO - duration: 0.6320773429979454
MAIN: 2025-03-17 15:31:06,217 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/31'
MAIN: 2025-03-17 15:31:06,354 - INFO - 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=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-03-17 15:31:37,042 - INFO - taking picture
MAIN: 2025-03-17 15:31:37,043 - INFO - we take 1083 photos in this while loop
MAIN: 2025-03-17 15:31:37,043 - INFO - /home/pi/Desktop/images/17032025/15/31/image_17032025_15_31_36_30780.jpg
MAIN: 2025-03-17 15:31:37,043 - INFO - duration: 0.6785755200035055
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-03-17 15:32:06,813 - INFO - 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-03-17 15:32:07,189 - INFO - taking picture
MAIN: 2025-03-17 15:32:07,190 - INFO - we take 1084 photos in this while loop
MAIN: 2025-03-17 15:32:07,190 - INFO - /home/pi/Desktop/images/17032025/15/31/image_17032025_15_32_06_30119.jpg
MAIN: 2025-03-17 15:32:07,190 - INFO - duration: 0.7060263539970038
MAIN: 2025-03-17 15:32:07,191 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 15:32:36,844 - INFO - taking picture
MAIN: 2025-03-17 15:32:36,845 - INFO - we take 1085 photos in this while loop
MAIN: 2025-03-17 15:32:36,845 - INFO - /home/pi/Desktop/images/17032025/15/32/image_17032025_15_32_36_29662.jpg
MAIN: 2025-03-17 15:32:36,845 - INFO - duration: 0.6981741669951589
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 15:33:05,609 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:33:06,711 - INFO - taking picture
MAIN: 2025-03-17 15:33:06,711 - INFO - we take 1086 photos in this while loop
MAIN: 2025-03-17 15:33:06,712 - INFO - /home/pi/Desktop/images/17032025/15/32/image_17032025_15_33_06_29931.jpg
MAIN: 2025-03-17 15:33:06,712 - INFO - duration: 0.6332063020017813
MAIN: 2025-03-17 15:33:06,712 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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=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-03-17 15:33:36,301 - INFO - taking picture
MAIN: 2025-03-17 15:33:36,301 - INFO - we take 1087 photos in this while loop
MAIN: 2025-03-17 15:33:36,301 - INFO - /home/pi/Desktop/images/17032025/15/33/image_17032025_15_33_35_29531.jpg
MAIN: 2025-03-17 15:33:36,302 - INFO - duration: 0.6911035939992871
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 15:34: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 ! 
MAIN: 2025-03-17 15:34:06,517 - INFO - taking picture
MAIN: 2025-03-17 15:34:06,517 - INFO - we take 1088 photos in this while loop
MAIN: 2025-03-17 15:34:06,518 - INFO - /home/pi/Desktop/images/17032025/15/33/image_17032025_15_34_06_30222.jpg
MAIN: 2025-03-17 15:34:06,518 - INFO - duration: 0.6854267180024181
MAIN: 2025-03-17 15:34:06,518 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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=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-03-17 15:34:37,247 - INFO - taking picture
MAIN: 2025-03-17 15:34:37,248 - INFO - we take 1089 photos in this while loop
MAIN: 2025-03-17 15:34:37,248 - INFO - /home/pi/Desktop/images/17032025/15/34/image_17032025_15_34_36_30775.jpg
MAIN: 2025-03-17 15:34:37,248 - INFO - duration: 0.6399925000005169
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 15:35:06,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=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-03-17 15:35:07,355 - INFO - taking picture
MAIN: 2025-03-17 15:35:07,356 - INFO - we take 1090 photos in this while loop
MAIN: 2025-03-17 15:35:07,357 - INFO - /home/pi/Desktop/images/17032025/15/34/image_17032025_15_35_06_30064.jpg
MAIN: 2025-03-17 15:35:07,357 - INFO - duration: 0.6845140099976561
MAIN: 2025-03-17 15:35:07,358 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:35:36,915 - INFO - taking picture
MAIN: 2025-03-17 15:35:36,916 - INFO - we take 1091 photos in this while loop
MAIN: 2025-03-17 15:35:36,916 - INFO - /home/pi/Desktop/images/17032025/15/35/image_17032025_15_35_36_29607.jpg
MAIN: 2025-03-17 15:35:36,916 - INFO - duration: 0.6351963010019972
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 15:36: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:36:06,877 - INFO - taking picture
MAIN: 2025-03-17 15:36:06,877 - INFO - we take 1092 photos in this while loop
MAIN: 2025-03-17 15:36:06,878 - INFO - /home/pi/Desktop/images/17032025/15/35/image_17032025_15_36_06_29956.jpg
MAIN: 2025-03-17 15:36:06,878 - INFO - duration: 0.6408130729978438
MAIN: 2025-03-17 15:36:06,878 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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=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-03-17 15:36:36,371 - INFO - taking picture
MAIN: 2025-03-17 15:36:36,372 - INFO - we take 1093 photos in this while loop
MAIN: 2025-03-17 15:36:36,372 - INFO - /home/pi/Desktop/images/17032025/15/36/image_17032025_15_36_35_29467.jpg
MAIN: 2025-03-17 15:36:36,372 - INFO - duration: 0.6676483850023942
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 15:37:06,267 - INFO - taking picture
MAIN: 2025-03-17 15:37:06,267 - INFO - we take 1094 photos in this while loop
MAIN: 2025-03-17 15:37:06,267 - INFO - /home/pi/Desktop/images/17032025/15/36/image_17032025_15_37_05_29882.jpg
MAIN: 2025-03-17 15:37:06,268 - INFO - duration: 0.6809464050020324
MAIN: 2025-03-17 15:37:06,268 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/37'
MAIN: 2025-03-17 15:37: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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:37:37,188 - INFO - taking picture
MAIN: 2025-03-17 15:37:37,188 - INFO - we take 1095 photos in this while loop
MAIN: 2025-03-17 15:37:37,189 - INFO - /home/pi/Desktop/images/17032025/15/37/image_17032025_15_37_36_30924.jpg
MAIN: 2025-03-17 15:37:37,189 - INFO - duration: 0.6778471349971369
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-03-17 15:38:05,989 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:38:07,439 - INFO - taking picture
MAIN: 2025-03-17 15:38:07,440 - INFO - we take 1096 photos in this while loop
MAIN: 2025-03-17 15:38:07,440 - INFO - /home/pi/Desktop/images/17032025/15/37/image_17032025_15_38_07_30253.jpg
MAIN: 2025-03-17 15:38:07,440 - INFO - duration: 0.6762256250003702
MAIN: 2025-03-17 15:38:07,441 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/38'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:38:37,079 - INFO - taking picture
MAIN: 2025-03-17 15:38:37,080 - INFO - we take 1097 photos in this while loop
MAIN: 2025-03-17 15:38:37,080 - INFO - /home/pi/Desktop/images/17032025/15/38/image_17032025_15_38_36_29632.jpg
MAIN: 2025-03-17 15:38:37,080 - INFO - duration: 0.6836338020002586
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 15:39: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=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-03-17 15:39:06,776 - INFO - taking picture
MAIN: 2025-03-17 15:39:06,776 - INFO - we take 1098 photos in this while loop
MAIN: 2025-03-17 15:39:06,777 - INFO - /home/pi/Desktop/images/17032025/15/38/image_17032025_15_39_06_29714.jpg
MAIN: 2025-03-17 15:39:06,777 - INFO - duration: 0.6652581759990426
MAIN: 2025-03-17 15:39:06,777 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:39:36,269 - INFO - taking picture
MAIN: 2025-03-17 15:39:36,270 - INFO - we take 1099 photos in this while loop
MAIN: 2025-03-17 15:39:36,270 - INFO - /home/pi/Desktop/images/17032025/15/39/image_17032025_15_39_35_29524.jpg
MAIN: 2025-03-17 15:39:36,270 - INFO - duration: 0.6346793220000109
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 15:40:06,587 - INFO - taking picture
MAIN: 2025-03-17 15:40:06,588 - INFO - we take 1100 photos in this while loop
MAIN: 2025-03-17 15:40:06,589 - INFO - /home/pi/Desktop/images/17032025/15/39/image_17032025_15_40_06_30269.jpg
MAIN: 2025-03-17 15:40:06,589 - INFO - duration: 0.6842280210039462
MAIN: 2025-03-17 15:40:06,590 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/40'
MAIN: 2025-03-17 15:40:06,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:40:37,416 - INFO - taking picture
MAIN: 2025-03-17 15:40:37,416 - INFO - we take 1101 photos in this while loop
MAIN: 2025-03-17 15:40:37,416 - INFO - /home/pi/Desktop/images/17032025/15/40/image_17032025_15_40_37_30820.jpg
MAIN: 2025-03-17 15:40:37,417 - INFO - duration: 0.691094375004468
Corrupt JPEG data: premature end of data segment
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-03-17 15:41:06,053 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:41:07,224 - INFO - taking picture
MAIN: 2025-03-17 15:41:07,225 - INFO - we take 1102 photos in this while loop
MAIN: 2025-03-17 15:41:07,225 - INFO - /home/pi/Desktop/images/17032025/15/40/image_17032025_15_41_06_29813.jpg
MAIN: 2025-03-17 15:41:07,225 - INFO - duration: 0.685851302005176
MAIN: 2025-03-17 15:41:07,225 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:41:36,715 - INFO - taking picture
MAIN: 2025-03-17 15:41:36,715 - INFO - we take 1103 photos in this while loop
MAIN: 2025-03-17 15:41:36,715 - INFO - /home/pi/Desktop/images/17032025/15/41/image_17032025_15_41_36_29504.jpg
MAIN: 2025-03-17 15:41:36,716 - INFO - duration: 0.6717698430002201
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-03-17 15:42:06,896 - INFO - 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-03-17 15:42:06,925 - INFO - taking picture
MAIN: 2025-03-17 15:42:06,925 - INFO - we take 1104 photos in this while loop
MAIN: 2025-03-17 15:42:06,926 - INFO - /home/pi/Desktop/images/17032025/15/41/image_17032025_15_42_06_30174.jpg
MAIN: 2025-03-17 15:42:06,926 - INFO - duration: 0.7077095309941797
MAIN: 2025-03-17 15:42:06,926 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:42:36,475 - INFO - taking picture
MAIN: 2025-03-17 15:42:36,476 - INFO - we take 1105 photos in this while loop
MAIN: 2025-03-17 15:42:36,476 - INFO - /home/pi/Desktop/images/17032025/15/42/image_17032025_15_42_36_29589.jpg
MAIN: 2025-03-17 15:42:36,476 - INFO - duration: 0.6686561450042063
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 15:43:05,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=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-03-17 15:43:06,384 - INFO - taking picture
MAIN: 2025-03-17 15:43:06,384 - INFO - we take 1106 photos in this while loop
MAIN: 2025-03-17 15:43:06,385 - INFO - /home/pi/Desktop/images/17032025/15/42/image_17032025_15_43_06_29880.jpg
MAIN: 2025-03-17 15:43:06,385 - INFO - duration: 0.6963039580004988
MAIN: 2025-03-17 15:43:06,385 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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-03-17 15:43:37,291 - INFO - taking picture
MAIN: 2025-03-17 15:43:37,292 - INFO - we take 1107 photos in this while loop
MAIN: 2025-03-17 15:43:37,292 - INFO - /home/pi/Desktop/images/17032025/15/43/image_17032025_15_43_36_30919.jpg
MAIN: 2025-03-17 15:43:37,292 - INFO - duration: 0.6849677600039286
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 15:44: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=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-03-17 15:44:07,430 - INFO - taking picture
MAIN: 2025-03-17 15:44:07,430 - INFO - we take 1108 photos in this while loop
MAIN: 2025-03-17 15:44:07,431 - INFO - /home/pi/Desktop/images/17032025/15/43/image_17032025_15_44_07_30152.jpg
MAIN: 2025-03-17 15:44:07,431 - INFO - duration: 0.6705931770047755
MAIN: 2025-03-17 15:44:07,431 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 15:44:37,168 - INFO - taking picture
MAIN: 2025-03-17 15:44:37,169 - INFO - we take 1109 photos in this while loop
MAIN: 2025-03-17 15:44:37,169 - INFO - /home/pi/Desktop/images/17032025/15/44/image_17032025_15_44_36_29708.jpg
MAIN: 2025-03-17 15:44:37,169 - INFO - duration: 0.7011916139963432
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 15:45:06,074 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:45:07,455 - INFO - taking picture
MAIN: 2025-03-17 15:45:07,456 - INFO - we take 1110 photos in this while loop
MAIN: 2025-03-17 15:45:07,456 - INFO - /home/pi/Desktop/images/17032025/15/44/image_17032025_15_45_07_30309.jpg
MAIN: 2025-03-17 15:45:07,457 - INFO - duration: 0.678606198001944
MAIN: 2025-03-17 15:45:07,457 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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=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-03-17 15:45:37,004 - INFO - taking picture
MAIN: 2025-03-17 15:45:37,004 - INFO - we take 1111 photos in this while loop
MAIN: 2025-03-17 15:45:37,004 - INFO - /home/pi/Desktop/images/17032025/15/45/image_17032025_15_45_36_29533.jpg
MAIN: 2025-03-17 15:45:37,004 - INFO - duration: 0.6927886979974573
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 15:46:06,734 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:46:07,241 - INFO - taking picture
MAIN: 2025-03-17 15:46:07,242 - INFO - we take 1112 photos in this while loop
MAIN: 2025-03-17 15:46:07,242 - INFO - /home/pi/Desktop/images/17032025/15/45/image_17032025_15_46_06_30215.jpg
MAIN: 2025-03-17 15:46:07,242 - INFO - duration: 0.7150673959986307
MAIN: 2025-03-17 15:46:07,242 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:46:36,781 - INFO - taking picture
MAIN: 2025-03-17 15:46:36,781 - INFO - we take 1113 photos in this while loop
MAIN: 2025-03-17 15:46:36,782 - INFO - /home/pi/Desktop/images/17032025/15/46/image_17032025_15_46_36_29554.jpg
MAIN: 2025-03-17 15:46:36,782 - INFO - duration: 0.7007751040000585
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-03-17 15:47:06,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 ! 
MAIN: 2025-03-17 15:47:07,002 - INFO - taking picture
MAIN: 2025-03-17 15:47:07,003 - INFO - we take 1114 photos in this while loop
MAIN: 2025-03-17 15:47:07,003 - INFO - /home/pi/Desktop/images/17032025/15/46/image_17032025_15_47_06_30224.jpg
MAIN: 2025-03-17 15:47:07,003 - INFO - duration: 0.6971367700025439
MAIN: 2025-03-17 15:47:07,003 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:47:36,493 - INFO - taking picture
MAIN: 2025-03-17 15:47:36,493 - INFO - we take 1115 photos in this while loop
MAIN: 2025-03-17 15:47:36,493 - INFO - /home/pi/Desktop/images/17032025/15/47/image_17032025_15_47_36_29489.jpg
MAIN: 2025-03-17 15:47:36,494 - INFO - duration: 0.698265781000373
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 15:48:06,050 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:48:06,586 - INFO - taking picture
MAIN: 2025-03-17 15:48:06,587 - INFO - we take 1116 photos in this while loop
MAIN: 2025-03-17 15:48:06,587 - INFO - /home/pi/Desktop/images/17032025/15/47/image_17032025_15_48_06_30073.jpg
MAIN: 2025-03-17 15:48:06,587 - INFO - duration: 0.7183839580029598
MAIN: 2025-03-17 15:48:06,588 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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=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-03-17 15:48:37,466 - INFO - taking picture
MAIN: 2025-03-17 15:48:37,467 - INFO - we take 1117 photos in this while loop
MAIN: 2025-03-17 15:48:37,467 - INFO - /home/pi/Desktop/images/17032025/15/48/image_17032025_15_48_37_30960.jpg
MAIN: 2025-03-17 15:48:37,467 - INFO - duration: 0.6373705209989566
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-03-17 15:49: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=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-03-17 15:49:07,344 - INFO - taking picture
MAIN: 2025-03-17 15:49:07,345 - INFO - we take 1118 photos in this while loop
MAIN: 2025-03-17 15:49:07,345 - INFO - /home/pi/Desktop/images/17032025/15/48/image_17032025_15_49_06_29880.jpg
MAIN: 2025-03-17 15:49:07,345 - INFO - duration: 0.6350953119981568
MAIN: 2025-03-17 15:49:07,346 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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=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-03-17 15:49:36,910 - INFO - taking picture
MAIN: 2025-03-17 15:49:36,911 - INFO - we take 1119 photos in this while loop
MAIN: 2025-03-17 15:49:36,911 - INFO - /home/pi/Desktop/images/17032025/15/49/image_17032025_15_49_36_29556.jpg
MAIN: 2025-03-17 15:49:36,911 - INFO - duration: 0.6440756250012782
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=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-03-17 15:50:07,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-03-17 15:50:07,275 - INFO - taking picture
MAIN: 2025-03-17 15:50:07,276 - INFO - we take 1120 photos in this while loop
MAIN: 2025-03-17 15:50:07,276 - INFO - /home/pi/Desktop/images/17032025/15/49/image_17032025_15_50_06_30322.jpg
MAIN: 2025-03-17 15:50:07,276 - INFO - duration: 0.6871527600014815
MAIN: 2025-03-17 15:50:07,277 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:50:36,755 - INFO - taking picture
MAIN: 2025-03-17 15:50:36,755 - INFO - we take 1121 photos in this while loop
MAIN: 2025-03-17 15:50:36,756 - INFO - /home/pi/Desktop/images/17032025/15/50/image_17032025_15_50_36_29527.jpg
MAIN: 2025-03-17 15:50:36,756 - INFO - duration: 0.6390484889998334
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-03-17 15:51: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-03-17 15:51:06,675 - INFO - taking picture
MAIN: 2025-03-17 15:51:06,676 - INFO - we take 1122 photos in this while loop
MAIN: 2025-03-17 15:51:06,676 - INFO - /home/pi/Desktop/images/17032025/15/50/image_17032025_15_51_06_29912.jpg
MAIN: 2025-03-17 15:51:06,676 - INFO - duration: 0.6470707289990969
MAIN: 2025-03-17 15:51:06,676 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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=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-03-17 15:51:36,284 - INFO - taking picture
MAIN: 2025-03-17 15:51:36,285 - INFO - we take 1123 photos in this while loop
MAIN: 2025-03-17 15:51:36,285 - INFO - /home/pi/Desktop/images/17032025/15/51/image_17032025_15_51_35_29576.jpg
MAIN: 2025-03-17 15:51:36,285 - INFO - duration: 0.6797474479972152
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 15:52: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=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-03-17 15:52:07,421 - INFO - taking picture
MAIN: 2025-03-17 15:52:07,422 - INFO - we take 1124 photos in this while loop
MAIN: 2025-03-17 15:52:07,422 - INFO - /home/pi/Desktop/images/17032025/15/51/image_17032025_15_52_07_31183.jpg
MAIN: 2025-03-17 15:52:07,422 - INFO - duration: 0.6334566670047934
MAIN: 2025-03-17 15:52:07,422 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:52:36,979 - INFO - taking picture
MAIN: 2025-03-17 15:52:36,979 - INFO - we take 1125 photos in this while loop
MAIN: 2025-03-17 15:52:36,979 - INFO - /home/pi/Desktop/images/17032025/15/52/image_17032025_15_52_36_29529.jpg
MAIN: 2025-03-17 15:52:36,980 - INFO - duration: 0.6612184370023897
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 15:53:05,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=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-03-17 15:53:06,876 - INFO - taking picture
MAIN: 2025-03-17 15:53:06,877 - INFO - we take 1126 photos in this while loop
MAIN: 2025-03-17 15:53:06,877 - INFO - /home/pi/Desktop/images/17032025/15/52/image_17032025_15_53_06_29881.jpg
MAIN: 2025-03-17 15:53:06,877 - INFO - duration: 0.6769832810023217
MAIN: 2025-03-17 15:53:06,877 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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=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-03-17 15:53:36,585 - INFO - taking picture
MAIN: 2025-03-17 15:53:36,585 - INFO - we take 1127 photos in this while loop
MAIN: 2025-03-17 15:53:36,585 - INFO - /home/pi/Desktop/images/17032025/15/53/image_17032025_15_53_36_29712.jpg
MAIN: 2025-03-17 15:53:36,586 - INFO - duration: 0.6728956250008196
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 15:54: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=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-03-17 15:54:06,669 - INFO - taking picture
MAIN: 2025-03-17 15:54:06,670 - INFO - we take 1128 photos in this while loop
MAIN: 2025-03-17 15:54:06,670 - INFO - /home/pi/Desktop/images/17032025/15/53/image_17032025_15_54_06_30106.jpg
MAIN: 2025-03-17 15:54:06,670 - INFO - duration: 0.6503039579984033
MAIN: 2025-03-17 15:54:06,671 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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=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-03-17 15:54:36,342 - INFO - taking picture
MAIN: 2025-03-17 15:54:36,343 - INFO - we take 1129 photos in this while loop
MAIN: 2025-03-17 15:54:36,343 - INFO - /home/pi/Desktop/images/17032025/15/54/image_17032025_15_54_35_29649.jpg
MAIN: 2025-03-17 15:54:36,343 - INFO - duration: 0.673584115000267
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 15:55:06,438 - INFO - taking picture
MAIN: 2025-03-17 15:55:06,439 - INFO - we take 1130 photos in this while loop
MAIN: 2025-03-17 15:55:06,439 - INFO - /home/pi/Desktop/images/17032025/15/54/image_17032025_15_55_06_30100.jpg
MAIN: 2025-03-17 15:55:06,440 - INFO - duration: 0.6700730729935458
MAIN: 2025-03-17 15:55:06,441 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/55'
MAIN: 2025-03-17 15:55:06,818 - INFO - 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=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-03-17 15:55:37,159 - INFO - taking picture
MAIN: 2025-03-17 15:55:37,159 - INFO - we take 1131 photos in this while loop
MAIN: 2025-03-17 15:55:37,160 - INFO - /home/pi/Desktop/images/17032025/15/55/image_17032025_15_55_36_30701.jpg
MAIN: 2025-03-17 15:55:37,160 - INFO - duration: 0.6887007810000796
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 15:56: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=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-03-17 15:56:07,232 - INFO - taking picture
MAIN: 2025-03-17 15:56:07,233 - INFO - we take 1132 photos in this while loop
MAIN: 2025-03-17 15:56:07,233 - INFO - /home/pi/Desktop/images/17032025/15/55/image_17032025_15_56_06_30094.jpg
MAIN: 2025-03-17 15:56:07,233 - INFO - duration: 0.6682442179953796
MAIN: 2025-03-17 15:56:07,234 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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=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-03-17 15:56:36,918 - INFO - taking picture
MAIN: 2025-03-17 15:56:36,919 - INFO - we take 1133 photos in this while loop
MAIN: 2025-03-17 15:56:36,919 - INFO - /home/pi/Desktop/images/17032025/15/56/image_17032025_15_56_36_29655.jpg
MAIN: 2025-03-17 15:56:36,919 - INFO - duration: 0.6988692179947975
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-03-17 15:57:06,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=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-03-17 15:57:06,953 - INFO - taking picture
MAIN: 2025-03-17 15:57:06,953 - INFO - we take 1134 photos in this while loop
MAIN: 2025-03-17 15:57:06,953 - INFO - /home/pi/Desktop/images/17032025/15/56/image_17032025_15_57_06_30029.jpg
MAIN: 2025-03-17 15:57:06,953 - INFO - duration: 0.7042122910061153
MAIN: 2025-03-17 15:57:06,954 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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=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-03-17 15:57:36,565 - INFO - taking picture
MAIN: 2025-03-17 15:57:36,565 - INFO - we take 1135 photos in this while loop
MAIN: 2025-03-17 15:57:36,566 - INFO - /home/pi/Desktop/images/17032025/15/57/image_17032025_15_57_36_29635.jpg
MAIN: 2025-03-17 15:57:36,566 - INFO - duration: 0.6813191149994964
Corrupt JPEG data: premature end of data segment
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-03-17 15:58: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=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-03-17 15:58:06,619 - INFO - taking picture
MAIN: 2025-03-17 15:58:06,620 - INFO - we take 1136 photos in this while loop
MAIN: 2025-03-17 15:58:06,620 - INFO - /home/pi/Desktop/images/17032025/15/57/image_17032025_15_58_06_30020.jpg
MAIN: 2025-03-17 15:58:06,620 - INFO - duration: 0.7149744260022999
MAIN: 2025-03-17 15:58:06,621 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:58:37,481 - INFO - taking picture
MAIN: 2025-03-17 15:58:37,482 - INFO - we take 1137 photos in this while loop
MAIN: 2025-03-17 15:58:37,482 - INFO - /home/pi/Desktop/images/17032025/15/58/image_17032025_15_58_37_30884.jpg
MAIN: 2025-03-17 15:58:37,482 - INFO - duration: 0.6921586450043833
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-03-17 15:59:05,872 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 15:59:07,458 - INFO - taking picture
MAIN: 2025-03-17 15:59:07,458 - INFO - we take 1138 photos in this while loop
MAIN: 2025-03-17 15:59:07,459 - INFO - /home/pi/Desktop/images/17032025/15/58/image_17032025_15_59_07_29971.jpg
MAIN: 2025-03-17 15:59:07,459 - INFO - duration: 0.6968838540051365
MAIN: 2025-03-17 15:59:07,459 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/15/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=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-03-17 15:59:37,132 - INFO - taking picture
MAIN: 2025-03-17 15:59:37,133 - INFO - we take 1139 photos in this while loop
MAIN: 2025-03-17 15:59:37,133 - INFO - /home/pi/Desktop/images/17032025/15/59/image_17032025_15_59_36_29679.jpg
MAIN: 2025-03-17 15:59:37,133 - INFO - duration: 0.6923462499980815
[ WARN:0] global /tmp/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-03-17 16:00:06,324 - INFO - taking picture
MAIN: 2025-03-17 16:00:06,324 - INFO - we take 1140 photos in this while loop
MAIN: 2025-03-17 16:00:06,324 - INFO - /home/pi/Desktop/images/17032025/15/59/image_17032025_16_00_05_29202.jpg
MAIN: 2025-03-17 16:00:06,325 - INFO - duration: 0.6811505200021202
MAIN: 2025-03-17 16:00:06,325 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/00'
MAIN: 2025-03-17 16:00: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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 16:00:37,129 - INFO - taking picture
MAIN: 2025-03-17 16:00:37,129 - INFO - we take 1141 photos in this while loop
MAIN: 2025-03-17 16:00:37,130 - INFO - /home/pi/Desktop/images/17032025/16/00/image_17032025_16_00_36_30777.jpg
MAIN: 2025-03-17 16:00:37,130 - INFO - duration: 0.7085530729964375
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 16:01:05,843 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 16:01:06,957 - INFO - taking picture
MAIN: 2025-03-17 16:01:06,958 - INFO - we take 1142 photos in this while loop
MAIN: 2025-03-17 16:01:06,958 - INFO - /home/pi/Desktop/images/17032025/16/00/image_17032025_16_01_06_29852.jpg
MAIN: 2025-03-17 16:01:06,958 - INFO - duration: 0.6843331760028377
MAIN: 2025-03-17 16:01:06,959 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/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-03-17 16:01:36,487 - INFO - taking picture
MAIN: 2025-03-17 16:01:36,487 - INFO - we take 1143 photos in this while loop
MAIN: 2025-03-17 16:01:36,488 - INFO - /home/pi/Desktop/images/17032025/16/01/image_17032025_16_01_36_29520.jpg
MAIN: 2025-03-17 16:01:36,488 - INFO - duration: 0.6937574990006397
[ WARN:0] global /tmp/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-03-17 16:02: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 ! 
MAIN: 2025-03-17 16:02:06,687 - INFO - taking picture
MAIN: 2025-03-17 16:02:06,687 - INFO - we take 1144 photos in this while loop
MAIN: 2025-03-17 16:02:06,688 - INFO - /home/pi/Desktop/images/17032025/16/01/image_17032025_16_02_06_30182.jpg
MAIN: 2025-03-17 16:02:06,688 - INFO - duration: 0.7109032290027244
MAIN: 2025-03-17 16:02:06,688 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/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=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-03-17 16:02:36,278 - INFO - taking picture
MAIN: 2025-03-17 16:02:36,278 - INFO - we take 1145 photos in this while loop
MAIN: 2025-03-17 16:02:36,278 - INFO - /home/pi/Desktop/images/17032025/16/02/image_17032025_16_02_35_29602.jpg
MAIN: 2025-03-17 16:02:36,279 - INFO - duration: 0.6993368740004371
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 16:03: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=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-03-17 16:03:07,317 - INFO - taking picture
MAIN: 2025-03-17 16:03:07,318 - INFO - we take 1146 photos in this while loop
MAIN: 2025-03-17 16:03:07,318 - INFO - /home/pi/Desktop/images/17032025/16/02/image_17032025_16_03_06_31088.jpg
MAIN: 2025-03-17 16:03:07,318 - INFO - duration: 0.6497417710052105
MAIN: 2025-03-17 16:03:07,318 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 16:03:37,033 - INFO - taking picture
MAIN: 2025-03-17 16:03:37,033 - INFO - we take 1147 photos in this while loop
MAIN: 2025-03-17 16:03:37,033 - INFO - /home/pi/Desktop/images/17032025/16/03/image_17032025_16_03_36_29649.jpg
MAIN: 2025-03-17 16:03:37,034 - INFO - duration: 0.7163564050060813
[ WARN:0] global /tmp/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-03-17 16:04:07,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 ! 
MAIN: 2025-03-17 16:04:07,088 - INFO - taking picture
MAIN: 2025-03-17 16:04:07,089 - INFO - we take 1148 photos in this while loop
MAIN: 2025-03-17 16:04:07,089 - INFO - /home/pi/Desktop/images/17032025/16/03/image_17032025_16_04_06_30123.jpg
MAIN: 2025-03-17 16:04:07,089 - INFO - duration: 0.6486698439985048
MAIN: 2025-03-17 16:04:07,090 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/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=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-03-17 16:04:36,805 - INFO - taking picture
MAIN: 2025-03-17 16:04:36,806 - INFO - we take 1149 photos in this while loop
MAIN: 2025-03-17 16:04:36,806 - INFO - /home/pi/Desktop/images/17032025/16/04/image_17032025_16_04_36_29661.jpg
MAIN: 2025-03-17 16:04:36,806 - INFO - duration: 0.7045673440006794
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 16:05: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=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-03-17 16:05:06,916 - INFO - taking picture
MAIN: 2025-03-17 16:05:06,917 - INFO - we take 1150 photos in this while loop
MAIN: 2025-03-17 16:05:06,917 - INFO - /home/pi/Desktop/images/17032025/16/04/image_17032025_16_05_06_30095.jpg
MAIN: 2025-03-17 16:05:06,917 - INFO - duration: 0.7204787500013481
MAIN: 2025-03-17 16:05:06,918 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/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=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-03-17 16:05:36,621 - INFO - taking picture
MAIN: 2025-03-17 16:05:36,622 - INFO - we take 1151 photos in this while loop
MAIN: 2025-03-17 16:05:36,622 - INFO - /home/pi/Desktop/images/17032025/16/05/image_17032025_16_05_36_29714.jpg
MAIN: 2025-03-17 16:05:36,622 - INFO - duration: 0.7106856249956763
[ WARN:0] global /tmp/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-03-17 16:06: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 ! 
MAIN: 2025-03-17 16:06:06,658 - INFO - taking picture
MAIN: 2025-03-17 16:06:06,658 - INFO - we take 1152 photos in this while loop
MAIN: 2025-03-17 16:06:06,658 - INFO - /home/pi/Desktop/images/17032025/16/05/image_17032025_16_06_06_30087.jpg
MAIN: 2025-03-17 16:06:06,659 - INFO - duration: 0.6600914059963543
MAIN: 2025-03-17 16:06:06,659 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/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-03-17 16:06:36,331 - INFO - taking picture
MAIN: 2025-03-17 16:06:36,332 - INFO - we take 1153 photos in this while loop
MAIN: 2025-03-17 16:06:36,332 - INFO - /home/pi/Desktop/images/17032025/16/06/image_17032025_16_06_35_29634.jpg
MAIN: 2025-03-17 16:06:36,332 - INFO - duration: 0.6993973429998732
[ WARN:0] global /tmp/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-03-17 16:07:06,064 - INFO - 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-03-17 16:07:06,416 - INFO - taking picture
MAIN: 2025-03-17 16:07:06,416 - INFO - we take 1154 photos in this while loop
MAIN: 2025-03-17 16:07:06,416 - INFO - /home/pi/Desktop/images/17032025/16/06/image_17032025_16_07_06_30102.jpg
MAIN: 2025-03-17 16:07:06,417 - INFO - duration: 0.6810585409984924
MAIN: 2025-03-17 16:07:06,417 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 16:07:37,385 - INFO - taking picture
MAIN: 2025-03-17 16:07:37,385 - INFO - we take 1155 photos in this while loop
MAIN: 2025-03-17 16:07:37,386 - INFO - /home/pi/Desktop/images/17032025/16/07/image_17032025_16_07_36_30974.jpg
MAIN: 2025-03-17 16:07:37,386 - INFO - duration: 0.6753814059993601
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 16:08:06,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=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-03-17 16:08:07,383 - INFO - taking picture
MAIN: 2025-03-17 16:08:07,383 - INFO - we take 1156 photos in this while loop
MAIN: 2025-03-17 16:08:07,384 - INFO - /home/pi/Desktop/images/17032025/16/07/image_17032025_16_08_07_30032.jpg
MAIN: 2025-03-17 16:08:07,384 - INFO - duration: 0.6408382810041076
MAIN: 2025-03-17 16:08:07,384 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 16:08:37,152 - INFO - taking picture
MAIN: 2025-03-17 16:08:37,152 - INFO - we take 1157 photos in this while loop
MAIN: 2025-03-17 16:08:37,152 - INFO - /home/pi/Desktop/images/17032025/16/08/image_17032025_16_08_36_29733.jpg
MAIN: 2025-03-17 16:08:37,152 - INFO - duration: 0.6760795829977724
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 16:09:06,360 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 16:09:07,130 - INFO - taking picture
MAIN: 2025-03-17 16:09:07,130 - INFO - we take 1158 photos in this while loop
MAIN: 2025-03-17 16:09:07,131 - INFO - /home/pi/Desktop/images/17032025/16/08/image_17032025_16_09_06_30006.jpg
MAIN: 2025-03-17 16:09:07,131 - INFO - duration: 0.6475321359976078
MAIN: 2025-03-17 16:09:07,131 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 16:09:36,696 - INFO - taking picture
MAIN: 2025-03-17 16:09:36,697 - INFO - we take 1159 photos in this while loop
MAIN: 2025-03-17 16:09:36,697 - INFO - /home/pi/Desktop/images/17032025/16/09/image_17032025_16_09_36_29545.jpg
MAIN: 2025-03-17 16:09:36,697 - INFO - duration: 0.6686496359980083
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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=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-03-17 16:10:06,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 ! 
MAIN: 2025-03-17 16:10:06,938 - INFO - taking picture
MAIN: 2025-03-17 16:10:06,939 - INFO - we take 1160 photos in this while loop
MAIN: 2025-03-17 16:10:06,940 - INFO - /home/pi/Desktop/images/17032025/16/09/image_17032025_16_10_06_30235.jpg
MAIN: 2025-03-17 16:10:06,940 - INFO - duration: 0.6759287500026403
MAIN: 2025-03-17 16:10:06,941 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 16:10:36,524 - INFO - taking picture
MAIN: 2025-03-17 16:10:36,525 - INFO - we take 1161 photos in this while loop
MAIN: 2025-03-17 16:10:36,525 - INFO - /home/pi/Desktop/images/17032025/16/10/image_17032025_16_10_36_29588.jpg
MAIN: 2025-03-17 16:10:36,525 - INFO - duration: 0.6721003119964735
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-03-17 16:11:05,766 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 16:11:06,451 - INFO - taking picture
MAIN: 2025-03-17 16:11:06,452 - INFO - we take 1162 photos in this while loop
MAIN: 2025-03-17 16:11:06,452 - INFO - /home/pi/Desktop/images/17032025/16/10/image_17032025_16_11_06_29960.jpg
MAIN: 2025-03-17 16:11:06,452 - INFO - duration: 0.6384236969970516
MAIN: 2025-03-17 16:11:06,452 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/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=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-03-17 16:11:37,302 - INFO - taking picture
MAIN: 2025-03-17 16:11:37,303 - INFO - we take 1163 photos in this while loop
MAIN: 2025-03-17 16:11:37,303 - INFO - /home/pi/Desktop/images/17032025/16/11/image_17032025_16_11_36_30816.jpg
MAIN: 2025-03-17 16:11:37,303 - INFO - duration: 0.6730979170024511
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 16:12: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 16:12:07,236 - INFO - taking picture
MAIN: 2025-03-17 16:12:07,237 - INFO - we take 1164 photos in this while loop
MAIN: 2025-03-17 16:12:07,237 - INFO - /home/pi/Desktop/images/17032025/16/11/image_17032025_16_12_06_29958.jpg
MAIN: 2025-03-17 16:12:07,237 - INFO - duration: 0.6479775519983377
MAIN: 2025-03-17 16:12:07,237 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/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-03-17 16:12:36,896 - INFO - taking picture
MAIN: 2025-03-17 16:12:36,896 - INFO - we take 1165 photos in this while loop
MAIN: 2025-03-17 16:12:36,897 - INFO - /home/pi/Desktop/images/17032025/16/12/image_17032025_16_12_36_29608.jpg
MAIN: 2025-03-17 16:12:36,897 - INFO - duration: 0.6996071350004058
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 16:13:06,032 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 16:13:06,776 - INFO - taking picture
MAIN: 2025-03-17 16:13:06,777 - INFO - we take 1166 photos in this while loop
MAIN: 2025-03-17 16:13:06,777 - INFO - /home/pi/Desktop/images/17032025/16/12/image_17032025_16_13_06_29931.jpg
MAIN: 2025-03-17 16:13:06,777 - INFO - duration: 0.6490374479981256
MAIN: 2025-03-17 16:13:06,778 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/13'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 16:13:36,347 - INFO - taking picture
MAIN: 2025-03-17 16:13:36,348 - INFO - we take 1167 photos in this while loop
MAIN: 2025-03-17 16:13:36,348 - INFO - /home/pi/Desktop/images/17032025/16/13/image_17032025_16_13_35_29543.jpg
MAIN: 2025-03-17 16:13:36,348 - INFO - duration: 0.6766911980012082
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-03-17 16:14: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=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-03-17 16:14:07,412 - INFO - taking picture
MAIN: 2025-03-17 16:14:07,413 - INFO - we take 1168 photos in this while loop
MAIN: 2025-03-17 16:14:07,413 - INFO - /home/pi/Desktop/images/17032025/16/13/image_17032025_16_14_07_31089.jpg
MAIN: 2025-03-17 16:14:07,413 - INFO - duration: 0.6523178639981779
MAIN: 2025-03-17 16:14:07,414 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 16:14:37,001 - INFO - taking picture
MAIN: 2025-03-17 16:14:37,001 - INFO - we take 1169 photos in this while loop
MAIN: 2025-03-17 16:14:37,001 - INFO - /home/pi/Desktop/images/17032025/16/14/image_17032025_16_14_36_29542.jpg
MAIN: 2025-03-17 16:14:37,002 - INFO - duration: 0.6978659899978084
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 16:15:06,355 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 16:15:07,208 - INFO - taking picture
MAIN: 2025-03-17 16:15:07,209 - INFO - we take 1170 photos in this while loop
MAIN: 2025-03-17 16:15:07,209 - INFO - /home/pi/Desktop/images/17032025/16/14/image_17032025_16_15_06_30232.jpg
MAIN: 2025-03-17 16:15:07,209 - INFO - duration: 0.6729192710045027
MAIN: 2025-03-17 16:15:07,209 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/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-03-17 16:15:36,661 - INFO - taking picture
MAIN: 2025-03-17 16:15:36,662 - INFO - we take 1171 photos in this while loop
MAIN: 2025-03-17 16:15:36,662 - INFO - /home/pi/Desktop/images/17032025/16/15/image_17032025_16_15_36_29433.jpg
MAIN: 2025-03-17 16:15:36,662 - INFO - duration: 0.69201625000278
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-03-17 16:16:06,227 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 16:16:06,705 - INFO - taking picture
MAIN: 2025-03-17 16:16:06,706 - INFO - we take 1172 photos in this while loop
MAIN: 2025-03-17 16:16:06,706 - INFO - /home/pi/Desktop/images/17032025/16/15/image_17032025_16_16_06_30038.jpg
MAIN: 2025-03-17 16:16:06,706 - INFO - duration: 0.6976417189944186
MAIN: 2025-03-17 16:16:06,707 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 16:16:36,317 - INFO - taking picture
MAIN: 2025-03-17 16:16:36,318 - INFO - we take 1173 photos in this while loop
MAIN: 2025-03-17 16:16:36,318 - INFO - /home/pi/Desktop/images/17032025/16/16/image_17032025_16_16_35_29612.jpg
MAIN: 2025-03-17 16:16:36,318 - INFO - duration: 0.6974361460015643
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 16:17:06,014 - INFO - 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-03-17 16:17:06,278 - INFO - taking picture
MAIN: 2025-03-17 16:17:06,278 - INFO - we take 1174 photos in this while loop
MAIN: 2025-03-17 16:17:06,279 - INFO - /home/pi/Desktop/images/17032025/16/16/image_17032025_16_17_05_29972.jpg
MAIN: 2025-03-17 16:17:06,279 - INFO - duration: 0.6852945309947245
MAIN: 2025-03-17 16:17:06,279 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 16:17:37,141 - INFO - taking picture
MAIN: 2025-03-17 16:17:37,142 - INFO - we take 1175 photos in this while loop
MAIN: 2025-03-17 16:17:37,142 - INFO - /home/pi/Desktop/images/17032025/16/17/image_17032025_16_17_36_30839.jpg
MAIN: 2025-03-17 16:17:37,142 - INFO - duration: 0.7086463539963006
Corrupt JPEG data: premature end of data segment
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-03-17 16:18:06,799 - INFO - 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-03-17 16:18:07,111 - INFO - taking picture
MAIN: 2025-03-17 16:18:07,111 - INFO - we take 1176 photos in this while loop
MAIN: 2025-03-17 16:18:07,112 - INFO - /home/pi/Desktop/images/17032025/16/17/image_17032025_16_18_06_29971.jpg
MAIN: 2025-03-17 16:18:07,112 - INFO - duration: 0.7070511459969566
MAIN: 2025-03-17 16:18:07,112 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 16:18:36,676 - INFO - taking picture
MAIN: 2025-03-17 16:18:36,676 - INFO - we take 1177 photos in this while loop
MAIN: 2025-03-17 16:18:36,676 - INFO - /home/pi/Desktop/images/17032025/16/18/image_17032025_16_18_36_29571.jpg
MAIN: 2025-03-17 16:18:36,677 - INFO - duration: 0.7000033329968574
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 16:19: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=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-03-17 16:19:06,616 - INFO - taking picture
MAIN: 2025-03-17 16:19:06,616 - INFO - we take 1178 photos in this while loop
MAIN: 2025-03-17 16:19:06,617 - INFO - /home/pi/Desktop/images/17032025/16/18/image_17032025_16_19_06_29921.jpg
MAIN: 2025-03-17 16:19:06,617 - INFO - duration: 0.7182662499981234
MAIN: 2025-03-17 16:19:06,617 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/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=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-03-17 16:19:36,306 - INFO - taking picture
MAIN: 2025-03-17 16:19:36,306 - INFO - we take 1179 photos in this while loop
MAIN: 2025-03-17 16:19:36,307 - INFO - /home/pi/Desktop/images/17032025/16/19/image_17032025_16_19_35_29709.jpg
MAIN: 2025-03-17 16:19:36,307 - INFO - duration: 0.6985693739989074
[ WARN:0] global /tmp/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-03-17 16:20: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 ! 
MAIN: 2025-03-17 16:20:06,608 - INFO - taking picture
MAIN: 2025-03-17 16:20:06,609 - INFO - we take 1180 photos in this while loop
MAIN: 2025-03-17 16:20:06,610 - INFO - /home/pi/Desktop/images/17032025/16/19/image_17032025_16_20_06_30291.jpg
MAIN: 2025-03-17 16:20:06,611 - INFO - duration: 0.7104930209970917
MAIN: 2025-03-17 16:20:06,612 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/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=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-03-17 16:20:37,457 - INFO - taking picture
MAIN: 2025-03-17 16:20:37,458 - INFO - we take 1181 photos in this while loop
MAIN: 2025-03-17 16:20:37,458 - INFO - /home/pi/Desktop/images/17032025/16/20/image_17032025_16_20_37_30887.jpg
MAIN: 2025-03-17 16:20:37,458 - INFO - duration: 0.6699787500037928
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 16:21:05,791 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 16:21:06,323 - INFO - taking picture
MAIN: 2025-03-17 16:21:06,324 - INFO - we take 1182 photos in this while loop
MAIN: 2025-03-17 16:21:06,324 - INFO - /home/pi/Desktop/images/17032025/16/20/image_17032025_16_21_05_28799.jpg
MAIN: 2025-03-17 16:21:06,324 - INFO - duration: 0.7365471869998146
MAIN: 2025-03-17 16:21:06,325 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 16:21:37,256 - INFO - taking picture
MAIN: 2025-03-17 16:21:37,256 - INFO - we take 1183 photos in this while loop
MAIN: 2025-03-17 16:21:37,257 - INFO - /home/pi/Desktop/images/17032025/16/21/image_17032025_16_21_36_30994.jpg
MAIN: 2025-03-17 16:21:37,257 - INFO - duration: 0.6747053130020504
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-03-17 16:22:06,350 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 16:22:07,130 - INFO - taking picture
MAIN: 2025-03-17 16:22:07,131 - INFO - we take 1184 photos in this while loop
MAIN: 2025-03-17 16:22:07,131 - INFO - /home/pi/Desktop/images/17032025/16/21/image_17032025_16_22_06_29913.jpg
MAIN: 2025-03-17 16:22:07,131 - INFO - duration: 0.6356725000005099
MAIN: 2025-03-17 16:22:07,132 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/22'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 16:22:36,764 - INFO - taking picture
MAIN: 2025-03-17 16:22:36,765 - INFO - we take 1185 photos in this while loop
MAIN: 2025-03-17 16:22:36,765 - INFO - /home/pi/Desktop/images/17032025/16/22/image_17032025_16_22_36_29632.jpg
MAIN: 2025-03-17 16:22:36,765 - INFO - duration: 0.6364452600028017
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 16:23:06,151 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 16:23:06,597 - INFO - taking picture
MAIN: 2025-03-17 16:23:06,597 - INFO - we take 1186 photos in this while loop
MAIN: 2025-03-17 16:23:06,598 - INFO - /home/pi/Desktop/images/17032025/16/22/image_17032025_16_23_06_29787.jpg
MAIN: 2025-03-17 16:23:06,598 - INFO - duration: 0.681972134996613
MAIN: 2025-03-17 16:23:06,598 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 16:23:37,488 - INFO - taking picture
MAIN: 2025-03-17 16:23:37,488 - INFO - we take 1187 photos in this while loop
MAIN: 2025-03-17 16:23:37,488 - INFO - /home/pi/Desktop/images/17032025/16/23/image_17032025_16_23_37_30899.jpg
MAIN: 2025-03-17 16:23:37,488 - INFO - duration: 0.6729462500006775
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 16:24:06,297 - INFO - taking picture
MAIN: 2025-03-17 16:24:06,298 - INFO - we take 1188 photos in this while loop
MAIN: 2025-03-17 16:24:06,298 - INFO - /home/pi/Desktop/images/17032025/16/23/image_17032025_16_24_05_28832.jpg
MAIN: 2025-03-17 16:24:06,298 - INFO - duration: 0.6506601560031413
MAIN: 2025-03-17 16:24:06,299 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/24'
MAIN: 2025-03-17 16:24:06,749 - INFO - 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=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-03-17 16:24:37,214 - INFO - taking picture
MAIN: 2025-03-17 16:24:37,215 - INFO - we take 1189 photos in this while loop
MAIN: 2025-03-17 16:24:37,215 - INFO - /home/pi/Desktop/images/17032025/16/24/image_17032025_16_24_36_30890.jpg
MAIN: 2025-03-17 16:24:37,215 - INFO - duration: 0.6766833850051626
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 16:25:07,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-03-17 16:25:07,474 - INFO - taking picture
MAIN: 2025-03-17 16:25:07,475 - INFO - we take 1190 photos in this while loop
MAIN: 2025-03-17 16:25:07,475 - INFO - /home/pi/Desktop/images/17032025/16/24/image_17032025_16_25_07_30261.jpg
MAIN: 2025-03-17 16:25:07,476 - INFO - duration: 0.6753983850067016
MAIN: 2025-03-17 16:25:07,476 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 16:25:37,084 - INFO - taking picture
MAIN: 2025-03-17 16:25:37,084 - INFO - we take 1191 photos in this while loop
MAIN: 2025-03-17 16:25:37,084 - INFO - /home/pi/Desktop/images/17032025/16/25/image_17032025_16_25_36_29612.jpg
MAIN: 2025-03-17 16:25:37,085 - INFO - duration: 0.6719715100043686
Corrupt JPEG data: premature end of data segment
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-03-17 16:26:06,108 - INFO - 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-03-17 16:26:07,229 - INFO - taking picture
MAIN: 2025-03-17 16:26:07,230 - INFO - we take 1192 photos in this while loop
MAIN: 2025-03-17 16:26:07,230 - INFO - /home/pi/Desktop/images/17032025/16/25/image_17032025_16_26_06_30143.jpg
MAIN: 2025-03-17 16:26:07,230 - INFO - duration: 0.6737792179992539
MAIN: 2025-03-17 16:26:07,230 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/26'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 16:26:36,896 - INFO - taking picture
MAIN: 2025-03-17 16:26:36,897 - INFO - we take 1193 photos in this while loop
MAIN: 2025-03-17 16:26:36,897 - INFO - /home/pi/Desktop/images/17032025/16/26/image_17032025_16_26_36_29661.jpg
MAIN: 2025-03-17 16:26:36,897 - INFO - duration: 0.6794291149999481
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 16:27: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=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-03-17 16:27:06,722 - INFO - taking picture
MAIN: 2025-03-17 16:27:06,723 - INFO - we take 1194 photos in this while loop
MAIN: 2025-03-17 16:27:06,723 - INFO - /home/pi/Desktop/images/17032025/16/26/image_17032025_16_27_06_29859.jpg
MAIN: 2025-03-17 16:27:06,723 - INFO - duration: 0.6458108329970855
MAIN: 2025-03-17 16:27:06,724 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/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=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-03-17 16:27:37,492 - INFO - taking picture
MAIN: 2025-03-17 16:27:37,492 - INFO - we take 1195 photos in this while loop
MAIN: 2025-03-17 16:27:37,493 - INFO - /home/pi/Desktop/images/17032025/16/27/image_17032025_16_27_37_30721.jpg
MAIN: 2025-03-17 16:27:37,493 - INFO - duration: 0.6933330209940323
Corrupt JPEG data: premature end of data segment
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-03-17 16:28: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 ! 
MAIN: 2025-03-17 16:28:06,397 - INFO - taking picture
MAIN: 2025-03-17 16:28:06,398 - INFO - we take 1196 photos in this while loop
MAIN: 2025-03-17 16:28:06,398 - INFO - /home/pi/Desktop/images/17032025/16/27/image_17032025_16_28_05_28917.jpg
MAIN: 2025-03-17 16:28:06,398 - INFO - duration: 0.6811802600059309
MAIN: 2025-03-17 16:28:06,399 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 16:28:37,228 - INFO - taking picture
MAIN: 2025-03-17 16:28:37,229 - INFO - we take 1197 photos in this while loop
MAIN: 2025-03-17 16:28:37,229 - INFO - /home/pi/Desktop/images/17032025/16/28/image_17032025_16_28_36_30825.jpg
MAIN: 2025-03-17 16:28:37,229 - INFO - duration: 0.6864791140033049
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 16:29:05,996 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 16:29:07,007 - INFO - taking picture
MAIN: 2025-03-17 16:29:07,008 - INFO - we take 1198 photos in this while loop
MAIN: 2025-03-17 16:29:07,008 - INFO - /home/pi/Desktop/images/17032025/16/28/image_17032025_16_29_06_29830.jpg
MAIN: 2025-03-17 16:29:07,008 - INFO - duration: 0.6349582289985847
MAIN: 2025-03-17 16:29:07,008 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 16:29:36,593 - INFO - taking picture
MAIN: 2025-03-17 16:29:36,594 - INFO - we take 1199 photos in this while loop
MAIN: 2025-03-17 16:29:36,594 - INFO - /home/pi/Desktop/images/17032025/16/29/image_17032025_16_29_36_29527.jpg
MAIN: 2025-03-17 16:29:36,594 - INFO - duration: 0.6934159890006413
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 16:30:06,696 - INFO - taking picture
MAIN: 2025-03-17 16:30:06,697 - INFO - we take 1200 photos in this while loop
MAIN: 2025-03-17 16:30:06,697 - INFO - /home/pi/Desktop/images/17032025/16/29/image_17032025_16_30_06_30126.jpg
MAIN: 2025-03-17 16:30:06,697 - INFO - duration: 0.6700068749996717
MAIN: 2025-03-17 16:30:06,698 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/30'
MAIN: 2025-03-17 16:30:07,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=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-03-17 16:30:36,315 - INFO - taking picture
MAIN: 2025-03-17 16:30:36,316 - INFO - we take 1201 photos in this while loop
MAIN: 2025-03-17 16:30:36,316 - INFO - /home/pi/Desktop/images/17032025/16/30/image_17032025_16_30_35_29607.jpg
MAIN: 2025-03-17 16:30:36,316 - INFO - duration: 0.6810368229998858
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 16:31: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=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-03-17 16:31:07,556 - INFO - taking picture
MAIN: 2025-03-17 16:31:07,557 - INFO - we take 1202 photos in this while loop
MAIN: 2025-03-17 16:31:07,557 - INFO - /home/pi/Desktop/images/17032025/16/30/image_17032025_16_31_07_31213.jpg
MAIN: 2025-03-17 16:31:07,557 - INFO - duration: 0.7087359900033334
MAIN: 2025-03-17 16:31:07,558 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/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=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-03-17 16:31:37,165 - INFO - taking picture
MAIN: 2025-03-17 16:31:37,166 - INFO - we take 1203 photos in this while loop
MAIN: 2025-03-17 16:31:37,166 - INFO - /home/pi/Desktop/images/17032025/16/31/image_17032025_16_31_36_29622.jpg
MAIN: 2025-03-17 16:31:37,166 - INFO - duration: 0.6948421349952696
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-03-17 16:32: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=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-03-17 16:32:07,339 - INFO - taking picture
MAIN: 2025-03-17 16:32:07,340 - INFO - we take 1204 photos in this while loop
MAIN: 2025-03-17 16:32:07,340 - INFO - /home/pi/Desktop/images/17032025/16/31/image_17032025_16_32_06_30148.jpg
MAIN: 2025-03-17 16:32:07,340 - INFO - duration: 0.7207506769991596
MAIN: 2025-03-17 16:32:07,341 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/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-03-17 16:32:36,906 - INFO - taking picture
MAIN: 2025-03-17 16:32:36,907 - INFO - we take 1205 photos in this while loop
MAIN: 2025-03-17 16:32:36,907 - INFO - /home/pi/Desktop/images/17032025/16/32/image_17032025_16_32_36_29610.jpg
MAIN: 2025-03-17 16:32:36,907 - INFO - duration: 0.6772286970008281
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 16:33:06,120 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 16:33:06,801 - INFO - taking picture
MAIN: 2025-03-17 16:33:06,802 - INFO - we take 1206 photos in this while loop
MAIN: 2025-03-17 16:33:06,802 - INFO - /home/pi/Desktop/images/17032025/16/32/image_17032025_16_33_06_29912.jpg
MAIN: 2025-03-17 16:33:06,802 - INFO - duration: 0.6597219260002021
MAIN: 2025-03-17 16:33:06,803 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 16:33:36,320 - INFO - taking picture
MAIN: 2025-03-17 16:33:36,320 - INFO - we take 1207 photos in this while loop
MAIN: 2025-03-17 16:33:36,321 - INFO - /home/pi/Desktop/images/17032025/16/33/image_17032025_16_33_35_29488.jpg
MAIN: 2025-03-17 16:33:36,321 - INFO - duration: 0.6896571870020125
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 16:34:06,457 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 16:34:07,401 - INFO - taking picture
MAIN: 2025-03-17 16:34:07,401 - INFO - we take 1208 photos in this while loop
MAIN: 2025-03-17 16:34:07,402 - INFO - /home/pi/Desktop/images/17032025/16/33/image_17032025_16_34_07_31127.jpg
MAIN: 2025-03-17 16:34:07,402 - INFO - duration: 0.6431843230020604
MAIN: 2025-03-17 16:34:07,402 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 16:34:36,978 - INFO - taking picture
MAIN: 2025-03-17 16:34:36,979 - INFO - we take 1209 photos in this while loop
MAIN: 2025-03-17 16:34:36,979 - INFO - /home/pi/Desktop/images/17032025/16/34/image_17032025_16_34_36_29521.jpg
MAIN: 2025-03-17 16:34:36,979 - INFO - duration: 0.6990365100064082
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-03-17 16:35:06,863 - INFO - 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-03-17 16:35:06,976 - INFO - taking picture
MAIN: 2025-03-17 16:35:06,977 - INFO - we take 1210 photos in this while loop
MAIN: 2025-03-17 16:35:06,978 - INFO - /home/pi/Desktop/images/17032025/16/34/image_17032025_16_35_06_30002.jpg
MAIN: 2025-03-17 16:35:06,978 - INFO - duration: 0.6951989579974907
MAIN: 2025-03-17 16:35:06,979 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/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=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-03-17 16:35:36,485 - INFO - taking picture
MAIN: 2025-03-17 16:35:36,485 - INFO - we take 1211 photos in this while loop
MAIN: 2025-03-17 16:35:36,485 - INFO - /home/pi/Desktop/images/17032025/16/35/image_17032025_16_35_36_29511.jpg
MAIN: 2025-03-17 16:35:36,486 - INFO - duration: 0.6909666139981709
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 16:36: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 16:36:06,518 - INFO - taking picture
MAIN: 2025-03-17 16:36:06,518 - INFO - we take 1212 photos in this while loop
MAIN: 2025-03-17 16:36:06,519 - INFO - /home/pi/Desktop/images/17032025/16/35/image_17032025_16_36_06_30015.jpg
MAIN: 2025-03-17 16:36:06,519 - INFO - duration: 0.7088201040023705
MAIN: 2025-03-17 16:36:06,519 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/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=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-03-17 16:36:37,328 - INFO - taking picture
MAIN: 2025-03-17 16:36:37,329 - INFO - we take 1213 photos in this while loop
MAIN: 2025-03-17 16:36:37,329 - INFO - /home/pi/Desktop/images/17032025/16/36/image_17032025_16_36_36_30854.jpg
MAIN: 2025-03-17 16:36:37,329 - INFO - duration: 0.6648471349981264
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 16:37: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 16:37:07,391 - INFO - taking picture
MAIN: 2025-03-17 16:37:07,392 - INFO - we take 1214 photos in this while loop
MAIN: 2025-03-17 16:37:07,392 - INFO - /home/pi/Desktop/images/17032025/16/36/image_17032025_16_37_07_30074.jpg
MAIN: 2025-03-17 16:37:07,392 - INFO - duration: 0.6533616140004597
MAIN: 2025-03-17 16:37:07,392 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 16:37:37,079 - INFO - taking picture
MAIN: 2025-03-17 16:37:37,080 - INFO - we take 1215 photos in this while loop
MAIN: 2025-03-17 16:37:37,080 - INFO - /home/pi/Desktop/images/17032025/16/37/image_17032025_16_37_36_29626.jpg
MAIN: 2025-03-17 16:37:37,081 - INFO - duration: 0.7159589060029248
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 16:38: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=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-03-17 16:38:07,046 - INFO - taking picture
MAIN: 2025-03-17 16:38:07,047 - INFO - we take 1216 photos in this while loop
MAIN: 2025-03-17 16:38:07,047 - INFO - /home/pi/Desktop/images/17032025/16/37/image_17032025_16_38_06_29970.jpg
MAIN: 2025-03-17 16:38:07,047 - INFO - duration: 0.711742031002359
MAIN: 2025-03-17 16:38:07,048 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/38'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 16:38:36,719 - INFO - taking picture
MAIN: 2025-03-17 16:38:36,720 - INFO - we take 1217 photos in this while loop
MAIN: 2025-03-17 16:38:36,720 - INFO - /home/pi/Desktop/images/17032025/16/38/image_17032025_16_38_36_29667.jpg
MAIN: 2025-03-17 16:38:36,720 - INFO - duration: 0.7175596880042576
Corrupt JPEG data: premature end of data segment
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-03-17 16:39:06,602 - INFO - 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-03-17 16:39:06,852 - INFO - taking picture
MAIN: 2025-03-17 16:39:06,852 - INFO - we take 1218 photos in this while loop
MAIN: 2025-03-17 16:39:06,852 - INFO - /home/pi/Desktop/images/17032025/16/38/image_17032025_16_39_06_30160.jpg
MAIN: 2025-03-17 16:39:06,853 - INFO - duration: 0.6893175520017394
MAIN: 2025-03-17 16:39:06,853 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 16:39:36,475 - INFO - taking picture
MAIN: 2025-03-17 16:39:36,476 - INFO - we take 1219 photos in this while loop
MAIN: 2025-03-17 16:39:36,476 - INFO - /home/pi/Desktop/images/17032025/16/39/image_17032025_16_39_36_29610.jpg
MAIN: 2025-03-17 16:39:36,476 - INFO - duration: 0.7023681760038016
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 16:40:06,262 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 16:40:06,691 - INFO - taking picture
MAIN: 2025-03-17 16:40:06,692 - INFO - we take 1220 photos in this while loop
MAIN: 2025-03-17 16:40:06,693 - INFO - /home/pi/Desktop/images/17032025/16/39/image_17032025_16_40_06_30222.jpg
MAIN: 2025-03-17 16:40:06,693 - INFO - duration: 0.6972436970027047
MAIN: 2025-03-17 16:40:06,695 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 16:40:37,497 - INFO - taking picture
MAIN: 2025-03-17 16:40:37,497 - INFO - we take 1221 photos in this while loop
MAIN: 2025-03-17 16:40:37,497 - INFO - /home/pi/Desktop/images/17032025/16/40/image_17032025_16_40_37_30817.jpg
MAIN: 2025-03-17 16:40:37,498 - INFO - duration: 0.6842172910037334
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 16:41: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=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-03-17 16:41:07,463 - INFO - taking picture
MAIN: 2025-03-17 16:41:07,464 - INFO - we take 1222 photos in this while loop
MAIN: 2025-03-17 16:41:07,464 - INFO - /home/pi/Desktop/images/17032025/16/40/image_17032025_16_41_07_29981.jpg
MAIN: 2025-03-17 16:41:07,464 - INFO - duration: 0.6694152080017375
MAIN: 2025-03-17 16:41:07,464 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/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=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-03-17 16:41:37,086 - INFO - taking picture
MAIN: 2025-03-17 16:41:37,087 - INFO - we take 1223 photos in this while loop
MAIN: 2025-03-17 16:41:37,087 - INFO - /home/pi/Desktop/images/17032025/16/41/image_17032025_16_41_36_29620.jpg
MAIN: 2025-03-17 16:41:37,087 - INFO - duration: 0.6725860939986887
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-03-17 16:42:06,434 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 16:42:07,118 - INFO - taking picture
MAIN: 2025-03-17 16:42:07,119 - INFO - we take 1224 photos in this while loop
MAIN: 2025-03-17 16:42:07,119 - INFO - /home/pi/Desktop/images/17032025/16/41/image_17032025_16_42_06_30012.jpg
MAIN: 2025-03-17 16:42:07,119 - INFO - duration: 0.6919523959950311
MAIN: 2025-03-17 16:42:07,120 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/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=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-03-17 16:42:36,683 - INFO - taking picture
MAIN: 2025-03-17 16:42:36,683 - INFO - we take 1225 photos in this while loop
MAIN: 2025-03-17 16:42:36,684 - INFO - /home/pi/Desktop/images/17032025/16/42/image_17032025_16_42_36_29562.jpg
MAIN: 2025-03-17 16:42:36,684 - INFO - duration: 0.694229999993695
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 16:43: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=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-03-17 16:43:06,761 - INFO - taking picture
MAIN: 2025-03-17 16:43:06,761 - INFO - we take 1226 photos in this while loop
MAIN: 2025-03-17 16:43:06,761 - INFO - /home/pi/Desktop/images/17032025/16/42/image_17032025_16_43_06_30050.jpg
MAIN: 2025-03-17 16:43:06,762 - INFO - duration: 0.7218340620020172
MAIN: 2025-03-17 16:43:06,762 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 16:43:36,395 - INFO - taking picture
MAIN: 2025-03-17 16:43:36,396 - INFO - we take 1227 photos in this while loop
MAIN: 2025-03-17 16:43:36,396 - INFO - /home/pi/Desktop/images/17032025/16/43/image_17032025_16_43_36_29652.jpg
MAIN: 2025-03-17 16:43:36,396 - INFO - duration: 0.7036857290004264
[ WARN:0] global /tmp/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-03-17 16:44:06,304 - INFO - taking picture
MAIN: 2025-03-17 16:44:06,304 - INFO - we take 1228 photos in this while loop
MAIN: 2025-03-17 16:44:06,305 - INFO - /home/pi/Desktop/images/17032025/16/43/image_17032025_16_44_05_29921.jpg
MAIN: 2025-03-17 16:44:06,305 - INFO - duration: 0.6909722909986158
MAIN: 2025-03-17 16:44:06,305 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/44'
MAIN: 2025-03-17 16:44:06,872 - INFO - 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-03-17 16:44:37,065 - INFO - taking picture
MAIN: 2025-03-17 16:44:37,066 - INFO - we take 1229 photos in this while loop
MAIN: 2025-03-17 16:44:37,066 - INFO - /home/pi/Desktop/images/17032025/16/44/image_17032025_16_44_36_30761.jpg
MAIN: 2025-03-17 16:44:37,066 - INFO - duration: 0.6903869789966848
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 16:45: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=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-03-17 16:45:07,377 - INFO - taking picture
MAIN: 2025-03-17 16:45:07,378 - INFO - we take 1230 photos in this while loop
MAIN: 2025-03-17 16:45:07,378 - INFO - /home/pi/Desktop/images/17032025/16/44/image_17032025_16_45_06_30210.jpg
MAIN: 2025-03-17 16:45:07,378 - INFO - duration: 0.7911330720016849
MAIN: 2025-03-17 16:45:07,378 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/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=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-03-17 16:45:36,915 - INFO - taking picture
MAIN: 2025-03-17 16:45:36,915 - INFO - we take 1231 photos in this while loop
MAIN: 2025-03-17 16:45:36,916 - INFO - /home/pi/Desktop/images/17032025/16/45/image_17032025_16_45_36_29639.jpg
MAIN: 2025-03-17 16:45:36,916 - INFO - duration: 0.6898511969993706
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-03-17 16:46: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=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-03-17 16:46:06,791 - INFO - taking picture
MAIN: 2025-03-17 16:46:06,792 - INFO - we take 1232 photos in this while loop
MAIN: 2025-03-17 16:46:06,792 - INFO - /home/pi/Desktop/images/17032025/16/45/image_17032025_16_46_06_29932.jpg
MAIN: 2025-03-17 16:46:06,792 - INFO - duration: 0.6340086460040766
MAIN: 2025-03-17 16:46:06,792 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 16:46:36,305 - INFO - taking picture
MAIN: 2025-03-17 16:46:36,306 - INFO - we take 1233 photos in this while loop
MAIN: 2025-03-17 16:46:36,306 - INFO - /home/pi/Desktop/images/17032025/16/46/image_17032025_16_46_35_29461.jpg
MAIN: 2025-03-17 16:46:36,306 - INFO - duration: 0.6869942710036412
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 16:47:05,763 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 16:47:07,478 - INFO - taking picture
MAIN: 2025-03-17 16:47:07,478 - INFO - we take 1234 photos in this while loop
MAIN: 2025-03-17 16:47:07,478 - INFO - /home/pi/Desktop/images/17032025/16/46/image_17032025_16_47_07_31161.jpg
MAIN: 2025-03-17 16:47:07,479 - INFO - duration: 0.6981113020010525
MAIN: 2025-03-17 16:47:07,479 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/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=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-03-17 16:47:37,093 - INFO - taking picture
MAIN: 2025-03-17 16:47:37,094 - INFO - we take 1235 photos in this while loop
MAIN: 2025-03-17 16:47:37,094 - INFO - /home/pi/Desktop/images/17032025/16/47/image_17032025_16_47_36_29621.jpg
MAIN: 2025-03-17 16:47:37,094 - INFO - duration: 0.6916240110003855
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 16:48:06,554 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 16:48:07,028 - INFO - taking picture
MAIN: 2025-03-17 16:48:07,028 - INFO - we take 1236 photos in this while loop
MAIN: 2025-03-17 16:48:07,029 - INFO - /home/pi/Desktop/images/17032025/16/47/image_17032025_16_48_06_29935.jpg
MAIN: 2025-03-17 16:48:07,029 - INFO - duration: 0.6909589060014696
MAIN: 2025-03-17 16:48:07,029 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/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-03-17 16:48:36,573 - INFO - taking picture
MAIN: 2025-03-17 16:48:36,573 - INFO - we take 1237 photos in this while loop
MAIN: 2025-03-17 16:48:36,573 - INFO - /home/pi/Desktop/images/17032025/16/48/image_17032025_16_48_36_29553.jpg
MAIN: 2025-03-17 16:48:36,574 - INFO - duration: 0.68233239500114
[ WARN:0] global /tmp/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=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-03-17 16:49: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-03-17 16:49:06,645 - INFO - taking picture
MAIN: 2025-03-17 16:49:06,645 - INFO - we take 1238 photos in this while loop
MAIN: 2025-03-17 16:49:06,645 - INFO - /home/pi/Desktop/images/17032025/16/48/image_17032025_16_49_06_30047.jpg
MAIN: 2025-03-17 16:49:06,646 - INFO - duration: 0.7062845830005244
MAIN: 2025-03-17 16:49:06,646 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/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=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-03-17 16:49:36,308 - INFO - taking picture
MAIN: 2025-03-17 16:49:36,309 - INFO - we take 1239 photos in this while loop
MAIN: 2025-03-17 16:49:36,309 - INFO - /home/pi/Desktop/images/17032025/16/49/image_17032025_16_49_35_29676.jpg
MAIN: 2025-03-17 16:49:36,309 - INFO - duration: 0.6927776559969061
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 16:50:06,684 - INFO - taking picture
MAIN: 2025-03-17 16:50:06,685 - INFO - we take 1240 photos in this while loop
MAIN: 2025-03-17 16:50:06,685 - INFO - /home/pi/Desktop/images/17032025/16/49/image_17032025_16_50_06_30361.jpg
MAIN: 2025-03-17 16:50:06,685 - INFO - duration: 0.7076820829970529
MAIN: 2025-03-17 16:50:06,686 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/50'
MAIN: 2025-03-17 16:50:07,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=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-03-17 16:50:37,540 - INFO - taking picture
MAIN: 2025-03-17 16:50:37,541 - INFO - we take 1241 photos in this while loop
MAIN: 2025-03-17 16:50:37,541 - INFO - /home/pi/Desktop/images/17032025/16/50/image_17032025_16_50_37_30864.jpg
MAIN: 2025-03-17 16:50:37,541 - INFO - duration: 0.6983062500003143
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 16:51: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=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-03-17 16:51:07,488 - INFO - taking picture
MAIN: 2025-03-17 16:51:07,489 - INFO - we take 1242 photos in this while loop
MAIN: 2025-03-17 16:51:07,489 - INFO - /home/pi/Desktop/images/17032025/16/50/image_17032025_16_51_07_29930.jpg
MAIN: 2025-03-17 16:51:07,490 - INFO - duration: 0.7162442179978825
MAIN: 2025-03-17 16:51:07,490 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 16:51:37,168 - INFO - taking picture
MAIN: 2025-03-17 16:51:37,169 - INFO - we take 1243 photos in this while loop
MAIN: 2025-03-17 16:51:37,169 - INFO - /home/pi/Desktop/images/17032025/16/51/image_17032025_16_51_36_29681.jpg
MAIN: 2025-03-17 16:51:37,169 - INFO - duration: 0.7146961980033666
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 16:52:06,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-03-17 16:52:07,208 - INFO - taking picture
MAIN: 2025-03-17 16:52:07,209 - INFO - we take 1244 photos in this while loop
MAIN: 2025-03-17 16:52:07,209 - INFO - /home/pi/Desktop/images/17032025/16/51/image_17032025_16_52_06_30091.jpg
MAIN: 2025-03-17 16:52:07,209 - INFO - duration: 0.6632963540032506
MAIN: 2025-03-17 16:52:07,210 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/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=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-03-17 16:52:36,914 - INFO - taking picture
MAIN: 2025-03-17 16:52:36,915 - INFO - we take 1245 photos in this while loop
MAIN: 2025-03-17 16:52:36,915 - INFO - /home/pi/Desktop/images/17032025/16/52/image_17032025_16_52_36_29656.jpg
MAIN: 2025-03-17 16:52:36,915 - INFO - duration: 0.7129818230023375
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 16:53: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=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-03-17 16:53:06,932 - INFO - taking picture
MAIN: 2025-03-17 16:53:06,933 - INFO - we take 1246 photos in this while loop
MAIN: 2025-03-17 16:53:06,933 - INFO - /home/pi/Desktop/images/17032025/16/52/image_17032025_16_53_06_30072.jpg
MAIN: 2025-03-17 16:53:06,933 - INFO - duration: 0.6579403650030144
MAIN: 2025-03-17 16:53:06,934 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/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=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-03-17 16:53:36,509 - INFO - taking picture
MAIN: 2025-03-17 16:53:36,510 - INFO - we take 1247 photos in this while loop
MAIN: 2025-03-17 16:53:36,510 - INFO - /home/pi/Desktop/images/17032025/16/53/image_17032025_16_53_36_29543.jpg
MAIN: 2025-03-17 16:53:36,510 - INFO - duration: 0.6917911460041068
[ WARN:0] global /tmp/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-03-17 16:54:06,521 - INFO - taking picture
MAIN: 2025-03-17 16:54:06,521 - INFO - we take 1248 photos in this while loop
MAIN: 2025-03-17 16:54:06,521 - INFO - /home/pi/Desktop/images/17032025/16/53/image_17032025_16_54_06_30021.jpg
MAIN: 2025-03-17 16:54:06,522 - INFO - duration: 0.6815449999994598
MAIN: 2025-03-17 16:54:06,522 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/54'
MAIN: 2025-03-17 16:54: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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 16:54:37,371 - INFO - taking picture
MAIN: 2025-03-17 16:54:37,371 - INFO - we take 1249 photos in this while loop
MAIN: 2025-03-17 16:54:37,372 - INFO - /home/pi/Desktop/images/17032025/16/54/image_17032025_16_54_36_30895.jpg
MAIN: 2025-03-17 16:54:37,372 - INFO - duration: 0.6359744259971194
[ WARN:0] global /tmp/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-03-17 16:55: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 ! 
MAIN: 2025-03-17 16:55:06,321 - INFO - taking picture
MAIN: 2025-03-17 16:55:06,321 - INFO - we take 1250 photos in this while loop
MAIN: 2025-03-17 16:55:06,322 - INFO - /home/pi/Desktop/images/17032025/16/54/image_17032025_16_55_05_28887.jpg
MAIN: 2025-03-17 16:55:06,322 - INFO - duration: 0.6983712490036851
MAIN: 2025-03-17 16:55:06,322 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/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=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-03-17 16:55:37,178 - INFO - taking picture
MAIN: 2025-03-17 16:55:37,178 - INFO - we take 1251 photos in this while loop
MAIN: 2025-03-17 16:55:37,179 - INFO - /home/pi/Desktop/images/17032025/16/55/image_17032025_16_55_36_30846.jpg
MAIN: 2025-03-17 16:55:37,179 - INFO - duration: 0.7087528640040546
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 16:56:06,463 - INFO - 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-03-17 16:56:07,339 - INFO - taking picture
MAIN: 2025-03-17 16:56:07,339 - INFO - we take 1252 photos in this while loop
MAIN: 2025-03-17 16:56:07,340 - INFO - /home/pi/Desktop/images/17032025/16/55/image_17032025_16_56_06_30225.jpg
MAIN: 2025-03-17 16:56:07,340 - INFO - duration: 0.6445400520024123
MAIN: 2025-03-17 16:56:07,340 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 16:56:37,043 - INFO - taking picture
MAIN: 2025-03-17 16:56:37,043 - INFO - we take 1253 photos in this while loop
MAIN: 2025-03-17 16:56:37,043 - INFO - /home/pi/Desktop/images/17032025/16/56/image_17032025_16_56_36_29642.jpg
MAIN: 2025-03-17 16:56:37,044 - INFO - duration: 0.7060794779972639
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 16:57:06,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-03-17 16:57:07,125 - INFO - taking picture
MAIN: 2025-03-17 16:57:07,126 - INFO - we take 1254 photos in this while loop
MAIN: 2025-03-17 16:57:07,126 - INFO - /home/pi/Desktop/images/17032025/16/56/image_17032025_16_57_06_30108.jpg
MAIN: 2025-03-17 16:57:07,126 - INFO - duration: 0.6800186969994684
MAIN: 2025-03-17 16:57:07,126 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 16:57:36,664 - INFO - taking picture
MAIN: 2025-03-17 16:57:36,664 - INFO - we take 1255 photos in this while loop
MAIN: 2025-03-17 16:57:36,664 - INFO - /home/pi/Desktop/images/17032025/16/57/image_17032025_16_57_36_29523.jpg
MAIN: 2025-03-17 16:57:36,665 - INFO - duration: 0.6946542710065842
[ WARN:0] global /tmp/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-03-17 16:58: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 ! 
MAIN: 2025-03-17 16:58:06,890 - INFO - taking picture
MAIN: 2025-03-17 16:58:06,891 - INFO - we take 1256 photos in this while loop
MAIN: 2025-03-17 16:58:06,891 - INFO - /home/pi/Desktop/images/17032025/16/57/image_17032025_16_58_06_30226.jpg
MAIN: 2025-03-17 16:58:06,891 - INFO - duration: 0.6948180210019927
MAIN: 2025-03-17 16:58:06,891 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 16:58:36,479 - INFO - taking picture
MAIN: 2025-03-17 16:58:36,479 - INFO - we take 1257 photos in this while loop
MAIN: 2025-03-17 16:58:36,480 - INFO - /home/pi/Desktop/images/17032025/16/58/image_17032025_16_58_36_29587.jpg
MAIN: 2025-03-17 16:58:36,480 - INFO - duration: 0.6959926039999118
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 16:59: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=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-03-17 16:59:07,336 - INFO - taking picture
MAIN: 2025-03-17 16:59:07,337 - INFO - we take 1258 photos in this while loop
MAIN: 2025-03-17 16:59:07,337 - INFO - /home/pi/Desktop/images/17032025/16/58/image_17032025_16_59_06_30906.jpg
MAIN: 2025-03-17 16:59:07,337 - INFO - duration: 0.6471413539984496
MAIN: 2025-03-17 16:59:07,337 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/16/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 16:59:36,839 - INFO - taking picture
MAIN: 2025-03-17 16:59:36,839 - INFO - we take 1259 photos in this while loop
MAIN: 2025-03-17 16:59:36,839 - INFO - /home/pi/Desktop/images/17032025/16/59/image_17032025_16_59_36_29461.jpg
MAIN: 2025-03-17 16:59:36,840 - INFO - duration: 0.6877493749998393
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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=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-03-17 17:00:06,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 ! 
MAIN: 2025-03-17 17:00:07,041 - INFO - taking picture
MAIN: 2025-03-17 17:00:07,042 - INFO - we take 1260 photos in this while loop
MAIN: 2025-03-17 17:00:07,042 - INFO - /home/pi/Desktop/images/17032025/16/59/image_17032025_17_00_06_30211.jpg
MAIN: 2025-03-17 17:00:07,043 - INFO - duration: 0.6793782810054836
MAIN: 2025-03-17 17:00:07,044 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/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=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-03-17 17:00:36,704 - INFO - taking picture
MAIN: 2025-03-17 17:00:36,704 - INFO - we take 1261 photos in this while loop
MAIN: 2025-03-17 17:00:36,705 - INFO - /home/pi/Desktop/images/17032025/17/00/image_17032025_17_00_36_29645.jpg
MAIN: 2025-03-17 17:00:36,705 - INFO - duration: 0.6955618750071153
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-03-17 17:01: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=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-03-17 17:01:06,585 - INFO - taking picture
MAIN: 2025-03-17 17:01:06,585 - INFO - we take 1262 photos in this while loop
MAIN: 2025-03-17 17:01:06,586 - INFO - /home/pi/Desktop/images/17032025/17/00/image_17032025_17_01_06_29935.jpg
MAIN: 2025-03-17 17:01:06,586 - INFO - duration: 0.641450832998089
MAIN: 2025-03-17 17:01:06,586 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:01:37,421 - INFO - taking picture
MAIN: 2025-03-17 17:01:37,421 - INFO - we take 1263 photos in this while loop
MAIN: 2025-03-17 17:01:37,422 - INFO - /home/pi/Desktop/images/17032025/17/01/image_17032025_17_01_37_30787.jpg
MAIN: 2025-03-17 17:01:37,422 - INFO - duration: 0.6895771349954884
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-03-17 17:02: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=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-03-17 17:02:07,444 - INFO - taking picture
MAIN: 2025-03-17 17:02:07,445 - INFO - we take 1264 photos in this while loop
MAIN: 2025-03-17 17:02:07,445 - INFO - /home/pi/Desktop/images/17032025/17/01/image_17032025_17_02_07_30046.jpg
MAIN: 2025-03-17 17:02:07,445 - INFO - duration: 0.6668261969971354
MAIN: 2025-03-17 17:02:07,445 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:02:37,010 - INFO - taking picture
MAIN: 2025-03-17 17:02:37,010 - INFO - we take 1265 photos in this while loop
MAIN: 2025-03-17 17:02:37,010 - INFO - /home/pi/Desktop/images/17032025/17/02/image_17032025_17_02_36_29533.jpg
MAIN: 2025-03-17 17:02:37,011 - INFO - duration: 0.6988031769942609
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 17:03: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=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-03-17 17:03:07,011 - INFO - taking picture
MAIN: 2025-03-17 17:03:07,011 - INFO - we take 1266 photos in this while loop
MAIN: 2025-03-17 17:03:07,011 - INFO - /home/pi/Desktop/images/17032025/17/02/image_17032025_17_03_06_30063.jpg
MAIN: 2025-03-17 17:03:07,012 - INFO - duration: 0.6367299470002763
MAIN: 2025-03-17 17:03:07,012 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/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=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-03-17 17:03:36,484 - INFO - taking picture
MAIN: 2025-03-17 17:03:36,485 - INFO - we take 1267 photos in this while loop
MAIN: 2025-03-17 17:03:36,485 - INFO - /home/pi/Desktop/images/17032025/17/03/image_17032025_17_03_36_29419.jpg
MAIN: 2025-03-17 17:03:36,485 - INFO - duration: 0.6912799999990966
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 17:04:06,291 - INFO - taking picture
MAIN: 2025-03-17 17:04:06,292 - INFO - we take 1268 photos in this while loop
MAIN: 2025-03-17 17:04:06,292 - INFO - /home/pi/Desktop/images/17032025/17/03/image_17032025_17_04_05_29862.jpg
MAIN: 2025-03-17 17:04:06,292 - INFO - duration: 0.6360416660027113
MAIN: 2025-03-17 17:04:06,293 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/04'
MAIN: 2025-03-17 17:04:06,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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:04:37,233 - INFO - taking picture
MAIN: 2025-03-17 17:04:37,234 - INFO - we take 1269 photos in this while loop
MAIN: 2025-03-17 17:04:37,234 - INFO - /home/pi/Desktop/images/17032025/17/04/image_17032025_17_04_36_30893.jpg
MAIN: 2025-03-17 17:04:37,234 - INFO - duration: 0.6845088019981631
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 17:05:06,415 - INFO - 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-03-17 17:05:07,421 - INFO - taking picture
MAIN: 2025-03-17 17:05:07,422 - INFO - we take 1270 photos in this while loop
MAIN: 2025-03-17 17:05:07,422 - INFO - /home/pi/Desktop/images/17032025/17/04/image_17032025_17_05_07_30184.jpg
MAIN: 2025-03-17 17:05:07,422 - INFO - duration: 0.6883946870002546
MAIN: 2025-03-17 17:05:07,423 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:05:37,038 - INFO - taking picture
MAIN: 2025-03-17 17:05:37,039 - INFO - we take 1271 photos in this while loop
MAIN: 2025-03-17 17:05:37,039 - INFO - /home/pi/Desktop/images/17032025/17/05/image_17032025_17_05_36_29615.jpg
MAIN: 2025-03-17 17:05:37,039 - INFO - duration: 0.6897406770003727
Corrupt JPEG data: premature end of data segment
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-03-17 17:06: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=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-03-17 17:06:06,736 - INFO - taking picture
MAIN: 2025-03-17 17:06:06,737 - INFO - we take 1272 photos in this while loop
MAIN: 2025-03-17 17:06:06,737 - INFO - /home/pi/Desktop/images/17032025/17/05/image_17032025_17_06_06_29751.jpg
MAIN: 2025-03-17 17:06:06,737 - INFO - duration: 0.6360504160038545
MAIN: 2025-03-17 17:06:06,737 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/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-03-17 17:06:36,299 - INFO - taking picture
MAIN: 2025-03-17 17:06:36,300 - INFO - we take 1273 photos in this while loop
MAIN: 2025-03-17 17:06:36,300 - INFO - /home/pi/Desktop/images/17032025/17/06/image_17032025_17_06_35_29534.jpg
MAIN: 2025-03-17 17:06:36,300 - INFO - duration: 0.6648245310061611
Corrupt JPEG data: premature end of data segment
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-03-17 17:07:05,803 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:07:06,392 - INFO - taking picture
MAIN: 2025-03-17 17:07:06,392 - INFO - we take 1274 photos in this while loop
MAIN: 2025-03-17 17:07:06,393 - INFO - /home/pi/Desktop/images/17032025/17/06/image_17032025_17_07_05_30037.jpg
MAIN: 2025-03-17 17:07:06,393 - INFO - duration: 0.7196108850039309
MAIN: 2025-03-17 17:07:06,393 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/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=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-03-17 17:07:37,211 - INFO - taking picture
MAIN: 2025-03-17 17:07:37,212 - INFO - we take 1275 photos in this while loop
MAIN: 2025-03-17 17:07:37,212 - INFO - /home/pi/Desktop/images/17032025/17/07/image_17032025_17_07_36_30834.jpg
MAIN: 2025-03-17 17:07:37,212 - INFO - duration: 0.704543489999196
Corrupt JPEG data: premature end of data segment
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-03-17 17:08:06,596 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:08:07,228 - INFO - taking picture
MAIN: 2025-03-17 17:08:07,228 - INFO - we take 1276 photos in this while loop
MAIN: 2025-03-17 17:08:07,228 - INFO - /home/pi/Desktop/images/17032025/17/07/image_17032025_17_08_06_30023.jpg
MAIN: 2025-03-17 17:08:07,229 - INFO - duration: 0.6973365099984221
MAIN: 2025-03-17 17:08:07,229 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:08:36,836 - INFO - taking picture
MAIN: 2025-03-17 17:08:36,837 - INFO - we take 1277 photos in this while loop
MAIN: 2025-03-17 17:08:36,837 - INFO - /home/pi/Desktop/images/17032025/17/08/image_17032025_17_08_36_29602.jpg
MAIN: 2025-03-17 17:08:36,837 - INFO - duration: 0.7028046350023942
Corrupt JPEG data: premature end of data segment
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-03-17 17:09:06,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=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-03-17 17:09:06,856 - INFO - taking picture
MAIN: 2025-03-17 17:09:06,857 - INFO - we take 1278 photos in this while loop
MAIN: 2025-03-17 17:09:06,857 - INFO - /home/pi/Desktop/images/17032025/17/08/image_17032025_17_09_06_30013.jpg
MAIN: 2025-03-17 17:09:06,857 - INFO - duration: 0.7092061970033683
MAIN: 2025-03-17 17:09:06,858 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 17:09:36,479 - INFO - taking picture
MAIN: 2025-03-17 17:09:36,479 - INFO - we take 1279 photos in this while loop
MAIN: 2025-03-17 17:09:36,480 - INFO - /home/pi/Desktop/images/17032025/17/09/image_17032025_17_09_36_29659.jpg
MAIN: 2025-03-17 17:09:36,480 - INFO - duration: 0.6720393229988986
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:10:06,720 - INFO - taking picture
MAIN: 2025-03-17 17:10:06,721 - INFO - we take 1280 photos in this while loop
MAIN: 2025-03-17 17:10:06,721 - INFO - /home/pi/Desktop/images/17032025/17/09/image_17032025_17_10_06_30074.jpg
MAIN: 2025-03-17 17:10:06,722 - INFO - duration: 0.8394893750009942
MAIN: 2025-03-17 17:10:06,722 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/10'
MAIN: 2025-03-17 17:10:07,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:10:37,476 - INFO - taking picture
MAIN: 2025-03-17 17:10:37,476 - INFO - we take 1281 photos in this while loop
MAIN: 2025-03-17 17:10:37,476 - INFO - /home/pi/Desktop/images/17032025/17/10/image_17032025_17_10_37_30903.jpg
MAIN: 2025-03-17 17:10:37,477 - INFO - duration: 0.6912604170065606
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-03-17 17:11:05,981 - INFO - 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-03-17 17:11:06,262 - INFO - taking picture
MAIN: 2025-03-17 17:11:06,263 - INFO - we take 1282 photos in this while loop
MAIN: 2025-03-17 17:11:06,263 - INFO - /home/pi/Desktop/images/17032025/17/10/image_17032025_17_11_05_28797.jpg
MAIN: 2025-03-17 17:11:06,263 - INFO - duration: 0.6802903640054865
MAIN: 2025-03-17 17:11:06,263 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/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=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-03-17 17:11:37,213 - INFO - taking picture
MAIN: 2025-03-17 17:11:37,214 - INFO - we take 1283 photos in this while loop
MAIN: 2025-03-17 17:11:37,214 - INFO - /home/pi/Desktop/images/17032025/17/11/image_17032025_17_11_36_30943.jpg
MAIN: 2025-03-17 17:11:37,214 - INFO - duration: 0.6886881250029546
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 17:12: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:12:07,182 - INFO - taking picture
MAIN: 2025-03-17 17:12:07,183 - INFO - we take 1284 photos in this while loop
MAIN: 2025-03-17 17:12:07,183 - INFO - /home/pi/Desktop/images/17032025/17/11/image_17032025_17_12_06_30022.jpg
MAIN: 2025-03-17 17:12:07,183 - INFO - duration: 0.634953854001651
MAIN: 2025-03-17 17:12:07,183 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/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=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-03-17 17:12:36,821 - INFO - taking picture
MAIN: 2025-03-17 17:12:36,821 - INFO - we take 1285 photos in this while loop
MAIN: 2025-03-17 17:12:36,822 - INFO - /home/pi/Desktop/images/17032025/17/12/image_17032025_17_12_36_29578.jpg
MAIN: 2025-03-17 17:12:36,822 - INFO - duration: 0.6957275509994361
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-03-17 17:13: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=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-03-17 17:13:06,779 - INFO - taking picture
MAIN: 2025-03-17 17:13:06,779 - INFO - we take 1286 photos in this while loop
MAIN: 2025-03-17 17:13:06,779 - INFO - /home/pi/Desktop/images/17032025/17/12/image_17032025_17_13_06_29937.jpg
MAIN: 2025-03-17 17:13:06,779 - INFO - duration: 0.7161513019964332
MAIN: 2025-03-17 17:13:06,780 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 17:13:36,496 - INFO - taking picture
MAIN: 2025-03-17 17:13:36,496 - INFO - we take 1287 photos in this while loop
MAIN: 2025-03-17 17:13:36,496 - INFO - /home/pi/Desktop/images/17032025/17/13/image_17032025_17_13_36_29731.jpg
MAIN: 2025-03-17 17:13:36,497 - INFO - duration: 0.7012566659977892
Corrupt JPEG data: premature end of data segment
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-03-17 17:14:06,400 - INFO - taking picture
MAIN: 2025-03-17 17:14:06,400 - INFO - we take 1288 photos in this while loop
MAIN: 2025-03-17 17:14:06,401 - INFO - /home/pi/Desktop/images/17032025/17/13/image_17032025_17_14_06_29971.jpg
MAIN: 2025-03-17 17:14:06,401 - INFO - duration: 0.6341635409989976
MAIN: 2025-03-17 17:14:06,401 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/14'
MAIN: 2025-03-17 17:14:06,672 - INFO - 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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:14:37,151 - INFO - taking picture
MAIN: 2025-03-17 17:14:37,151 - INFO - we take 1289 photos in this while loop
MAIN: 2025-03-17 17:14:37,151 - INFO - /home/pi/Desktop/images/17032025/17/14/image_17032025_17_14_36_30716.jpg
MAIN: 2025-03-17 17:14:37,152 - INFO - duration: 0.6685831770009827
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 17:15: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:15:07,147 - INFO - taking picture
MAIN: 2025-03-17 17:15:07,148 - INFO - we take 1290 photos in this while loop
MAIN: 2025-03-17 17:15:07,148 - INFO - /home/pi/Desktop/images/17032025/17/14/image_17032025_17_15_06_29968.jpg
MAIN: 2025-03-17 17:15:07,148 - INFO - duration: 0.6968785410062992
MAIN: 2025-03-17 17:15:07,149 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/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=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-03-17 17:15:36,609 - INFO - taking picture
MAIN: 2025-03-17 17:15:36,610 - INFO - we take 1291 photos in this while loop
MAIN: 2025-03-17 17:15:36,610 - INFO - /home/pi/Desktop/images/17032025/17/15/image_17032025_17_15_36_29486.jpg
MAIN: 2025-03-17 17:15:36,610 - INFO - duration: 0.6724172909962363
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 17:16:06,128 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:16:06,691 - INFO - taking picture
MAIN: 2025-03-17 17:16:06,691 - INFO - we take 1292 photos in this while loop
MAIN: 2025-03-17 17:16:06,692 - INFO - /home/pi/Desktop/images/17032025/17/15/image_17032025_17_16_06_30051.jpg
MAIN: 2025-03-17 17:16:06,692 - INFO - duration: 0.7024230729948613
MAIN: 2025-03-17 17:16:06,692 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:16:36,280 - INFO - taking picture
MAIN: 2025-03-17 17:16:36,280 - INFO - we take 1293 photos in this while loop
MAIN: 2025-03-17 17:16:36,281 - INFO - /home/pi/Desktop/images/17032025/17/16/image_17032025_17_16_35_29610.jpg
MAIN: 2025-03-17 17:16:36,281 - INFO - duration: 0.6808943229989382
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 17:17: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 ! 
MAIN: 2025-03-17 17:17:06,368 - INFO - taking picture
MAIN: 2025-03-17 17:17:06,369 - INFO - we take 1294 photos in this while loop
MAIN: 2025-03-17 17:17:06,369 - INFO - /home/pi/Desktop/images/17032025/17/16/image_17032025_17_17_05_30074.jpg
MAIN: 2025-03-17 17:17:06,369 - INFO - duration: 0.6942292710009497
MAIN: 2025-03-17 17:17:06,369 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:17:37,242 - INFO - taking picture
MAIN: 2025-03-17 17:17:37,242 - INFO - we take 1295 photos in this while loop
MAIN: 2025-03-17 17:17:37,243 - INFO - /home/pi/Desktop/images/17032025/17/17/image_17032025_17_17_36_30888.jpg
MAIN: 2025-03-17 17:17:37,243 - INFO - duration: 0.6795616140007041
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 17:18:06,358 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:18:07,090 - INFO - taking picture
MAIN: 2025-03-17 17:18:07,091 - INFO - we take 1296 photos in this while loop
MAIN: 2025-03-17 17:18:07,091 - INFO - /home/pi/Desktop/images/17032025/17/17/image_17032025_17_18_06_29849.jpg
MAIN: 2025-03-17 17:18:07,091 - INFO - duration: 0.6784418229945004
MAIN: 2025-03-17 17:18:07,092 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/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=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-03-17 17:18:36,755 - INFO - taking picture
MAIN: 2025-03-17 17:18:36,755 - INFO - we take 1297 photos in this while loop
MAIN: 2025-03-17 17:18:36,756 - INFO - /home/pi/Desktop/images/17032025/17/18/image_17032025_17_18_36_29641.jpg
MAIN: 2025-03-17 17:18:36,756 - INFO - duration: 0.7012641660039662
[ WARN:0] global /tmp/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-03-17 17:19: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 ! 
MAIN: 2025-03-17 17:19:06,794 - INFO - taking picture
MAIN: 2025-03-17 17:19:06,795 - INFO - we take 1298 photos in this while loop
MAIN: 2025-03-17 17:19:06,795 - INFO - /home/pi/Desktop/images/17032025/17/18/image_17032025_17_19_06_30062.jpg
MAIN: 2025-03-17 17:19:06,795 - INFO - duration: 0.6784914059971925
MAIN: 2025-03-17 17:19:06,796 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/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=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-03-17 17:19:36,271 - INFO - taking picture
MAIN: 2025-03-17 17:19:36,271 - INFO - we take 1299 photos in this while loop
MAIN: 2025-03-17 17:19:36,272 - INFO - /home/pi/Desktop/images/17032025/17/19/image_17032025_17_19_35_29480.jpg
MAIN: 2025-03-17 17:19:36,272 - INFO - duration: 0.6746241139990161
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-03-17 17:20:06,614 - INFO - taking picture
MAIN: 2025-03-17 17:20:06,615 - INFO - we take 1300 photos in this while loop
MAIN: 2025-03-17 17:20:06,616 - INFO - /home/pi/Desktop/images/17032025/17/19/image_17032025_17_20_06_30354.jpg
MAIN: 2025-03-17 17:20:06,616 - INFO - duration: 0.6643314059983823
MAIN: 2025-03-17 17:20:06,617 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/20'
MAIN: 2025-03-17 17:20: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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:20:37,425 - INFO - taking picture
MAIN: 2025-03-17 17:20:37,425 - INFO - we take 1301 photos in this while loop
MAIN: 2025-03-17 17:20:37,426 - INFO - /home/pi/Desktop/images/17032025/17/20/image_17032025_17_20_37_30776.jpg
MAIN: 2025-03-17 17:20:37,426 - INFO - duration: 0.6979900520018418
Corrupt JPEG data: premature end of data segment
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-03-17 17:21: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 ! 
MAIN: 2025-03-17 17:21:06,392 - INFO - taking picture
MAIN: 2025-03-17 17:21:06,393 - INFO - we take 1302 photos in this while loop
MAIN: 2025-03-17 17:21:06,393 - INFO - /home/pi/Desktop/images/17032025/17/20/image_17032025_17_21_05_28963.jpg
MAIN: 2025-03-17 17:21:06,393 - INFO - duration: 0.7016535410002689
MAIN: 2025-03-17 17:21:06,394 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:21:37,251 - INFO - taking picture
MAIN: 2025-03-17 17:21:37,252 - INFO - we take 1303 photos in this while loop
MAIN: 2025-03-17 17:21:37,252 - INFO - /home/pi/Desktop/images/17032025/17/21/image_17032025_17_21_36_30866.jpg
MAIN: 2025-03-17 17:21:37,252 - INFO - duration: 0.6938655729973107
Corrupt JPEG data: premature end of data segment
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-03-17 17:22:06,671 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:22:07,256 - INFO - taking picture
MAIN: 2025-03-17 17:22:07,256 - INFO - we take 1304 photos in this while loop
MAIN: 2025-03-17 17:22:07,257 - INFO - /home/pi/Desktop/images/17032025/17/21/image_17032025_17_22_06_29986.jpg
MAIN: 2025-03-17 17:22:07,257 - INFO - duration: 0.7122502080019331
MAIN: 2025-03-17 17:22:07,257 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:22:36,962 - INFO - taking picture
MAIN: 2025-03-17 17:22:36,963 - INFO - we take 1305 photos in this while loop
MAIN: 2025-03-17 17:22:36,963 - INFO - /home/pi/Desktop/images/17032025/17/22/image_17032025_17_22_36_29719.jpg
MAIN: 2025-03-17 17:22:36,963 - INFO - duration: 0.6993950000032783
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-03-17 17:23: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-03-17 17:23:07,005 - INFO - taking picture
MAIN: 2025-03-17 17:23:07,006 - INFO - we take 1306 photos in this while loop
MAIN: 2025-03-17 17:23:07,006 - INFO - /home/pi/Desktop/images/17032025/17/22/image_17032025_17_23_06_30051.jpg
MAIN: 2025-03-17 17:23:07,006 - INFO - duration: 0.6911491139981081
MAIN: 2025-03-17 17:23:07,007 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/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=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-03-17 17:23:36,600 - INFO - taking picture
MAIN: 2025-03-17 17:23:36,601 - INFO - we take 1307 photos in this while loop
MAIN: 2025-03-17 17:23:36,601 - INFO - /home/pi/Desktop/images/17032025/17/23/image_17032025_17_23_36_29590.jpg
MAIN: 2025-03-17 17:23:36,601 - INFO - duration: 0.6952805210021324
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 17:24:06,679 - INFO - taking picture
MAIN: 2025-03-17 17:24:06,679 - INFO - we take 1308 photos in this while loop
MAIN: 2025-03-17 17:24:06,680 - INFO - /home/pi/Desktop/images/17032025/17/23/image_17032025_17_24_06_30091.jpg
MAIN: 2025-03-17 17:24:06,680 - INFO - duration: 0.6828608860014356
MAIN: 2025-03-17 17:24:06,680 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/24'
MAIN: 2025-03-17 17:24:06,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=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-03-17 17:24:36,368 - INFO - taking picture
MAIN: 2025-03-17 17:24:36,368 - INFO - we take 1309 photos in this while loop
MAIN: 2025-03-17 17:24:36,368 - INFO - /home/pi/Desktop/images/17032025/17/24/image_17032025_17_24_35_29674.jpg
MAIN: 2025-03-17 17:24:36,368 - INFO - duration: 0.6975911460031057
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:25:06,714 - INFO - taking picture
MAIN: 2025-03-17 17:25:06,715 - INFO - we take 1310 photos in this while loop
MAIN: 2025-03-17 17:25:06,716 - INFO - /home/pi/Desktop/images/17032025/17/24/image_17032025_17_25_06_30358.jpg
MAIN: 2025-03-17 17:25:06,717 - INFO - duration: 0.6867326039937325
MAIN: 2025-03-17 17:25:06,717 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/25'
MAIN: 2025-03-17 17:25:07,363 - INFO - 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-03-17 17:25:36,400 - INFO - taking picture
MAIN: 2025-03-17 17:25:36,401 - INFO - we take 1311 photos in this while loop
MAIN: 2025-03-17 17:25:36,401 - INFO - /home/pi/Desktop/images/17032025/17/25/image_17032025_17_25_36_29672.jpg
MAIN: 2025-03-17 17:25:36,401 - INFO - duration: 0.6986138020001817
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-03-17 17:26: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 ! 
MAIN: 2025-03-17 17:26:06,544 - INFO - taking picture
MAIN: 2025-03-17 17:26:06,544 - INFO - we take 1312 photos in this while loop
MAIN: 2025-03-17 17:26:06,544 - INFO - /home/pi/Desktop/images/17032025/17/25/image_17032025_17_26_06_30143.jpg
MAIN: 2025-03-17 17:26:06,545 - INFO - duration: 0.6987805210010265
MAIN: 2025-03-17 17:26:06,545 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/26'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:26:37,435 - INFO - taking picture
MAIN: 2025-03-17 17:26:37,436 - INFO - we take 1313 photos in this while loop
MAIN: 2025-03-17 17:26:37,436 - INFO - /home/pi/Desktop/images/17032025/17/26/image_17032025_17_26_37_30910.jpg
MAIN: 2025-03-17 17:26:37,437 - INFO - duration: 0.6806606769969221
[ WARN:0] global /tmp/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-03-17 17:27:06,272 - INFO - taking picture
MAIN: 2025-03-17 17:27:06,272 - INFO - we take 1314 photos in this while loop
MAIN: 2025-03-17 17:27:06,272 - INFO - /home/pi/Desktop/images/17032025/17/26/image_17032025_17_27_05_28826.jpg
MAIN: 2025-03-17 17:27:06,273 - INFO - duration: 0.6896449999985634
MAIN: 2025-03-17 17:27:06,273 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/27'
MAIN: 2025-03-17 17:27: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:27:37,224 - INFO - taking picture
MAIN: 2025-03-17 17:27:37,224 - INFO - we take 1315 photos in this while loop
MAIN: 2025-03-17 17:27:37,225 - INFO - /home/pi/Desktop/images/17032025/17/27/image_17032025_17_27_36_30931.jpg
MAIN: 2025-03-17 17:27:37,225 - INFO - duration: 0.7106932809983846
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 17:28: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=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-03-17 17:28:07,278 - INFO - taking picture
MAIN: 2025-03-17 17:28:07,279 - INFO - we take 1316 photos in this while loop
MAIN: 2025-03-17 17:28:07,279 - INFO - /home/pi/Desktop/images/17032025/17/27/image_17032025_17_28_06_30126.jpg
MAIN: 2025-03-17 17:28:07,279 - INFO - duration: 0.638305936998222
MAIN: 2025-03-17 17:28:07,279 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:28:36,920 - INFO - taking picture
MAIN: 2025-03-17 17:28:36,920 - INFO - we take 1317 photos in this while loop
MAIN: 2025-03-17 17:28:36,920 - INFO - /home/pi/Desktop/images/17032025/17/28/image_17032025_17_28_36_29607.jpg
MAIN: 2025-03-17 17:28:36,921 - INFO - duration: 0.6726245829995605
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-03-17 17:29: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=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-03-17 17:29:06,759 - INFO - taking picture
MAIN: 2025-03-17 17:29:06,760 - INFO - we take 1318 photos in this while loop
MAIN: 2025-03-17 17:29:06,760 - INFO - /home/pi/Desktop/images/17032025/17/28/image_17032025_17_29_06_29803.jpg
MAIN: 2025-03-17 17:29:06,761 - INFO - duration: 0.7092834370050696
MAIN: 2025-03-17 17:29:06,761 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:29:36,289 - INFO - taking picture
MAIN: 2025-03-17 17:29:36,290 - INFO - we take 1319 photos in this while loop
MAIN: 2025-03-17 17:29:36,290 - INFO - /home/pi/Desktop/images/17032025/17/29/image_17032025_17_29_35_29573.jpg
MAIN: 2025-03-17 17:29:36,290 - INFO - duration: 0.6654896350009949
Corrupt JPEG data: premature end of data segment
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-03-17 17:30:06,546 - INFO - taking picture
MAIN: 2025-03-17 17:30:06,547 - INFO - we take 1320 photos in this while loop
MAIN: 2025-03-17 17:30:06,547 - INFO - /home/pi/Desktop/images/17032025/17/29/image_17032025_17_30_06_30188.jpg
MAIN: 2025-03-17 17:30:06,547 - INFO - duration: 0.7342094269988593
MAIN: 2025-03-17 17:30:06,547 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/30'
MAIN: 2025-03-17 17:30:07,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:30:37,305 - INFO - taking picture
MAIN: 2025-03-17 17:30:37,305 - INFO - we take 1321 photos in this while loop
MAIN: 2025-03-17 17:30:37,305 - INFO - /home/pi/Desktop/images/17032025/17/30/image_17032025_17_30_36_30808.jpg
MAIN: 2025-03-17 17:30:37,305 - INFO - duration: 0.6839521349975257
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-03-17 17:31:05,778 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:31:07,452 - INFO - taking picture
MAIN: 2025-03-17 17:31:07,453 - INFO - we take 1322 photos in this while loop
MAIN: 2025-03-17 17:31:07,453 - INFO - /home/pi/Desktop/images/17032025/17/30/image_17032025_17_31_07_30137.jpg
MAIN: 2025-03-17 17:31:07,453 - INFO - duration: 0.694415989004483
MAIN: 2025-03-17 17:31:07,453 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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-03-17 17:31:37,085 - INFO - taking picture
MAIN: 2025-03-17 17:31:37,086 - INFO - we take 1323 photos in this while loop
MAIN: 2025-03-17 17:31:37,086 - INFO - /home/pi/Desktop/images/17032025/17/31/image_17032025_17_31_36_29636.jpg
MAIN: 2025-03-17 17:31:37,086 - INFO - duration: 0.6906819789946894
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 17:32:06,435 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:32:07,037 - INFO - taking picture
MAIN: 2025-03-17 17:32:07,038 - INFO - we take 1324 photos in this while loop
MAIN: 2025-03-17 17:32:07,038 - INFO - /home/pi/Desktop/images/17032025/17/31/image_17032025_17_32_06_29950.jpg
MAIN: 2025-03-17 17:32:07,038 - INFO - duration: 0.6924033850009437
MAIN: 2025-03-17 17:32:07,039 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/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=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-03-17 17:32:36,701 - INFO - taking picture
MAIN: 2025-03-17 17:32:36,702 - INFO - we take 1325 photos in this while loop
MAIN: 2025-03-17 17:32:36,702 - INFO - /home/pi/Desktop/images/17032025/17/32/image_17032025_17_32_36_29654.jpg
MAIN: 2025-03-17 17:32:36,702 - INFO - duration: 0.702361354000459
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 17:33: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:33:06,648 - INFO - taking picture
MAIN: 2025-03-17 17:33:06,649 - INFO - we take 1326 photos in this while loop
MAIN: 2025-03-17 17:33:06,649 - INFO - /home/pi/Desktop/images/17032025/17/32/image_17032025_17_33_06_29968.jpg
MAIN: 2025-03-17 17:33:06,649 - INFO - duration: 0.6807960939986515
MAIN: 2025-03-17 17:33:06,649 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:33:36,261 - INFO - taking picture
MAIN: 2025-03-17 17:33:36,261 - INFO - we take 1327 photos in this while loop
MAIN: 2025-03-17 17:33:36,261 - INFO - /home/pi/Desktop/images/17032025/17/33/image_17032025_17_33_35_29614.jpg
MAIN: 2025-03-17 17:33:36,262 - INFO - duration: 0.678941196994856
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 17:34: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=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-03-17 17:34:07,459 - INFO - taking picture
MAIN: 2025-03-17 17:34:07,459 - INFO - we take 1328 photos in this while loop
MAIN: 2025-03-17 17:34:07,460 - INFO - /home/pi/Desktop/images/17032025/17/33/image_17032025_17_34_07_31181.jpg
MAIN: 2025-03-17 17:34:07,460 - INFO - duration: 0.6952633330001845
MAIN: 2025-03-17 17:34:07,460 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:34:37,010 - INFO - taking picture
MAIN: 2025-03-17 17:34:37,010 - INFO - we take 1329 photos in this while loop
MAIN: 2025-03-17 17:34:37,010 - INFO - /home/pi/Desktop/images/17032025/17/34/image_17032025_17_34_36_29552.jpg
MAIN: 2025-03-17 17:34:37,017 - INFO - duration: 0.7001321350035141
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 17:35: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:35:07,245 - INFO - taking picture
MAIN: 2025-03-17 17:35:07,245 - INFO - we take 1330 photos in this while loop
MAIN: 2025-03-17 17:35:07,245 - INFO - /home/pi/Desktop/images/17032025/17/34/image_17032025_17_35_06_30233.jpg
MAIN: 2025-03-17 17:35:07,246 - INFO - duration: 0.6955003129987745
MAIN: 2025-03-17 17:35:07,246 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:35:36,835 - INFO - taking picture
MAIN: 2025-03-17 17:35:36,835 - INFO - we take 1331 photos in this while loop
MAIN: 2025-03-17 17:35:36,835 - INFO - /home/pi/Desktop/images/17032025/17/35/image_17032025_17_35_36_29585.jpg
MAIN: 2025-03-17 17:35:36,836 - INFO - duration: 0.699545104005665
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-03-17 17: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:36:06,990 - INFO - taking picture
MAIN: 2025-03-17 17:36:06,991 - INFO - we take 1332 photos in this while loop
MAIN: 2025-03-17 17:36:06,991 - INFO - /home/pi/Desktop/images/17032025/17/35/image_17032025_17_36_06_30146.jpg
MAIN: 2025-03-17 17:36:06,991 - INFO - duration: 0.7087284890003502
MAIN: 2025-03-17 17:36:06,992 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/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=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-03-17 17:36:36,619 - INFO - taking picture
MAIN: 2025-03-17 17:36:36,619 - INFO - we take 1333 photos in this while loop
MAIN: 2025-03-17 17:36:36,619 - INFO - /home/pi/Desktop/images/17032025/17/36/image_17032025_17_36_36_29642.jpg
MAIN: 2025-03-17 17:36:36,620 - INFO - duration: 0.6942178639947088
Corrupt JPEG data: premature end of data segment
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-03-17 17:37:06,138 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:37:06,664 - INFO - taking picture
MAIN: 2025-03-17 17:37:06,665 - INFO - we take 1334 photos in this while loop
MAIN: 2025-03-17 17:37:06,665 - INFO - /home/pi/Desktop/images/17032025/17/36/image_17032025_17_37_06_30037.jpg
MAIN: 2025-03-17 17:37:06,665 - INFO - duration: 0.7027864580013556
MAIN: 2025-03-17 17:37:06,666 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:37:37,416 - INFO - taking picture
MAIN: 2025-03-17 17:37:37,417 - INFO - we take 1335 photos in this while loop
MAIN: 2025-03-17 17:37:37,417 - INFO - /home/pi/Desktop/images/17032025/17/37/image_17032025_17_37_37_30766.jpg
MAIN: 2025-03-17 17:37:37,417 - INFO - duration: 0.6881168219988467
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 17:38: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:38:07,381 - INFO - taking picture
MAIN: 2025-03-17 17:38:07,382 - INFO - we take 1336 photos in this while loop
MAIN: 2025-03-17 17:38:07,382 - INFO - /home/pi/Desktop/images/17032025/17/37/image_17032025_17_38_07_29950.jpg
MAIN: 2025-03-17 17:38:07,382 - INFO - duration: 0.7029587500001071
MAIN: 2025-03-17 17:38:07,383 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/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=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-03-17 17:38:37,108 - INFO - taking picture
MAIN: 2025-03-17 17:38:37,108 - INFO - we take 1337 photos in this while loop
MAIN: 2025-03-17 17:38:37,108 - INFO - /home/pi/Desktop/images/17032025/17/38/image_17032025_17_38_36_29736.jpg
MAIN: 2025-03-17 17:38:37,109 - INFO - duration: 0.6921716669967282
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 17:39: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=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-03-17 17:39:06,986 - INFO - taking picture
MAIN: 2025-03-17 17:39:06,987 - INFO - we take 1338 photos in this while loop
MAIN: 2025-03-17 17:39:06,987 - INFO - /home/pi/Desktop/images/17032025/17/38/image_17032025_17_39_06_29936.jpg
MAIN: 2025-03-17 17:39:06,987 - INFO - duration: 0.6345177599941962
MAIN: 2025-03-17 17:39:06,988 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/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=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-03-17 17:39:36,614 - INFO - taking picture
MAIN: 2025-03-17 17:39:36,615 - INFO - we take 1339 photos in this while loop
MAIN: 2025-03-17 17:39:36,615 - INFO - /home/pi/Desktop/images/17032025/17/39/image_17032025_17_39_36_29560.jpg
MAIN: 2025-03-17 17:39:36,615 - INFO - duration: 0.7021099479970871
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=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-03-17 17:40:07,228 - INFO - taking picture
MAIN: 2025-03-17 17:40:07,228 - INFO - we take 1340 photos in this while loop
MAIN: 2025-03-17 17:40:07,229 - INFO - /home/pi/Desktop/images/17032025/17/39/image_17032025_17_40_06_30625.jpg
MAIN: 2025-03-17 17:40:07,229 - INFO - duration: 0.6896960930025671
MAIN: 2025-03-17 17:40:07,229 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/40'
MAIN: 2025-03-17 17:40:07,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:40:36,731 - INFO - taking picture
MAIN: 2025-03-17 17:40:36,732 - INFO - we take 1341 photos in this while loop
MAIN: 2025-03-17 17:40:36,732 - INFO - /home/pi/Desktop/images/17032025/17/40/image_17032025_17_40_36_29497.jpg
MAIN: 2025-03-17 17:40:36,732 - INFO - duration: 0.6956677080015652
Corrupt JPEG data: premature end of data segment
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-03-17 17:41: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:41:06,595 - INFO - taking picture
MAIN: 2025-03-17 17:41:06,595 - INFO - we take 1342 photos in this while loop
MAIN: 2025-03-17 17:41:06,596 - INFO - /home/pi/Desktop/images/17032025/17/40/image_17032025_17_41_06_29850.jpg
MAIN: 2025-03-17 17:41:06,596 - INFO - duration: 0.7092852600035258
MAIN: 2025-03-17 17:41:06,596 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/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=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-03-17 17:41:36,289 - INFO - taking picture
MAIN: 2025-03-17 17:41:36,290 - INFO - we take 1343 photos in this while loop
MAIN: 2025-03-17 17:41:36,290 - INFO - /home/pi/Desktop/images/17032025/17/41/image_17032025_17_41_35_29729.jpg
MAIN: 2025-03-17 17:41:36,290 - INFO - duration: 0.6742822919986793
Corrupt JPEG data: premature end of data segment
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-03-17 17:42:06,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 ! 
MAIN: 2025-03-17 17:42:06,670 - INFO - taking picture
MAIN: 2025-03-17 17:42:06,670 - INFO - we take 1344 photos in this while loop
MAIN: 2025-03-17 17:42:06,671 - INFO - /home/pi/Desktop/images/17032025/17/41/image_17032025_17_42_06_30343.jpg
MAIN: 2025-03-17 17:42:06,671 - INFO - duration: 0.7113061459967867
MAIN: 2025-03-17 17:42:06,671 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/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=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-03-17 17:42:36,284 - INFO - taking picture
MAIN: 2025-03-17 17:42:36,284 - INFO - we take 1345 photos in this while loop
MAIN: 2025-03-17 17:42:36,284 - INFO - /home/pi/Desktop/images/17032025/17/42/image_17032025_17_42_35_29630.jpg
MAIN: 2025-03-17 17:42:36,284 - INFO - duration: 0.694332499995653
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-03-17 17:43:06,120 - INFO - 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-03-17 17:43:06,389 - INFO - taking picture
MAIN: 2025-03-17 17:43:06,389 - INFO - we take 1346 photos in this while loop
MAIN: 2025-03-17 17:43:06,389 - INFO - /home/pi/Desktop/images/17032025/17/42/image_17032025_17_43_06_30101.jpg
MAIN: 2025-03-17 17:43:06,390 - INFO - duration: 0.6978978650004137
MAIN: 2025-03-17 17:43:06,390 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:43:37,306 - INFO - taking picture
MAIN: 2025-03-17 17:43:37,307 - INFO - we take 1347 photos in this while loop
MAIN: 2025-03-17 17:43:37,307 - INFO - /home/pi/Desktop/images/17032025/17/43/image_17032025_17_43_36_30912.jpg
MAIN: 2025-03-17 17:43:37,307 - INFO - duration: 0.7031069270014996
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-03-17 17:44:06,527 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:44:07,341 - INFO - taking picture
MAIN: 2025-03-17 17:44:07,342 - INFO - we take 1348 photos in this while loop
MAIN: 2025-03-17 17:44:07,342 - INFO - /home/pi/Desktop/images/17032025/17/43/image_17032025_17_44_06_30088.jpg
MAIN: 2025-03-17 17:44:07,342 - INFO - duration: 0.6501002080040053
MAIN: 2025-03-17 17:44:07,343 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/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=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-03-17 17:44:36,975 - INFO - taking picture
MAIN: 2025-03-17 17:44:36,976 - INFO - we take 1349 photos in this while loop
MAIN: 2025-03-17 17:44:36,976 - INFO - /home/pi/Desktop/images/17032025/17/44/image_17032025_17_44_36_29605.jpg
MAIN: 2025-03-17 17:44:36,976 - INFO - duration: 0.6787681249988964
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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=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-03-17 17:45:06,860 - INFO - 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-03-17 17:45:07,133 - INFO - taking picture
MAIN: 2025-03-17 17:45:07,134 - INFO - we take 1350 photos in this while loop
MAIN: 2025-03-17 17:45:07,134 - INFO - /home/pi/Desktop/images/17032025/17/44/image_17032025_17_45_06_30143.jpg
MAIN: 2025-03-17 17:45:07,134 - INFO - duration: 0.6934615620048135
MAIN: 2025-03-17 17:45:07,135 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/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=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-03-17 17:45:36,713 - INFO - taking picture
MAIN: 2025-03-17 17:45:36,713 - INFO - we take 1351 photos in this while loop
MAIN: 2025-03-17 17:45:36,713 - INFO - /home/pi/Desktop/images/17032025/17/45/image_17032025_17_45_36_29570.jpg
MAIN: 2025-03-17 17:45:36,714 - INFO - duration: 0.7022416139952838
Corrupt JPEG data: premature end of data segment
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-03-17 17:46: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=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-03-17 17:46:06,723 - INFO - taking picture
MAIN: 2025-03-17 17:46:06,723 - INFO - we take 1352 photos in this while loop
MAIN: 2025-03-17 17:46:06,723 - INFO - /home/pi/Desktop/images/17032025/17/45/image_17032025_17_46_06_30008.jpg
MAIN: 2025-03-17 17:46:06,724 - INFO - duration: 0.7038381759994081
MAIN: 2025-03-17 17:46:06,724 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:46:36,364 - INFO - taking picture
MAIN: 2025-03-17 17:46:36,365 - INFO - we take 1353 photos in this while loop
MAIN: 2025-03-17 17:46:36,365 - INFO - /home/pi/Desktop/images/17032025/17/46/image_17032025_17_46_35_29649.jpg
MAIN: 2025-03-17 17:46:36,365 - INFO - duration: 0.69633057199826
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 17:47: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=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-03-17 17:47:06,299 - INFO - taking picture
MAIN: 2025-03-17 17:47:06,300 - INFO - we take 1354 photos in this while loop
MAIN: 2025-03-17 17:47:06,300 - INFO - /home/pi/Desktop/images/17032025/17/46/image_17032025_17_47_05_29919.jpg
MAIN: 2025-03-17 17:47:06,300 - INFO - duration: 0.7117545309956768
MAIN: 2025-03-17 17:47:06,300 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:47:37,241 - INFO - taking picture
MAIN: 2025-03-17 17:47:37,242 - INFO - we take 1355 photos in this while loop
MAIN: 2025-03-17 17:47:37,242 - INFO - /home/pi/Desktop/images/17032025/17/47/image_17032025_17_47_36_30955.jpg
MAIN: 2025-03-17 17:47:37,242 - INFO - duration: 0.6990342190038064
Corrupt JPEG data: premature end of data segment
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-03-17 17:48:06,155 - INFO - 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-03-17 17:48:07,129 - INFO - taking picture
MAIN: 2025-03-17 17:48:07,130 - INFO - we take 1356 photos in this while loop
MAIN: 2025-03-17 17:48:07,130 - INFO - /home/pi/Desktop/images/17032025/17/47/image_17032025_17_48_06_29944.jpg
MAIN: 2025-03-17 17:48:07,130 - INFO - duration: 0.6426515100029064
MAIN: 2025-03-17 17:48:07,131 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:48:36,761 - INFO - taking picture
MAIN: 2025-03-17 17:48:36,762 - INFO - we take 1357 photos in this while loop
MAIN: 2025-03-17 17:48:36,762 - INFO - /home/pi/Desktop/images/17032025/17/48/image_17032025_17_48_36_29583.jpg
MAIN: 2025-03-17 17:48:36,762 - INFO - duration: 0.6910102080000797
Corrupt JPEG data: premature end of data segment
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-03-17 17:49:06,133 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:49:06,789 - INFO - taking picture
MAIN: 2025-03-17 17:49:06,789 - INFO - we take 1358 photos in this while loop
MAIN: 2025-03-17 17:49:06,789 - INFO - /home/pi/Desktop/images/17032025/17/48/image_17032025_17_49_06_30037.jpg
MAIN: 2025-03-17 17:49:06,790 - INFO - duration: 0.6807155729984515
MAIN: 2025-03-17 17:49:06,790 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/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=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-03-17 17:49:36,386 - INFO - taking picture
MAIN: 2025-03-17 17:49:36,387 - INFO - we take 1359 photos in this while loop
MAIN: 2025-03-17 17:49:36,387 - INFO - /home/pi/Desktop/images/17032025/17/49/image_17032025_17_49_36_29599.jpg
MAIN: 2025-03-17 17:49:36,387 - INFO - duration: 0.6788428119980381
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 17:50:06,892 - INFO - taking picture
MAIN: 2025-03-17 17:50:06,893 - INFO - we take 1360 photos in this while loop
MAIN: 2025-03-17 17:50:06,893 - INFO - /home/pi/Desktop/images/17032025/17/49/image_17032025_17_50_06_30429.jpg
MAIN: 2025-03-17 17:50:06,894 - INFO - duration: 0.7556818230004865
MAIN: 2025-03-17 17:50:06,894 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/50'
MAIN: 2025-03-17 17:50:07,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:50:36,433 - INFO - taking picture
MAIN: 2025-03-17 17:50:36,434 - INFO - we take 1361 photos in this while loop
MAIN: 2025-03-17 17:50:36,434 - INFO - /home/pi/Desktop/images/17032025/17/50/image_17032025_17_50_36_29602.jpg
MAIN: 2025-03-17 17:50:36,434 - INFO - duration: 0.6938754690054338
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 17:51: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:51:06,268 - INFO - taking picture
MAIN: 2025-03-17 17:51:06,268 - INFO - we take 1362 photos in this while loop
MAIN: 2025-03-17 17:51:06,269 - INFO - /home/pi/Desktop/images/17032025/17/50/image_17032025_17_51_05_29871.jpg
MAIN: 2025-03-17 17:51:06,269 - INFO - duration: 0.6574903639993863
MAIN: 2025-03-17 17:51:06,269 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/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=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-03-17 17:51:37,045 - INFO - taking picture
MAIN: 2025-03-17 17:51:37,045 - INFO - we take 1363 photos in this while loop
MAIN: 2025-03-17 17:51:37,045 - INFO - /home/pi/Desktop/images/17032025/17/51/image_17032025_17_51_36_30754.jpg
MAIN: 2025-03-17 17:51:37,046 - INFO - duration: 0.679657031003444
Corrupt JPEG data: premature end of data segment
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-03-17 17:52:06,517 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:52:06,999 - INFO - taking picture
MAIN: 2025-03-17 17:52:06,999 - INFO - we take 1364 photos in this while loop
MAIN: 2025-03-17 17:52:07,000 - INFO - /home/pi/Desktop/images/17032025/17/51/image_17032025_17_52_06_29923.jpg
MAIN: 2025-03-17 17:52:07,000 - INFO - duration: 0.7100958850060124
MAIN: 2025-03-17 17:52:07,000 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/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=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-03-17 17:52:36,561 - INFO - taking picture
MAIN: 2025-03-17 17:52:36,561 - INFO - we take 1365 photos in this while loop
MAIN: 2025-03-17 17:52:36,561 - INFO - /home/pi/Desktop/images/17032025/17/52/image_17032025_17_52_36_29580.jpg
MAIN: 2025-03-17 17:52:36,562 - INFO - duration: 0.6916792699994403
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 17:53: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=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-03-17 17:53:06,487 - INFO - taking picture
MAIN: 2025-03-17 17:53:06,488 - INFO - we take 1366 photos in this while loop
MAIN: 2025-03-17 17:53:06,488 - INFO - /home/pi/Desktop/images/17032025/17/52/image_17032025_17_53_06_29971.jpg
MAIN: 2025-03-17 17:53:06,488 - INFO - duration: 0.6464910930008045
MAIN: 2025-03-17 17:53:06,489 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/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=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-03-17 17:53:37,391 - INFO - taking picture
MAIN: 2025-03-17 17:53:37,392 - INFO - we take 1367 photos in this while loop
MAIN: 2025-03-17 17:53:37,392 - INFO - /home/pi/Desktop/images/17032025/17/53/image_17032025_17_53_37_30875.jpg
MAIN: 2025-03-17 17:53:37,392 - INFO - duration: 0.6749778640005388
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-03-17 17:54:06,279 - INFO - taking picture
MAIN: 2025-03-17 17:54:06,280 - INFO - we take 1368 photos in this while loop
MAIN: 2025-03-17 17:54:06,280 - INFO - /home/pi/Desktop/images/17032025/17/53/image_17032025_17_54_05_28897.jpg
MAIN: 2025-03-17 17:54:06,280 - INFO - duration: 0.6659820829954697
MAIN: 2025-03-17 17:54:06,281 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/54'
MAIN: 2025-03-17 17:54: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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:54:37,177 - INFO - taking picture
MAIN: 2025-03-17 17:54:37,178 - INFO - we take 1369 photos in this while loop
MAIN: 2025-03-17 17:54:37,178 - INFO - /home/pi/Desktop/images/17032025/17/54/image_17032025_17_54_36_30857.jpg
MAIN: 2025-03-17 17:54:37,178 - INFO - duration: 0.7064759370041429
[ WARN:0] global /tmp/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-03-17 17:55:06,887 - INFO - 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-03-17 17:55:07,266 - INFO - taking picture
MAIN: 2025-03-17 17:55:07,267 - INFO - we take 1370 photos in this while loop
MAIN: 2025-03-17 17:55:07,267 - INFO - /home/pi/Desktop/images/17032025/17/54/image_17032025_17_55_06_30107.jpg
MAIN: 2025-03-17 17:55:07,268 - INFO - duration: 0.6887166150045232
MAIN: 2025-03-17 17:55:07,268 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 17:55:36,824 - INFO - taking picture
MAIN: 2025-03-17 17:55:36,824 - INFO - we take 1371 photos in this while loop
MAIN: 2025-03-17 17:55:36,825 - INFO - /home/pi/Desktop/images/17032025/17/55/image_17032025_17_55_36_29550.jpg
MAIN: 2025-03-17 17:55:36,825 - INFO - duration: 0.6952731769997627
[ WARN:0] global /tmp/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-03-17 17:56:06,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 ! 
MAIN: 2025-03-17 17:56:07,004 - INFO - taking picture
MAIN: 2025-03-17 17:56:07,005 - INFO - we take 1372 photos in this while loop
MAIN: 2025-03-17 17:56:07,005 - INFO - /home/pi/Desktop/images/17032025/17/55/image_17032025_17_56_06_30175.jpg
MAIN: 2025-03-17 17:56:07,005 - INFO - duration: 0.6999528119995375
MAIN: 2025-03-17 17:56:07,006 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/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-03-17 17:56:36,632 - INFO - taking picture
MAIN: 2025-03-17 17:56:36,633 - INFO - we take 1373 photos in this while loop
MAIN: 2025-03-17 17:56:36,633 - INFO - /home/pi/Desktop/images/17032025/17/56/image_17032025_17_56_36_29626.jpg
MAIN: 2025-03-17 17:56:36,633 - INFO - duration: 0.701273749997199
[ WARN:0] global /tmp/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-03-17 17:57:06,599 - INFO - 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-03-17 17:57:06,649 - INFO - taking picture
MAIN: 2025-03-17 17:57:06,649 - INFO - we take 1374 photos in this while loop
MAIN: 2025-03-17 17:57:06,650 - INFO - /home/pi/Desktop/images/17032025/17/56/image_17032025_17_57_06_30044.jpg
MAIN: 2025-03-17 17:57:06,650 - INFO - duration: 0.6737141140038148
MAIN: 2025-03-17 17:57:06,650 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/57'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 17:57:37,540 - INFO - taking picture
MAIN: 2025-03-17 17:57:37,541 - INFO - we take 1375 photos in this while loop
MAIN: 2025-03-17 17:57:37,541 - INFO - /home/pi/Desktop/images/17032025/17/57/image_17032025_17_57_37_30864.jpg
MAIN: 2025-03-17 17:57:37,541 - INFO - duration: 0.7010279159949278
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-03-17 17:58: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 ! 
MAIN: 2025-03-17 17:58:06,501 - INFO - taking picture
MAIN: 2025-03-17 17:58:06,501 - INFO - we take 1376 photos in this while loop
MAIN: 2025-03-17 17:58:06,502 - INFO - /home/pi/Desktop/images/17032025/17/57/image_17032025_17_58_06_28959.jpg
MAIN: 2025-03-17 17:58:06,502 - INFO - duration: 0.7022563539940165
MAIN: 2025-03-17 17:58:06,502 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/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=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-03-17 17:58:37,392 - INFO - taking picture
MAIN: 2025-03-17 17:58:37,393 - INFO - we take 1377 photos in this while loop
MAIN: 2025-03-17 17:58:37,393 - INFO - /home/pi/Desktop/images/17032025/17/58/image_17032025_17_58_37_30898.jpg
MAIN: 2025-03-17 17:58:37,393 - INFO - duration: 0.6955735939991428
[ WARN:0] global /tmp/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-03-17 17:59: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 ! 
MAIN: 2025-03-17 17:59:06,327 - INFO - taking picture
MAIN: 2025-03-17 17:59:06,328 - INFO - we take 1378 photos in this while loop
MAIN: 2025-03-17 17:59:06,328 - INFO - /home/pi/Desktop/images/17032025/17/58/image_17032025_17_59_05_28924.jpg
MAIN: 2025-03-17 17:59:06,328 - INFO - duration: 0.7062828650014126
MAIN: 2025-03-17 17:59:06,329 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/17/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-03-17 17:59:37,187 - INFO - taking picture
MAIN: 2025-03-17 17:59:37,188 - INFO - we take 1379 photos in this while loop
MAIN: 2025-03-17 17:59:37,188 - INFO - /home/pi/Desktop/images/17032025/17/59/image_17032025_17_59_36_30860.jpg
MAIN: 2025-03-17 17:59:37,188 - INFO - duration: 0.7057766139987507
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-03-17 18:00:07,406 - INFO - taking picture
MAIN: 2025-03-17 18:00:07,406 - INFO - we take 1380 photos in this while loop
MAIN: 2025-03-17 18:00:07,407 - INFO - /home/pi/Desktop/images/17032025/17/59/image_17032025_18_00_06_30230.jpg
MAIN: 2025-03-17 18:00:07,407 - INFO - duration: 0.6938143750012387
MAIN: 2025-03-17 18:00:07,407 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/18/00'
MAIN: 2025-03-17 18:00:07,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 18:00:37,019 - INFO - taking picture
MAIN: 2025-03-17 18:00:37,020 - INFO - we take 1381 photos in this while loop
MAIN: 2025-03-17 18:00:37,020 - INFO - /home/pi/Desktop/images/17032025/18/00/image_17032025_18_00_36_29606.jpg
MAIN: 2025-03-17 18:00:37,021 - INFO - duration: 0.70049624999956
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 18:01: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=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-03-17 18:01:07,061 - INFO - taking picture
MAIN: 2025-03-17 18:01:07,061 - INFO - we take 1382 photos in this while loop
MAIN: 2025-03-17 18:01:07,062 - INFO - /home/pi/Desktop/images/17032025/18/00/image_17032025_18_01_06_30035.jpg
MAIN: 2025-03-17 18:01:07,062 - INFO - duration: 0.7067351560035604
MAIN: 2025-03-17 18:01:07,062 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/18/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=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-03-17 18:01:36,682 - INFO - taking picture
MAIN: 2025-03-17 18:01:36,682 - INFO - we take 1383 photos in this while loop
MAIN: 2025-03-17 18:01:36,683 - INFO - /home/pi/Desktop/images/17032025/18/01/image_17032025_18_01_36_29635.jpg
MAIN: 2025-03-17 18:01:36,683 - INFO - duration: 0.6926205199997639
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 18:02:06,092 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 18:02:06,711 - INFO - taking picture
MAIN: 2025-03-17 18:02:06,712 - INFO - we take 1384 photos in this while loop
MAIN: 2025-03-17 18:02:06,712 - INFO - /home/pi/Desktop/images/17032025/18/01/image_17032025_18_02_06_30015.jpg
MAIN: 2025-03-17 18:02:06,712 - INFO - duration: 0.7068535409998731
MAIN: 2025-03-17 18:02:06,712 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/18/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=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-03-17 18:02:36,287 - INFO - taking picture
MAIN: 2025-03-17 18:02:36,287 - INFO - we take 1385 photos in this while loop
MAIN: 2025-03-17 18:02:36,287 - INFO - /home/pi/Desktop/images/17032025/18/02/image_17032025_18_02_35_29589.jpg
MAIN: 2025-03-17 18:02:36,288 - INFO - duration: 0.6924897909993888
Corrupt JPEG data: premature end of data segment
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-03-17 18:03:05,882 - INFO - 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-03-17 18:03:07,511 - INFO - taking picture
MAIN: 2025-03-17 18:03:07,512 - INFO - we take 1386 photos in this while loop
MAIN: 2025-03-17 18:03:07,512 - INFO - /home/pi/Desktop/images/17032025/18/02/image_17032025_18_03_07_31222.jpg
MAIN: 2025-03-17 18:03:07,512 - INFO - duration: 0.6948066659970209
MAIN: 2025-03-17 18:03:07,512 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/18/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=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-03-17 18:03:37,255 - INFO - taking picture
MAIN: 2025-03-17 18:03:37,255 - INFO - we take 1387 photos in this while loop
MAIN: 2025-03-17 18:03:37,256 - INFO - /home/pi/Desktop/images/17032025/18/03/image_17032025_18_03_36_29735.jpg
MAIN: 2025-03-17 18:03:37,256 - INFO - duration: 0.7028789579999284
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-03-17 18:04: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=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-03-17 18:04:07,379 - INFO - taking picture
MAIN: 2025-03-17 18:04:07,379 - INFO - we take 1388 photos in this while loop
MAIN: 2025-03-17 18:04:07,380 - INFO - /home/pi/Desktop/images/17032025/18/03/image_17032025_18_04_07_30189.jpg
MAIN: 2025-03-17 18:04:07,380 - INFO - duration: 0.6378509370042593
MAIN: 2025-03-17 18:04:07,380 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/18/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 18:04:37,101 - INFO - taking picture
MAIN: 2025-03-17 18:04:37,102 - INFO - we take 1389 photos in this while loop
MAIN: 2025-03-17 18:04:37,102 - INFO - /home/pi/Desktop/images/17032025/18/04/image_17032025_18_04_36_29656.jpg
MAIN: 2025-03-17 18:04:37,102 - INFO - duration: 0.7043625000005704
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 18:05: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-03-17 18:05:07,323 - INFO - taking picture
MAIN: 2025-03-17 18:05:07,324 - INFO - we take 1390 photos in this while loop
MAIN: 2025-03-17 18:05:07,324 - INFO - /home/pi/Desktop/images/17032025/18/04/image_17032025_18_05_06_30226.jpg
MAIN: 2025-03-17 18:05:07,325 - INFO - duration: 0.7002357810051762
MAIN: 2025-03-17 18:05:07,325 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 18:05:36,933 - INFO - taking picture
MAIN: 2025-03-17 18:05:36,934 - INFO - we take 1391 photos in this while loop
MAIN: 2025-03-17 18:05:36,934 - INFO - /home/pi/Desktop/images/17032025/18/05/image_17032025_18_05_36_29608.jpg
MAIN: 2025-03-17 18:05:36,934 - INFO - duration: 0.7017208329998539
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-03-17 18:06:07,250 - INFO - taking picture
MAIN: 2025-03-17 18:06:07,251 - INFO - we take 1392 photos in this while loop
MAIN: 2025-03-17 18:06:07,251 - INFO - /home/pi/Desktop/images/17032025/18/05/image_17032025_18_06_06_30349.jpg
MAIN: 2025-03-17 18:06:07,251 - INFO - duration: 0.6685460939988843
MAIN: 2025-03-17 18:06:07,251 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/18/06'
MAIN: 2025-03-17 18:06:07,262 - INFO - 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=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-03-17 18:06:36,793 - INFO - taking picture
MAIN: 2025-03-17 18:06:36,793 - INFO - we take 1393 photos in this while loop
MAIN: 2025-03-17 18:06:36,793 - INFO - /home/pi/Desktop/images/17032025/18/06/image_17032025_18_06_36_29516.jpg
MAIN: 2025-03-17 18:06:36,794 - INFO - duration: 0.6942858859983971
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-03-17 18:07:05,866 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 18:07:06,696 - INFO - taking picture
MAIN: 2025-03-17 18:07:06,697 - INFO - we take 1394 photos in this while loop
MAIN: 2025-03-17 18:07:06,697 - INFO - /home/pi/Desktop/images/17032025/18/06/image_17032025_18_07_06_29963.jpg
MAIN: 2025-03-17 18:07:06,697 - INFO - duration: 0.6349274480016902
MAIN: 2025-03-17 18:07:06,698 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/18/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=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-03-17 18:07:36,330 - INFO - taking picture
MAIN: 2025-03-17 18:07:36,331 - INFO - we take 1395 photos in this while loop
MAIN: 2025-03-17 18:07:36,331 - INFO - /home/pi/Desktop/images/17032025/18/07/image_17032025_18_07_35_29568.jpg
MAIN: 2025-03-17 18:07:36,331 - INFO - duration: 0.7004198440045002
Corrupt JPEG data: premature end of data segment
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-03-17 18:08: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 ! 
MAIN: 2025-03-17 18:08:06,696 - INFO - taking picture
MAIN: 2025-03-17 18:08:06,697 - INFO - we take 1396 photos in this while loop
MAIN: 2025-03-17 18:08:06,697 - INFO - /home/pi/Desktop/images/17032025/18/07/image_17032025_18_08_06_30361.jpg
MAIN: 2025-03-17 18:08:06,697 - INFO - duration: 0.7055502600051113
MAIN: 2025-03-17 18:08:06,698 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 18:08:36,296 - INFO - taking picture
MAIN: 2025-03-17 18:08:36,297 - INFO - we take 1397 photos in this while loop
MAIN: 2025-03-17 18:08:36,297 - INFO - /home/pi/Desktop/images/17032025/18/08/image_17032025_18_08_35_29607.jpg
MAIN: 2025-03-17 18:08:36,297 - INFO - duration: 0.6981043749983655
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-03-17 18:09:06,350 - INFO - 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-03-17 18:09:06,391 - INFO - taking picture
MAIN: 2025-03-17 18:09:06,392 - INFO - we take 1398 photos in this while loop
MAIN: 2025-03-17 18:09:06,392 - INFO - /home/pi/Desktop/images/17032025/18/08/image_17032025_18_09_06_30118.jpg
MAIN: 2025-03-17 18:09:06,392 - INFO - duration: 0.6748440630035475
MAIN: 2025-03-17 18:09:06,393 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/18/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=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-03-17 18:09:37,227 - INFO - taking picture
MAIN: 2025-03-17 18:09:37,228 - INFO - we take 1399 photos in this while loop
MAIN: 2025-03-17 18:09:37,228 - INFO - /home/pi/Desktop/images/17032025/18/09/image_17032025_18_09_36_30834.jpg
MAIN: 2025-03-17 18:09:37,228 - INFO - duration: 0.6766033849999076
[ WARN:0] global /tmp/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-03-17 18:10:07,327 - INFO - taking picture
MAIN: 2025-03-17 18:10:07,328 - INFO - we take 1400 photos in this while loop
MAIN: 2025-03-17 18:10:07,328 - INFO - /home/pi/Desktop/images/17032025/18/09/image_17032025_18_10_06_30102.jpg
MAIN: 2025-03-17 18:10:07,329 - INFO - duration: 0.674554375000298
MAIN: 2025-03-17 18:10:07,329 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/18/10'
MAIN: 2025-03-17 18:10:07,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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 18:10:36,795 - INFO - taking picture
MAIN: 2025-03-17 18:10:36,796 - INFO - we take 1401 photos in this while loop
MAIN: 2025-03-17 18:10:36,796 - INFO - /home/pi/Desktop/images/17032025/18/10/image_17032025_18_10_36_29465.jpg
MAIN: 2025-03-17 18:10:36,796 - INFO - duration: 0.6768719789979514
[ WARN:0] global /tmp/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-03-17 18:11:06,910 - INFO - 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-03-17 18:11:07,010 - INFO - taking picture
MAIN: 2025-03-17 18:11:07,011 - INFO - we take 1402 photos in this while loop
MAIN: 2025-03-17 18:11:07,011 - INFO - /home/pi/Desktop/images/17032025/18/10/image_17032025_18_11_06_30196.jpg
MAIN: 2025-03-17 18:11:07,012 - INFO - duration: 0.6959583329953603
MAIN: 2025-03-17 18:11:07,012 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/18/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=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-03-17 18:11:36,672 - INFO - taking picture
MAIN: 2025-03-17 18:11:36,672 - INFO - we take 1403 photos in this while loop
MAIN: 2025-03-17 18:11:36,672 - INFO - /home/pi/Desktop/images/17032025/18/11/image_17032025_18_11_36_29687.jpg
MAIN: 2025-03-17 18:11:36,673 - INFO - duration: 0.6697533330006991
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 18:12: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=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-03-17 18:12:06,791 - INFO - taking picture
MAIN: 2025-03-17 18:12:06,792 - INFO - we take 1404 photos in this while loop
MAIN: 2025-03-17 18:12:06,792 - INFO - /home/pi/Desktop/images/17032025/18/11/image_17032025_18_12_06_30091.jpg
MAIN: 2025-03-17 18:12:06,792 - INFO - duration: 0.6978417189966422
MAIN: 2025-03-17 18:12:06,793 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/18/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-03-17 18:12:36,477 - INFO - taking picture
MAIN: 2025-03-17 18:12:36,477 - INFO - we take 1405 photos in this while loop
MAIN: 2025-03-17 18:12:36,477 - INFO - /home/pi/Desktop/images/17032025/18/12/image_17032025_18_12_36_29680.jpg
MAIN: 2025-03-17 18:12:36,478 - INFO - duration: 0.7022401040012483
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 18:13: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=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-03-17 18:13:06,388 - INFO - taking picture
MAIN: 2025-03-17 18:13:06,388 - INFO - we take 1406 photos in this while loop
MAIN: 2025-03-17 18:13:06,389 - INFO - /home/pi/Desktop/images/17032025/18/12/image_17032025_18_13_06_29966.jpg
MAIN: 2025-03-17 18:13:06,389 - INFO - duration: 0.6472057809951366
MAIN: 2025-03-17 18:13:06,389 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/18/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=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-03-17 18:13:37,223 - INFO - taking picture
MAIN: 2025-03-17 18:13:37,224 - INFO - we take 1407 photos in this while loop
MAIN: 2025-03-17 18:13:37,224 - INFO - /home/pi/Desktop/images/17032025/18/13/image_17032025_18_13_36_30816.jpg
MAIN: 2025-03-17 18:13:37,224 - INFO - duration: 0.6660474480013363
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 18:14: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 18:14:07,173 - INFO - taking picture
MAIN: 2025-03-17 18:14:07,174 - INFO - we take 1408 photos in this while loop
MAIN: 2025-03-17 18:14:07,174 - INFO - /home/pi/Desktop/images/17032025/18/13/image_17032025_18_14_06_29925.jpg
MAIN: 2025-03-17 18:14:07,174 - INFO - duration: 0.6910283859979245
MAIN: 2025-03-17 18:14:07,174 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/18/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=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-03-17 18:14:36,913 - INFO - taking picture
MAIN: 2025-03-17 18:14:36,913 - INFO - we take 1409 photos in this while loop
MAIN: 2025-03-17 18:14:36,914 - INFO - /home/pi/Desktop/images/17032025/18/14/image_17032025_18_14_36_29725.jpg
MAIN: 2025-03-17 18:14:36,914 - INFO - duration: 0.7048335409999709
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 18:15:06,656 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 18:15:07,171 - INFO - taking picture
MAIN: 2025-03-17 18:15:07,172 - INFO - we take 1410 photos in this while loop
MAIN: 2025-03-17 18:15:07,172 - INFO - /home/pi/Desktop/images/17032025/18/14/image_17032025_18_15_06_30264.jpg
MAIN: 2025-03-17 18:15:07,172 - INFO - duration: 0.698933906001912
MAIN: 2025-03-17 18:15:07,173 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/18/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=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-03-17 18:15:36,620 - INFO - taking picture
MAIN: 2025-03-17 18:15:36,621 - INFO - we take 1411 photos in this while loop
MAIN: 2025-03-17 18:15:36,621 - INFO - /home/pi/Desktop/images/17032025/18/15/image_17032025_18_15_36_29456.jpg
MAIN: 2025-03-17 18:15:36,621 - INFO - duration: 0.6908171869945363
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 18:16: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=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-03-17 18:16:06,591 - INFO - taking picture
MAIN: 2025-03-17 18:16:06,592 - INFO - we take 1412 photos in this while loop
MAIN: 2025-03-17 18:16:06,592 - INFO - /home/pi/Desktop/images/17032025/18/15/image_17032025_18_16_06_29957.jpg
MAIN: 2025-03-17 18:16:06,592 - INFO - duration: 0.7044409370064386
MAIN: 2025-03-17 18:16:06,593 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 18:16:37,491 - INFO - taking picture
MAIN: 2025-03-17 18:16:37,492 - INFO - we take 1413 photos in this while loop
MAIN: 2025-03-17 18:16:37,492 - INFO - /home/pi/Desktop/images/17032025/18/16/image_17032025_18_16_37_30905.jpg
MAIN: 2025-03-17 18:16:37,492 - INFO - duration: 0.6989356240010238
[ WARN:0] global /tmp/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-03-17 18:17: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 ! 
MAIN: 2025-03-17 18:17:06,292 - INFO - taking picture
MAIN: 2025-03-17 18:17:06,292 - INFO - we take 1414 photos in this while loop
MAIN: 2025-03-17 18:17:06,292 - INFO - /home/pi/Desktop/images/17032025/18/16/image_17032025_18_17_05_28814.jpg
MAIN: 2025-03-17 18:17:06,293 - INFO - duration: 0.6854457810040913
MAIN: 2025-03-17 18:17:06,293 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/18/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=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-03-17 18:17:37,191 - INFO - taking picture
MAIN: 2025-03-17 18:17:37,192 - INFO - we take 1415 photos in this while loop
MAIN: 2025-03-17 18:17:37,192 - INFO - /home/pi/Desktop/images/17032025/18/17/image_17032025_18_17_36_30891.jpg
MAIN: 2025-03-17 18:17:37,192 - INFO - duration: 0.6938628120042267
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 18: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=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-03-17 18:18:07,236 - INFO - taking picture
MAIN: 2025-03-17 18:18:07,237 - INFO - we take 1416 photos in this while loop
MAIN: 2025-03-17 18:18:07,237 - INFO - /home/pi/Desktop/images/17032025/18/17/image_17032025_18_18_06_30102.jpg
MAIN: 2025-03-17 18:18:07,237 - INFO - duration: 0.6358989579966874
MAIN: 2025-03-17 18:18:07,238 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/18/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-03-17 18:18:36,893 - INFO - taking picture
MAIN: 2025-03-17 18:18:36,894 - INFO - we take 1417 photos in this while loop
MAIN: 2025-03-17 18:18:36,894 - INFO - /home/pi/Desktop/images/17032025/18/18/image_17032025_18_18_36_29596.jpg
MAIN: 2025-03-17 18:18:36,894 - INFO - duration: 0.6965729689982254
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 18:19:06,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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 18:19:06,993 - INFO - taking picture
MAIN: 2025-03-17 18:19:06,993 - INFO - we take 1418 photos in this while loop
MAIN: 2025-03-17 18:19:06,993 - INFO - /home/pi/Desktop/images/17032025/18/18/image_17032025_18_19_06_30094.jpg
MAIN: 2025-03-17 18:19:06,994 - INFO - duration: 0.7016158850019565
MAIN: 2025-03-17 18:19:06,994 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/18/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-03-17 18:19:36,566 - INFO - taking picture
MAIN: 2025-03-17 18:19:36,567 - INFO - we take 1419 photos in this while loop
MAIN: 2025-03-17 18:19:36,567 - INFO - /home/pi/Desktop/images/17032025/18/19/image_17032025_18_19_36_29576.jpg
MAIN: 2025-03-17 18:19:36,567 - INFO - duration: 0.6982358330060379
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 18:20:07,220 - INFO - taking picture
MAIN: 2025-03-17 18:20:07,221 - INFO - we take 1420 photos in this while loop
MAIN: 2025-03-17 18:20:07,221 - INFO - /home/pi/Desktop/images/17032025/18/19/image_17032025_18_20_06_30669.jpg
MAIN: 2025-03-17 18:20:07,221 - INFO - duration: 0.6828638020015205
MAIN: 2025-03-17 18:20:07,222 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/18/20'
MAIN: 2025-03-17 18:20:07,965 - INFO - 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=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-03-17 18:20:36,872 - INFO - taking picture
MAIN: 2025-03-17 18:20:36,873 - INFO - we take 1421 photos in this while loop
MAIN: 2025-03-17 18:20:36,873 - INFO - /home/pi/Desktop/images/17032025/18/20/image_17032025_18_20_36_29632.jpg
MAIN: 2025-03-17 18:20:36,873 - INFO - duration: 0.702491457996075
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 18:21:05,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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 18:21:06,834 - INFO - taking picture
MAIN: 2025-03-17 18:21:06,834 - INFO - we take 1422 photos in this while loop
MAIN: 2025-03-17 18:21:06,834 - INFO - /home/pi/Desktop/images/17032025/18/20/image_17032025_18_21_06_29990.jpg
MAIN: 2025-03-17 18:21:06,835 - INFO - duration: 0.6727017189987237
MAIN: 2025-03-17 18:21:06,835 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/18/21'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 18:21:36,461 - INFO - taking picture
MAIN: 2025-03-17 18:21:36,462 - INFO - we take 1423 photos in this while loop
MAIN: 2025-03-17 18:21:36,462 - INFO - /home/pi/Desktop/images/17032025/18/21/image_17032025_18_21_36_29601.jpg
MAIN: 2025-03-17 18:21:36,462 - INFO - duration: 0.6992040619952604
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 18:22: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=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-03-17 18:22:06,687 - INFO - taking picture
MAIN: 2025-03-17 18:22:06,687 - INFO - we take 1424 photos in this while loop
MAIN: 2025-03-17 18:22:06,687 - INFO - /home/pi/Desktop/images/17032025/18/21/image_17032025_18_22_06_30226.jpg
MAIN: 2025-03-17 18:22:06,688 - INFO - duration: 0.6982148440001765
MAIN: 2025-03-17 18:22:06,688 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 18:22:36,279 - INFO - taking picture
MAIN: 2025-03-17 18:22:36,280 - INFO - we take 1425 photos in this while loop
MAIN: 2025-03-17 18:22:36,280 - INFO - /home/pi/Desktop/images/17032025/18/22/image_17032025_18_22_35_29604.jpg
MAIN: 2025-03-17 18:22:36,280 - INFO - duration: 0.6866709370005992
[ WARN:0] global /tmp/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-03-17 18:23:06,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 ! 
MAIN: 2025-03-17 18:23:06,337 - INFO - taking picture
MAIN: 2025-03-17 18:23:06,338 - INFO - we take 1426 photos in this while loop
MAIN: 2025-03-17 18:23:06,338 - INFO - /home/pi/Desktop/images/17032025/18/22/image_17032025_18_23_05_30064.jpg
MAIN: 2025-03-17 18:23:06,338 - INFO - duration: 0.6795973440021044
MAIN: 2025-03-17 18:23:06,339 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/18/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=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-03-17 18:23:37,258 - INFO - taking picture
MAIN: 2025-03-17 18:23:37,258 - INFO - we take 1427 photos in this while loop
MAIN: 2025-03-17 18:23:37,258 - INFO - /home/pi/Desktop/images/17032025/18/23/image_17032025_18_23_36_30892.jpg
MAIN: 2025-03-17 18:23:37,259 - INFO - duration: 0.7073770310016698
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 18:24:06,467 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 18:24:07,394 - INFO - taking picture
MAIN: 2025-03-17 18:24:07,395 - INFO - we take 1428 photos in this while loop
MAIN: 2025-03-17 18:24:07,395 - INFO - /home/pi/Desktop/images/17032025/18/23/image_17032025_18_24_06_30075.jpg
MAIN: 2025-03-17 18:24:07,395 - INFO - duration: 0.7686743230005959
MAIN: 2025-03-17 18:24:07,395 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/18/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-03-17 18:24:37,035 - INFO - taking picture
MAIN: 2025-03-17 18:24:37,036 - INFO - we take 1429 photos in this while loop
MAIN: 2025-03-17 18:24:37,036 - INFO - /home/pi/Desktop/images/17032025/18/24/image_17032025_18_24_36_29717.jpg
MAIN: 2025-03-17 18:24:37,036 - INFO - duration: 0.6928625520013156
[ WARN:0] global /tmp/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-03-17 18:25:07,232 - INFO - taking picture
MAIN: 2025-03-17 18:25:07,233 - INFO - we take 1430 photos in this while loop
MAIN: 2025-03-17 18:25:07,233 - INFO - /home/pi/Desktop/images/17032025/18/24/image_17032025_18_25_06_30210.jpg
MAIN: 2025-03-17 18:25:07,234 - INFO - duration: 0.6800247389983269
MAIN: 2025-03-17 18:25:07,235 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/18/25'
MAIN: 2025-03-17 18:25:07,285 - INFO - 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=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-03-17 18:25:36,836 - INFO - taking picture
MAIN: 2025-03-17 18:25:36,837 - INFO - we take 1431 photos in this while loop
MAIN: 2025-03-17 18:25:36,837 - INFO - /home/pi/Desktop/images/17032025/18/25/image_17032025_18_25_36_29587.jpg
MAIN: 2025-03-17 18:25:36,837 - INFO - duration: 0.6963314059976256
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 18:26:05,926 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 18:26:06,735 - INFO - taking picture
MAIN: 2025-03-17 18:26:06,736 - INFO - we take 1432 photos in this while loop
MAIN: 2025-03-17 18:26:06,736 - INFO - /home/pi/Desktop/images/17032025/18/25/image_17032025_18_26_06_29946.jpg
MAIN: 2025-03-17 18:26:06,736 - INFO - duration: 0.6493305209951359
MAIN: 2025-03-17 18:26:06,737 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/18/26'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 18:26:36,351 - INFO - taking picture
MAIN: 2025-03-17 18:26:36,352 - INFO - we take 1433 photos in this while loop
MAIN: 2025-03-17 18:26:36,352 - INFO - /home/pi/Desktop/images/17032025/18/26/image_17032025_18_26_35_29618.jpg
MAIN: 2025-03-17 18:26:36,352 - INFO - duration: 0.6465784889951465
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 18:27:05,815 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 18:27:06,325 - INFO - taking picture
MAIN: 2025-03-17 18:27:06,326 - INFO - we take 1434 photos in this while loop
MAIN: 2025-03-17 18:27:06,326 - INFO - /home/pi/Desktop/images/17032025/18/26/image_17032025_18_27_05_29943.jpg
MAIN: 2025-03-17 18:27:06,326 - INFO - duration: 0.6773881250046543
MAIN: 2025-03-17 18:27:06,327 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 18:27:37,228 - INFO - taking picture
MAIN: 2025-03-17 18:27:37,228 - INFO - we take 1435 photos in this while loop
MAIN: 2025-03-17 18:27:37,228 - INFO - /home/pi/Desktop/images/17032025/18/27/image_17032025_18_27_36_30904.jpg
MAIN: 2025-03-17 18:27:37,229 - INFO - duration: 0.6752311460004421
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 18:28: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 18:28:07,159 - INFO - taking picture
MAIN: 2025-03-17 18:28:07,160 - INFO - we take 1436 photos in this while loop
MAIN: 2025-03-17 18:28:07,160 - INFO - /home/pi/Desktop/images/17032025/18/27/image_17032025_18_28_06_29963.jpg
MAIN: 2025-03-17 18:28:07,160 - INFO - duration: 0.6432677610064275
MAIN: 2025-03-17 18:28:07,161 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/18/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=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-03-17 18:28:36,886 - INFO - taking picture
MAIN: 2025-03-17 18:28:36,886 - INFO - we take 1437 photos in this while loop
MAIN: 2025-03-17 18:28:36,887 - INFO - /home/pi/Desktop/images/17032025/18/28/image_17032025_18_28_36_29697.jpg
MAIN: 2025-03-17 18:28:36,887 - INFO - duration: 0.672112134998315
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 18:29: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=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-03-17 18:29:06,892 - INFO - taking picture
MAIN: 2025-03-17 18:29:06,892 - INFO - we take 1438 photos in this while loop
MAIN: 2025-03-17 18:29:06,893 - INFO - /home/pi/Desktop/images/17032025/18/28/image_17032025_18_29_06_30037.jpg
MAIN: 2025-03-17 18:29:06,893 - INFO - duration: 0.6403444270035834
MAIN: 2025-03-17 18:29:06,893 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/18/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=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-03-17 18:29:36,510 - INFO - taking picture
MAIN: 2025-03-17 18:29:36,510 - INFO - we take 1439 photos in this while loop
MAIN: 2025-03-17 18:29:36,511 - INFO - /home/pi/Desktop/images/17032025/18/29/image_17032025_18_29_36_29584.jpg
MAIN: 2025-03-17 18:29:36,511 - INFO - duration: 0.6741546869961894
[ WARN:0] global /tmp/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-03-17 18:30:07,030 - INFO - taking picture
MAIN: 2025-03-17 18:30:07,031 - INFO - we take 1440 photos in this while loop
MAIN: 2025-03-17 18:30:07,031 - INFO - /home/pi/Desktop/images/17032025/18/29/image_17032025_18_30_06_30499.jpg
MAIN: 2025-03-17 18:30:07,031 - INFO - duration: 0.6947837499974412
MAIN: 2025-03-17 18:30:07,032 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/18/30'
MAIN: 2025-03-17 18:30:07,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 18:30:36,640 - INFO - taking picture
MAIN: 2025-03-17 18:30:36,641 - INFO - we take 1441 photos in this while loop
MAIN: 2025-03-17 18:30:36,641 - INFO - /home/pi/Desktop/images/17032025/18/30/image_17032025_18_30_36_29628.jpg
MAIN: 2025-03-17 18:30:36,641 - INFO - duration: 0.6760749990062322
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 18:31:05,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=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-03-17 18:31:06,495 - INFO - taking picture
MAIN: 2025-03-17 18:31:06,496 - INFO - we take 1442 photos in this while loop
MAIN: 2025-03-17 18:31:06,496 - INFO - /home/pi/Desktop/images/17032025/18/30/image_17032025_18_31_06_29832.jpg
MAIN: 2025-03-17 18:31:06,496 - INFO - duration: 0.6982406250026543
MAIN: 2025-03-17 18:31:06,497 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/18/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-03-17 18:31:37,419 - INFO - taking picture
MAIN: 2025-03-17 18:31:37,419 - INFO - we take 1443 photos in this while loop
MAIN: 2025-03-17 18:31:37,420 - INFO - /home/pi/Desktop/images/17032025/18/31/image_17032025_18_31_37_30923.jpg
MAIN: 2025-03-17 18:31:37,420 - INFO - duration: 0.6978303650030284
[ WARN:0] global /tmp/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-03-17 18:32:06,288 - INFO - 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-03-17 18:32:06,408 - INFO - taking picture
MAIN: 2025-03-17 18:32:06,409 - INFO - we take 1444 photos in this while loop
MAIN: 2025-03-17 18:32:06,409 - INFO - /home/pi/Desktop/images/17032025/18/31/image_17032025_18_32_06_29013.jpg
MAIN: 2025-03-17 18:32:06,410 - INFO - duration: 0.6746425000019372
MAIN: 2025-03-17 18:32:06,410 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/18/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-03-17 18:32:37,416 - INFO - taking picture
MAIN: 2025-03-17 18:32:37,416 - INFO - we take 1445 photos in this while loop
MAIN: 2025-03-17 18:32:37,416 - INFO - /home/pi/Desktop/images/17032025/18/32/image_17032025_18_32_37_30993.jpg
MAIN: 2025-03-17 18:32:37,417 - INFO - duration: 0.6884531770047033
[ WARN:0] global /tmp/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-03-17 18:33: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-03-17 18:33:06,273 - INFO - taking picture
MAIN: 2025-03-17 18:33:06,273 - INFO - we take 1446 photos in this while loop
MAIN: 2025-03-17 18:33:06,274 - INFO - /home/pi/Desktop/images/17032025/18/32/image_17032025_18_33_05_28861.jpg
MAIN: 2025-03-17 18:33:06,274 - INFO - duration: 0.6840341659990372
MAIN: 2025-03-17 18:33:06,274 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 18:33:37,185 - INFO - taking picture
MAIN: 2025-03-17 18:33:37,186 - INFO - we take 1447 photos in this while loop
MAIN: 2025-03-17 18:33:37,186 - INFO - /home/pi/Desktop/images/17032025/18/33/image_17032025_18_33_36_30912.jpg
MAIN: 2025-03-17 18:33:37,186 - INFO - duration: 0.6839082290025544
[ WARN:0] global /tmp/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-03-17 18:34:06,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 ! 
MAIN: 2025-03-17 18:34:07,110 - INFO - taking picture
MAIN: 2025-03-17 18:34:07,111 - INFO - we take 1448 photos in this while loop
MAIN: 2025-03-17 18:34:07,111 - INFO - /home/pi/Desktop/images/17032025/18/33/image_17032025_18_34_06_29909.jpg
MAIN: 2025-03-17 18:34:07,111 - INFO - duration: 0.6992669789979118
MAIN: 2025-03-17 18:34:07,112 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 18:34:36,727 - INFO - taking picture
MAIN: 2025-03-17 18:34:36,728 - INFO - we take 1449 photos in this while loop
MAIN: 2025-03-17 18:34:36,728 - INFO - /home/pi/Desktop/images/17032025/18/34/image_17032025_18_34_36_29616.jpg
MAIN: 2025-03-17 18:34:36,728 - INFO - duration: 0.6996701559983194
[ WARN:0] global /tmp/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-03-17 18:35:06,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 ! 
MAIN: 2025-03-17 18:35:07,074 - INFO - taking picture
MAIN: 2025-03-17 18:35:07,074 - INFO - we take 1450 photos in this while loop
MAIN: 2025-03-17 18:35:07,075 - INFO - /home/pi/Desktop/images/17032025/18/34/image_17032025_18_35_06_30359.jpg
MAIN: 2025-03-17 18:35:07,075 - INFO - duration: 0.6864294789993437
MAIN: 2025-03-17 18:35:07,076 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 18:35:36,562 - INFO - taking picture
MAIN: 2025-03-17 18:35:36,563 - INFO - we take 1451 photos in this while loop
MAIN: 2025-03-17 18:35:36,563 - INFO - /home/pi/Desktop/images/17032025/18/35/image_17032025_18_35_36_29479.jpg
MAIN: 2025-03-17 18:35:36,563 - INFO - duration: 0.6949123950034846
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 18:36:06,110 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 18:36:06,648 - INFO - taking picture
MAIN: 2025-03-17 18:36:06,648 - INFO - we take 1452 photos in this while loop
MAIN: 2025-03-17 18:36:06,648 - INFO - /home/pi/Desktop/images/17032025/18/35/image_17032025_18_36_06_30077.jpg
MAIN: 2025-03-17 18:36:06,649 - INFO - duration: 0.7033266139987973
MAIN: 2025-03-17 18:36:06,649 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/18/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 18:36:37,525 - INFO - taking picture
MAIN: 2025-03-17 18:36:37,525 - INFO - we take 1453 photos in this while loop
MAIN: 2025-03-17 18:36:37,526 - INFO - /home/pi/Desktop/images/17032025/18/36/image_17032025_18_36_37_30892.jpg
MAIN: 2025-03-17 18:36:37,526 - INFO - duration: 0.6884566139997332
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-03-17 18:37: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 18:37:07,400 - INFO - taking picture
MAIN: 2025-03-17 18:37:07,400 - INFO - we take 1454 photos in this while loop
MAIN: 2025-03-17 18:37:07,401 - INFO - /home/pi/Desktop/images/17032025/18/36/image_17032025_18_37_07_29873.jpg
MAIN: 2025-03-17 18:37:07,401 - INFO - duration: 0.6900110420028795
MAIN: 2025-03-17 18:37:07,401 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/18/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 18:37:36,911 - INFO - taking picture
MAIN: 2025-03-17 18:37:36,912 - INFO - we take 1455 photos in this while loop
MAIN: 2025-03-17 18:37:36,912 - INFO - /home/pi/Desktop/images/17032025/18/37/image_17032025_18_37_36_29507.jpg
MAIN: 2025-03-17 18:37:36,912 - INFO - duration: 0.6940208849991905
Corrupt JPEG data: premature end of data segment
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-03-17 18:38: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 ! 
MAIN: 2025-03-17 18:38:06,856 - INFO - taking picture
MAIN: 2025-03-17 18:38:06,857 - INFO - we take 1456 photos in this while loop
MAIN: 2025-03-17 18:38:06,857 - INFO - /home/pi/Desktop/images/17032025/18/37/image_17032025_18_38_06_29947.jpg
MAIN: 2025-03-17 18:38:06,857 - INFO - duration: 0.6918187499977648
MAIN: 2025-03-17 18:38:06,858 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/18/38'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 18:38:36,333 - INFO - taking picture
MAIN: 2025-03-17 18:38:36,334 - INFO - we take 1457 photos in this while loop
MAIN: 2025-03-17 18:38:36,334 - INFO - /home/pi/Desktop/images/17032025/18/38/image_17032025_18_38_35_29476.jpg
MAIN: 2025-03-17 18:38:36,334 - INFO - duration: 0.6918548960020416
Corrupt JPEG data: premature end of data segment
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-03-17 18:39:06,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=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-03-17 18:39:07,136 - INFO - taking picture
MAIN: 2025-03-17 18:39:07,137 - INFO - we take 1458 photos in this while loop
MAIN: 2025-03-17 18:39:07,137 - INFO - /home/pi/Desktop/images/17032025/18/38/image_17032025_18_39_06_30850.jpg
MAIN: 2025-03-17 18:39:07,137 - INFO - duration: 0.6445455729990499
MAIN: 2025-03-17 18:39:07,138 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/18/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=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-03-17 18:39:36,666 - INFO - taking picture
MAIN: 2025-03-17 18:39:36,666 - INFO - we take 1459 photos in this while loop
MAIN: 2025-03-17 18:39:36,667 - INFO - /home/pi/Desktop/images/17032025/18/39/image_17032025_18_39_36_29485.jpg
MAIN: 2025-03-17 18:39:36,667 - INFO - duration: 0.6886587499975576
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 18:40:07,088 - INFO - taking picture
MAIN: 2025-03-17 18:40:07,089 - INFO - we take 1460 photos in this while loop
MAIN: 2025-03-17 18:40:07,089 - INFO - /home/pi/Desktop/images/17032025/18/39/image_17032025_18_40_06_30410.jpg
MAIN: 2025-03-17 18:40:07,090 - INFO - duration: 0.701112082999316
MAIN: 2025-03-17 18:40:07,090 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/18/40'
MAIN: 2025-03-17 18:40:07,243 - INFO - 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-03-17 18:40:36,683 - INFO - taking picture
MAIN: 2025-03-17 18:40:36,683 - INFO - we take 1461 photos in this while loop
MAIN: 2025-03-17 18:40:36,683 - INFO - /home/pi/Desktop/images/17032025/18/40/image_17032025_18_40_36_29591.jpg
MAIN: 2025-03-17 18:40:36,684 - INFO - duration: 0.7040185940059018
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 18:41: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=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-03-17 18:41:06,548 - INFO - taking picture
MAIN: 2025-03-17 18:41:06,549 - INFO - we take 1462 photos in this while loop
MAIN: 2025-03-17 18:41:06,549 - INFO - /home/pi/Desktop/images/17032025/18/40/image_17032025_18_41_06_29908.jpg
MAIN: 2025-03-17 18:41:06,549 - INFO - duration: 0.661043749001692
MAIN: 2025-03-17 18:41:06,550 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/18/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=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-03-17 18:41:37,507 - INFO - taking picture
MAIN: 2025-03-17 18:41:37,507 - INFO - we take 1463 photos in this while loop
MAIN: 2025-03-17 18:41:37,507 - INFO - /home/pi/Desktop/images/17032025/18/41/image_17032025_18_41_37_30938.jpg
MAIN: 2025-03-17 18:41:37,508 - INFO - duration: 0.6813005730000441
Corrupt JPEG data: premature end of data segment
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-03-17 18:42: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 ! 
MAIN: 2025-03-17 18:42:06,408 - INFO - taking picture
MAIN: 2025-03-17 18:42:06,409 - INFO - we take 1464 photos in this while loop
MAIN: 2025-03-17 18:42:06,409 - INFO - /home/pi/Desktop/images/17032025/18/41/image_17032025_18_42_06_28853.jpg
MAIN: 2025-03-17 18:42:06,409 - INFO - duration: 0.7296416139943176
MAIN: 2025-03-17 18:42:06,410 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/18/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=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-03-17 18:42:37,363 - INFO - taking picture
MAIN: 2025-03-17 18:42:37,364 - INFO - we take 1465 photos in this while loop
MAIN: 2025-03-17 18:42:37,364 - INFO - /home/pi/Desktop/images/17032025/18/42/image_17032025_18_42_36_31006.jpg
MAIN: 2025-03-17 18:42:37,364 - INFO - duration: 0.6783989579998888
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-03-17 18:43:05,741 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 18:43:07,405 - INFO - taking picture
MAIN: 2025-03-17 18:43:07,405 - INFO - we take 1466 photos in this while loop
MAIN: 2025-03-17 18:43:07,406 - INFO - /home/pi/Desktop/images/17032025/18/42/image_17032025_18_43_07_30077.jpg
MAIN: 2025-03-17 18:43:07,406 - INFO - duration: 0.6425509900000179
MAIN: 2025-03-17 18:43:07,406 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/18/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=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-03-17 18:43:37,172 - INFO - taking picture
MAIN: 2025-03-17 18:43:37,172 - INFO - we take 1467 photos in this while loop
MAIN: 2025-03-17 18:43:37,173 - INFO - /home/pi/Desktop/images/17032025/18/43/image_17032025_18_43_36_29729.jpg
MAIN: 2025-03-17 18:43:37,173 - INFO - duration: 0.6802077079992159
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 18:44: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 18:44:07,219 - INFO - taking picture
MAIN: 2025-03-17 18:44:07,219 - INFO - we take 1468 photos in this while loop
MAIN: 2025-03-17 18:44:07,219 - INFO - /home/pi/Desktop/images/17032025/18/43/image_17032025_18_44_06_30083.jpg
MAIN: 2025-03-17 18:44:07,220 - INFO - duration: 0.6438709889989696
MAIN: 2025-03-17 18:44:07,220 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/18/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 18:44:36,908 - INFO - taking picture
MAIN: 2025-03-17 18:44:36,908 - INFO - we take 1469 photos in this while loop
MAIN: 2025-03-17 18:44:36,908 - INFO - /home/pi/Desktop/images/17032025/18/44/image_17032025_18_44_36_29654.jpg
MAIN: 2025-03-17 18:44:36,909 - INFO - duration: 0.6781639059990994
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-03-17 18:45:06,869 - INFO - 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-03-17 18:45:07,170 - INFO - taking picture
MAIN: 2025-03-17 18:45:07,171 - INFO - we take 1470 photos in this while loop
MAIN: 2025-03-17 18:45:07,171 - INFO - /home/pi/Desktop/images/17032025/18/44/image_17032025_18_45_06_30240.jpg
MAIN: 2025-03-17 18:45:07,171 - INFO - duration: 0.6998176559936837
MAIN: 2025-03-17 18:45:07,172 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 18:45:36,768 - INFO - taking picture
MAIN: 2025-03-17 18:45:36,769 - INFO - we take 1471 photos in this while loop
MAIN: 2025-03-17 18:45:36,769 - INFO - /home/pi/Desktop/images/17032025/18/45/image_17032025_18_45_36_29622.jpg
MAIN: 2025-03-17 18:45:36,769 - INFO - duration: 0.6746771350008203
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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=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-03-17 18:46: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 ! 
MAIN: 2025-03-17 18:46:06,993 - INFO - taking picture
MAIN: 2025-03-17 18:46:06,994 - INFO - we take 1472 photos in this while loop
MAIN: 2025-03-17 18:46:06,994 - INFO - /home/pi/Desktop/images/17032025/18/45/image_17032025_18_46_06_30234.jpg
MAIN: 2025-03-17 18:46:06,995 - INFO - duration: 0.6655070310007432
MAIN: 2025-03-17 18:46:06,995 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 18:46:36,632 - INFO - taking picture
MAIN: 2025-03-17 18:46:36,632 - INFO - we take 1473 photos in this while loop
MAIN: 2025-03-17 18:46:36,632 - INFO - /home/pi/Desktop/images/17032025/18/46/image_17032025_18_46_36_29631.jpg
MAIN: 2025-03-17 18:46:36,632 - INFO - duration: 0.6716622400053893
Corrupt JPEG data: premature end of data segment
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-03-17 18:47:05,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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 18:47:06,537 - INFO - taking picture
MAIN: 2025-03-17 18:47:06,538 - INFO - we take 1474 photos in this while loop
MAIN: 2025-03-17 18:47:06,538 - INFO - /home/pi/Desktop/images/17032025/18/46/image_17032025_18_47_06_29894.jpg
MAIN: 2025-03-17 18:47:06,538 - INFO - duration: 0.6828328120027436
MAIN: 2025-03-17 18:47:06,539 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 18:47:37,390 - INFO - taking picture
MAIN: 2025-03-17 18:47:37,391 - INFO - we take 1475 photos in this while loop
MAIN: 2025-03-17 18:47:37,391 - INFO - /home/pi/Desktop/images/17032025/18/47/image_17032025_18_47_37_30852.jpg
MAIN: 2025-03-17 18:47:37,391 - INFO - duration: 0.683216249999532
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 18:48: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 ! 
MAIN: 2025-03-17 18:48:06,293 - INFO - taking picture
MAIN: 2025-03-17 18:48:06,293 - INFO - we take 1476 photos in this while loop
MAIN: 2025-03-17 18:48:06,294 - INFO - /home/pi/Desktop/images/17032025/18/47/image_17032025_18_48_05_28885.jpg
MAIN: 2025-03-17 18:48:06,294 - INFO - duration: 0.700057863999973
MAIN: 2025-03-17 18:48:06,294 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 18:48:37,101 - INFO - taking picture
MAIN: 2025-03-17 18:48:37,101 - INFO - we take 1477 photos in this while loop
MAIN: 2025-03-17 18:48:37,101 - INFO - /home/pi/Desktop/images/17032025/18/48/image_17032025_18_48_36_30819.jpg
MAIN: 2025-03-17 18:48:37,101 - INFO - duration: 0.688515677000396
Corrupt JPEG data: premature end of data segment
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-03-17 18:49: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 18:49:06,886 - INFO - taking picture
MAIN: 2025-03-17 18:49:06,887 - INFO - we take 1478 photos in this while loop
MAIN: 2025-03-17 18:49:06,887 - INFO - /home/pi/Desktop/images/17032025/18/48/image_17032025_18_49_06_29818.jpg
MAIN: 2025-03-17 18:49:06,888 - INFO - duration: 0.6558955730070011
MAIN: 2025-03-17 18:49:06,888 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 18:49:36,667 - INFO - taking picture
MAIN: 2025-03-17 18:49:36,668 - INFO - we take 1479 photos in this while loop
MAIN: 2025-03-17 18:49:36,668 - INFO - /home/pi/Desktop/images/17032025/18/49/image_17032025_18_49_36_29719.jpg
MAIN: 2025-03-17 18:49:36,668 - INFO - duration: 0.7172524990019156
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 18:50:06,654 - INFO - 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-03-17 18:50:07,066 - INFO - taking picture
MAIN: 2025-03-17 18:50:07,066 - INFO - we take 1480 photos in this while loop
MAIN: 2025-03-17 18:50:07,066 - INFO - /home/pi/Desktop/images/17032025/18/49/image_17032025_18_50_06_30402.jpg
MAIN: 2025-03-17 18:50:07,067 - INFO - duration: 0.7129956770004355
MAIN: 2025-03-17 18:50:07,067 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/18/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=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-03-17 18:50:36,685 - INFO - taking picture
MAIN: 2025-03-17 18:50:36,686 - INFO - we take 1481 photos in this while loop
MAIN: 2025-03-17 18:50:36,686 - INFO - /home/pi/Desktop/images/17032025/18/50/image_17032025_18_50_36_29689.jpg
MAIN: 2025-03-17 18:50:36,686 - INFO - duration: 0.6430260929992073
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 18:51: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 ! 
MAIN: 2025-03-17 18:51:06,630 - INFO - taking picture
MAIN: 2025-03-17 18:51:06,631 - INFO - we take 1482 photos in this while loop
MAIN: 2025-03-17 18:51:06,631 - INFO - /home/pi/Desktop/images/17032025/18/50/image_17032025_18_51_06_29945.jpg
MAIN: 2025-03-17 18:51:06,631 - INFO - duration: 0.6426392190041952
MAIN: 2025-03-17 18:51:06,632 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 18:51:36,240 - INFO - taking picture
MAIN: 2025-03-17 18:51:36,240 - INFO - we take 1483 photos in this while loop
MAIN: 2025-03-17 18:51:36,240 - INFO - /home/pi/Desktop/images/17032025/18/51/image_17032025_18_51_35_29615.jpg
MAIN: 2025-03-17 18:51:36,241 - INFO - duration: 0.6366352080003708
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-03-17 18:52:06,316 - INFO - taking picture
MAIN: 2025-03-17 18:52:06,316 - INFO - we take 1484 photos in this while loop
MAIN: 2025-03-17 18:52:06,316 - INFO - /home/pi/Desktop/images/17032025/18/51/image_17032025_18_52_05_30058.jpg
MAIN: 2025-03-17 18:52:06,317 - INFO - duration: 0.6546203650068492
MAIN: 2025-03-17 18:52:06,317 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/18/52'
MAIN: 2025-03-17 18:52: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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 18:52:37,262 - INFO - taking picture
MAIN: 2025-03-17 18:52:37,262 - INFO - we take 1485 photos in this while loop
MAIN: 2025-03-17 18:52:37,262 - INFO - /home/pi/Desktop/images/17032025/18/52/image_17032025_18_52_36_30903.jpg
MAIN: 2025-03-17 18:52:37,263 - INFO - duration: 0.6973947389997193
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-03-17 18:53: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 18:53:07,373 - INFO - taking picture
MAIN: 2025-03-17 18:53:07,374 - INFO - we take 1486 photos in this while loop
MAIN: 2025-03-17 18:53:07,374 - INFO - /home/pi/Desktop/images/17032025/18/52/image_17032025_18_53_06_30119.jpg
MAIN: 2025-03-17 18:53:07,374 - INFO - duration: 0.689846874003706
MAIN: 2025-03-17 18:53:07,375 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 18:53:36,939 - INFO - taking picture
MAIN: 2025-03-17 18:53:36,940 - INFO - we take 1487 photos in this while loop
MAIN: 2025-03-17 18:53:36,940 - INFO - /home/pi/Desktop/images/17032025/18/53/image_17032025_18_53_36_29567.jpg
MAIN: 2025-03-17 18:53:36,940 - INFO - duration: 0.6877229160018032
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-03-17 18:54: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=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-03-17 18:54:06,794 - INFO - taking picture
MAIN: 2025-03-17 18:54:06,794 - INFO - we take 1488 photos in this while loop
MAIN: 2025-03-17 18:54:06,795 - INFO - /home/pi/Desktop/images/17032025/18/53/image_17032025_18_54_06_29897.jpg
MAIN: 2025-03-17 18:54:06,795 - INFO - duration: 0.6443798430045717
MAIN: 2025-03-17 18:54:06,795 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 18:54:36,472 - INFO - taking picture
MAIN: 2025-03-17 18:54:36,472 - INFO - we take 1489 photos in this while loop
MAIN: 2025-03-17 18:54:36,472 - INFO - /home/pi/Desktop/images/17032025/18/54/image_17032025_18_54_36_29644.jpg
MAIN: 2025-03-17 18:54:36,473 - INFO - duration: 0.6775154159986414
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 18:55: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=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-03-17 18:55:06,802 - INFO - taking picture
MAIN: 2025-03-17 18:55:06,803 - INFO - we take 1490 photos in this while loop
MAIN: 2025-03-17 18:55:06,803 - INFO - /home/pi/Desktop/images/17032025/18/54/image_17032025_18_55_06_30262.jpg
MAIN: 2025-03-17 18:55:06,804 - INFO - duration: 0.7463707290007733
MAIN: 2025-03-17 18:55:06,804 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/18/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=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-03-17 18:55:36,409 - INFO - taking picture
MAIN: 2025-03-17 18:55:36,410 - INFO - we take 1491 photos in this while loop
MAIN: 2025-03-17 18:55:36,410 - INFO - /home/pi/Desktop/images/17032025/18/55/image_17032025_18_55_36_29635.jpg
MAIN: 2025-03-17 18:55:36,411 - INFO - duration: 0.7179542710000533
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-03-17 18:56:06,677 - INFO - 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-03-17 18:56:06,678 - INFO - taking picture
MAIN: 2025-03-17 18:56:06,679 - INFO - we take 1492 photos in this while loop
MAIN: 2025-03-17 18:56:06,679 - INFO - /home/pi/Desktop/images/17032025/18/55/image_17032025_18_56_06_30344.jpg
MAIN: 2025-03-17 18:56:06,679 - INFO - duration: 0.6422541669962811
MAIN: 2025-03-17 18:56:06,680 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/18/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=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-03-17 18:56:36,361 - INFO - taking picture
MAIN: 2025-03-17 18:56:36,362 - INFO - we take 1493 photos in this while loop
MAIN: 2025-03-17 18:56:36,362 - INFO - /home/pi/Desktop/images/17032025/18/56/image_17032025_18_56_35_29674.jpg
MAIN: 2025-03-17 18:56:36,362 - INFO - duration: 0.6507306249986868
[ WARN:0] global /tmp/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-03-17 18:57:06,251 - INFO - taking picture
MAIN: 2025-03-17 18:57:06,251 - INFO - we take 1494 photos in this while loop
MAIN: 2025-03-17 18:57:06,251 - INFO - /home/pi/Desktop/images/17032025/18/56/image_17032025_18_57_05_29906.jpg
MAIN: 2025-03-17 18:57:06,251 - INFO - duration: 0.6337229689961532
MAIN: 2025-03-17 18:57:06,252 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/18/57'
MAIN: 2025-03-17 18:57: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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 18:57:37,013 - INFO - taking picture
MAIN: 2025-03-17 18:57:37,013 - INFO - we take 1495 photos in this while loop
MAIN: 2025-03-17 18:57:37,013 - INFO - /home/pi/Desktop/images/17032025/18/57/image_17032025_18_57_36_30701.jpg
MAIN: 2025-03-17 18:57:37,014 - INFO - duration: 0.6942575520006358
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 18:58: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 18:58:06,933 - INFO - taking picture
MAIN: 2025-03-17 18:58:06,933 - INFO - we take 1496 photos in this while loop
MAIN: 2025-03-17 18:58:06,933 - INFO - /home/pi/Desktop/images/17032025/18/57/image_17032025_18_58_06_29945.jpg
MAIN: 2025-03-17 18:58:06,934 - INFO - duration: 0.6687223440021626
MAIN: 2025-03-17 18:58:06,934 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 18:58:36,424 - INFO - taking picture
MAIN: 2025-03-17 18:58:36,425 - INFO - we take 1497 photos in this while loop
MAIN: 2025-03-17 18:58:36,425 - INFO - /home/pi/Desktop/images/17032025/18/58/image_17032025_18_58_36_29467.jpg
MAIN: 2025-03-17 18:58:36,425 - INFO - duration: 0.6928928639972582
Corrupt JPEG data: premature end of data segment
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-03-17 18:59:06,047 - INFO - 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-03-17 18:59:06,434 - INFO - taking picture
MAIN: 2025-03-17 18:59:06,434 - INFO - we take 1498 photos in this while loop
MAIN: 2025-03-17 18:59:06,434 - INFO - /home/pi/Desktop/images/17032025/18/58/image_17032025_18_59_06_29994.jpg
MAIN: 2025-03-17 18:59:06,435 - INFO - duration: 0.7078904689988121
MAIN: 2025-03-17 18:59:06,435 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/18/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=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-03-17 18:59:37,443 - INFO - taking picture
MAIN: 2025-03-17 18:59:37,443 - INFO - we take 1499 photos in this while loop
MAIN: 2025-03-17 18:59:37,444 - INFO - /home/pi/Desktop/images/17032025/18/59/image_17032025_18_59_37_31054.jpg
MAIN: 2025-03-17 18:59:37,444 - INFO - duration: 0.6624895829954767
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-03-17 19:00:06,643 - INFO - taking picture
MAIN: 2025-03-17 19:00:06,644 - INFO - we take 1500 photos in this while loop
MAIN: 2025-03-17 19:00:06,645 - INFO - /home/pi/Desktop/images/17032025/18/59/image_17032025_19_00_06_29161.jpg
MAIN: 2025-03-17 19:00:06,646 - INFO - duration: 0.7023575519997394
MAIN: 2025-03-17 19:00:06,647 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/19/00'
MAIN: 2025-03-17 19:00:06,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=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-03-17 19:00:37,520 - INFO - taking picture
MAIN: 2025-03-17 19:00:37,521 - INFO - we take 1501 photos in this while loop
MAIN: 2025-03-17 19:00:37,521 - INFO - /home/pi/Desktop/images/17032025/19/00/image_17032025_19_00_37_30902.jpg
MAIN: 2025-03-17 19:00:37,521 - INFO - duration: 0.6758639580002637
Corrupt JPEG data: premature end of data segment
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-03-17 19:01:05,872 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:01:06,338 - INFO - taking picture
MAIN: 2025-03-17 19:01:06,339 - INFO - we take 1502 photos in this while loop
MAIN: 2025-03-17 19:01:06,339 - INFO - /home/pi/Desktop/images/17032025/19/00/image_17032025_19_01_05_28783.jpg
MAIN: 2025-03-17 19:01:06,339 - INFO - duration: 0.710094478999963
MAIN: 2025-03-17 19:01:06,339 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:01:37,254 - INFO - taking picture
MAIN: 2025-03-17 19:01:37,255 - INFO - we take 1503 photos in this while loop
MAIN: 2025-03-17 19:01:37,255 - INFO - /home/pi/Desktop/images/17032025/19/01/image_17032025_19_01_36_30950.jpg
MAIN: 2025-03-17 19:01:37,255 - INFO - duration: 0.6750825000053737
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 19:02:06,496 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:02:07,213 - INFO - taking picture
MAIN: 2025-03-17 19:02:07,213 - INFO - we take 1504 photos in this while loop
MAIN: 2025-03-17 19:02:07,213 - INFO - /home/pi/Desktop/images/17032025/19/01/image_17032025_19_02_06_29972.jpg
MAIN: 2025-03-17 19:02:07,214 - INFO - duration: 0.6610921869942104
MAIN: 2025-03-17 19:02:07,214 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:02:36,839 - INFO - taking picture
MAIN: 2025-03-17 19:02:36,839 - INFO - we take 1505 photos in this while loop
MAIN: 2025-03-17 19:02:36,840 - INFO - /home/pi/Desktop/images/17032025/19/02/image_17032025_19_02_36_29616.jpg
MAIN: 2025-03-17 19:02:36,840 - INFO - duration: 0.6705129170004511
Corrupt JPEG data: premature end of data segment
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-03-17 19:03: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 ! 
MAIN: 2025-03-17 19:03:06,647 - INFO - taking picture
MAIN: 2025-03-17 19:03:06,647 - INFO - we take 1506 photos in this while loop
MAIN: 2025-03-17 19:03:06,647 - INFO - /home/pi/Desktop/images/17032025/19/02/image_17032025_19_03_06_29779.jpg
MAIN: 2025-03-17 19:03:06,648 - INFO - duration: 0.6985665100000915
MAIN: 2025-03-17 19:03:06,648 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:03:37,497 - INFO - taking picture
MAIN: 2025-03-17 19:03:37,498 - INFO - we take 1507 photos in this while loop
MAIN: 2025-03-17 19:03:37,498 - INFO - /home/pi/Desktop/images/17032025/19/03/image_17032025_19_03_37_30869.jpg
MAIN: 2025-03-17 19:03:37,498 - INFO - duration: 0.679583958000876
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:04:06,323 - INFO - taking picture
MAIN: 2025-03-17 19:04:06,324 - INFO - we take 1508 photos in this while loop
MAIN: 2025-03-17 19:04:06,324 - INFO - /home/pi/Desktop/images/17032025/19/03/image_17032025_19_04_05_28826.jpg
MAIN: 2025-03-17 19:04:06,324 - INFO - duration: 0.6794299480025074
MAIN: 2025-03-17 19:04:06,325 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/19/04'
MAIN: 2025-03-17 19:04:06,965 - INFO - 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=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-03-17 19:04:37,052 - INFO - taking picture
MAIN: 2025-03-17 19:04:37,053 - INFO - we take 1509 photos in this while loop
MAIN: 2025-03-17 19:04:37,053 - INFO - /home/pi/Desktop/images/17032025/19/04/image_17032025_19_04_36_30721.jpg
MAIN: 2025-03-17 19:04:37,053 - INFO - duration: 0.6864254690008238
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 19:05:06,093 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:05:07,310 - INFO - taking picture
MAIN: 2025-03-17 19:05:07,311 - INFO - we take 1510 photos in this while loop
MAIN: 2025-03-17 19:05:07,311 - INFO - /home/pi/Desktop/images/17032025/19/04/image_17032025_19_05_06_30265.jpg
MAIN: 2025-03-17 19:05:07,312 - INFO - duration: 0.6788432280009147
MAIN: 2025-03-17 19:05:07,312 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/19/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:05:36,948 - INFO - taking picture
MAIN: 2025-03-17 19:05:36,949 - INFO - we take 1511 photos in this while loop
MAIN: 2025-03-17 19:05:36,949 - INFO - /home/pi/Desktop/images/17032025/19/05/image_17032025_19_05_36_29615.jpg
MAIN: 2025-03-17 19:05:36,949 - INFO - duration: 0.7014839580006083
Corrupt JPEG data: premature end of data segment
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-03-17 19:06: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:06:06,906 - INFO - taking picture
MAIN: 2025-03-17 19:06:06,907 - INFO - we take 1512 photos in this while loop
MAIN: 2025-03-17 19:06:06,907 - INFO - /home/pi/Desktop/images/17032025/19/05/image_17032025_19_06_06_30022.jpg
MAIN: 2025-03-17 19:06:06,907 - INFO - duration: 0.6362614579993533
MAIN: 2025-03-17 19:06:06,907 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:06:36,549 - INFO - taking picture
MAIN: 2025-03-17 19:06:36,549 - INFO - we take 1513 photos in this while loop
MAIN: 2025-03-17 19:06:36,550 - INFO - /home/pi/Desktop/images/17032025/19/06/image_17032025_19_06_36_29582.jpg
MAIN: 2025-03-17 19:06:36,550 - INFO - duration: 0.6961289059981937
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 19:07:06,225 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:07:06,693 - INFO - taking picture
MAIN: 2025-03-17 19:07:06,694 - INFO - we take 1514 photos in this while loop
MAIN: 2025-03-17 19:07:06,694 - INFO - /home/pi/Desktop/images/17032025/19/06/image_17032025_19_07_06_30128.jpg
MAIN: 2025-03-17 19:07:06,694 - INFO - duration: 0.7118949469950167
MAIN: 2025-03-17 19:07:06,695 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/19/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=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-03-17 19:07:36,324 - INFO - taking picture
MAIN: 2025-03-17 19:07:36,325 - INFO - we take 1515 photos in this while loop
MAIN: 2025-03-17 19:07:36,325 - INFO - /home/pi/Desktop/images/17032025/19/07/image_17032025_19_07_35_29670.jpg
MAIN: 2025-03-17 19:07:36,325 - INFO - duration: 0.6720541139948182
Corrupt JPEG data: premature end of data segment
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-03-17 19:08:06,399 - INFO - taking picture
MAIN: 2025-03-17 19:08:06,400 - INFO - we take 1516 photos in this while loop
MAIN: 2025-03-17 19:08:06,400 - INFO - /home/pi/Desktop/images/17032025/19/07/image_17032025_19_08_06_30085.jpg
MAIN: 2025-03-17 19:08:06,400 - INFO - duration: 0.6615600520017324
MAIN: 2025-03-17 19:08:06,401 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/19/08'
MAIN: 2025-03-17 19:08:06,778 - INFO - 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=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-03-17 19:08:37,325 - INFO - taking picture
MAIN: 2025-03-17 19:08:37,326 - INFO - we take 1517 photos in this while loop
MAIN: 2025-03-17 19:08:37,326 - INFO - /home/pi/Desktop/images/17032025/19/08/image_17032025_19_08_36_30875.jpg
MAIN: 2025-03-17 19:08:37,326 - INFO - duration: 0.7120567699967069
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 19:09:05,596 - INFO - 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-03-17 19:09:07,427 - INFO - taking picture
MAIN: 2025-03-17 19:09:07,427 - INFO - we take 1518 photos in this while loop
MAIN: 2025-03-17 19:09:07,428 - INFO - /home/pi/Desktop/images/17032025/19/08/image_17032025_19_09_07_30169.jpg
MAIN: 2025-03-17 19:09:07,428 - INFO - duration: 0.644431093998719
MAIN: 2025-03-17 19:09:07,428 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/19/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=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-03-17 19:09:36,994 - INFO - taking picture
MAIN: 2025-03-17 19:09:36,995 - INFO - we take 1519 photos in this while loop
MAIN: 2025-03-17 19:09:36,995 - INFO - /home/pi/Desktop/images/17032025/19/09/image_17032025_19_09_36_29506.jpg
MAIN: 2025-03-17 19:09:36,996 - INFO - duration: 0.7062295829964569
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 19:10: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=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-03-17 19:10:07,259 - INFO - taking picture
MAIN: 2025-03-17 19:10:07,260 - INFO - we take 1520 photos in this while loop
MAIN: 2025-03-17 19:10:07,260 - INFO - /home/pi/Desktop/images/17032025/19/09/image_17032025_19_10_06_30229.jpg
MAIN: 2025-03-17 19:10:07,260 - INFO - duration: 0.7413105729938252
MAIN: 2025-03-17 19:10:07,261 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/19/10'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:10:36,938 - INFO - taking picture
MAIN: 2025-03-17 19:10:36,939 - INFO - we take 1521 photos in this while loop
MAIN: 2025-03-17 19:10:36,939 - INFO - /home/pi/Desktop/images/17032025/19/10/image_17032025_19_10_36_29713.jpg
MAIN: 2025-03-17 19:10:36,939 - INFO - duration: 0.7072173429987743
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-03-17 19:11: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=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-03-17 19:11:06,911 - INFO - taking picture
MAIN: 2025-03-17 19:11:06,912 - INFO - we take 1522 photos in this while loop
MAIN: 2025-03-17 19:11:06,912 - INFO - /home/pi/Desktop/images/17032025/19/10/image_17032025_19_11_06_30016.jpg
MAIN: 2025-03-17 19:11:06,912 - INFO - duration: 0.6635090099953231
MAIN: 2025-03-17 19:11:06,913 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:11:36,600 - INFO - taking picture
MAIN: 2025-03-17 19:11:36,600 - INFO - we take 1523 photos in this while loop
MAIN: 2025-03-17 19:11:36,601 - INFO - /home/pi/Desktop/images/17032025/19/11/image_17032025_19_11_36_29634.jpg
MAIN: 2025-03-17 19:11:36,601 - INFO - duration: 0.7176668230022187
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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=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-03-17 19:12:06,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 ! 
MAIN: 2025-03-17 19:12:06,784 - INFO - taking picture
MAIN: 2025-03-17 19:12:06,784 - INFO - we take 1524 photos in this while loop
MAIN: 2025-03-17 19:12:06,784 - INFO - /home/pi/Desktop/images/17032025/19/11/image_17032025_19_12_06_30229.jpg
MAIN: 2025-03-17 19:12:06,785 - INFO - duration: 0.6722301560002961
MAIN: 2025-03-17 19:12:06,785 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/19/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=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-03-17 19:12:36,522 - INFO - taking picture
MAIN: 2025-03-17 19:12:36,522 - INFO - we take 1525 photos in this while loop
MAIN: 2025-03-17 19:12:36,522 - INFO - /home/pi/Desktop/images/17032025/19/12/image_17032025_19_12_36_29695.jpg
MAIN: 2025-03-17 19:12:36,523 - INFO - duration: 0.7142836450002505
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-03-17 19:13:06,366 - INFO - 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-03-17 19:13:06,518 - INFO - taking picture
MAIN: 2025-03-17 19:13:06,519 - INFO - we take 1526 photos in this while loop
MAIN: 2025-03-17 19:13:06,519 - INFO - /home/pi/Desktop/images/17032025/19/12/image_17032025_19_13_06_30030.jpg
MAIN: 2025-03-17 19:13:06,519 - INFO - duration: 0.6802916660017218
MAIN: 2025-03-17 19:13:06,520 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:13:37,447 - INFO - taking picture
MAIN: 2025-03-17 19:13:37,448 - INFO - we take 1527 photos in this while loop
MAIN: 2025-03-17 19:13:37,448 - INFO - /home/pi/Desktop/images/17032025/19/13/image_17032025_19_13_37_30933.jpg
MAIN: 2025-03-17 19:13:37,448 - INFO - duration: 0.6754345829976955
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-03-17 19:14:06,242 - INFO - 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-03-17 19:14:06,380 - INFO - taking picture
MAIN: 2025-03-17 19:14:06,380 - INFO - we take 1528 photos in this while loop
MAIN: 2025-03-17 19:14:06,381 - INFO - /home/pi/Desktop/images/17032025/19/13/image_17032025_19_14_05_28912.jpg
MAIN: 2025-03-17 19:14:06,381 - INFO - duration: 0.6962419789997512
MAIN: 2025-03-17 19:14:06,381 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 19:14:37,168 - INFO - taking picture
MAIN: 2025-03-17 19:14:37,168 - INFO - we take 1529 photos in this while loop
MAIN: 2025-03-17 19:14:37,168 - INFO - /home/pi/Desktop/images/17032025/19/14/image_17032025_19_14_36_30790.jpg
MAIN: 2025-03-17 19:14:37,169 - INFO - duration: 0.6931302599987248
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-03-17 19:15: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:15:07,126 - INFO - taking picture
MAIN: 2025-03-17 19:15:07,127 - INFO - we take 1530 photos in this while loop
MAIN: 2025-03-17 19:15:07,127 - INFO - /home/pi/Desktop/images/17032025/19/14/image_17032025_19_15_06_29961.jpg
MAIN: 2025-03-17 19:15:07,127 - INFO - duration: 0.6905710420032847
MAIN: 2025-03-17 19:15:07,128 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/19/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=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-03-17 19:15:36,776 - INFO - taking picture
MAIN: 2025-03-17 19:15:36,777 - INFO - we take 1531 photos in this while loop
MAIN: 2025-03-17 19:15:36,777 - INFO - /home/pi/Desktop/images/17032025/19/15/image_17032025_19_15_36_29652.jpg
MAIN: 2025-03-17 19:15:36,777 - INFO - duration: 0.6879202080017421
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 19:16: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=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-03-17 19:16:06,849 - INFO - taking picture
MAIN: 2025-03-17 19:16:06,850 - INFO - we take 1532 photos in this while loop
MAIN: 2025-03-17 19:16:06,850 - INFO - /home/pi/Desktop/images/17032025/19/15/image_17032025_19_16_06_30058.jpg
MAIN: 2025-03-17 19:16:06,850 - INFO - duration: 0.7021278120009811
MAIN: 2025-03-17 19:16:06,851 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/19/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=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-03-17 19:16:36,354 - INFO - taking picture
MAIN: 2025-03-17 19:16:36,354 - INFO - we take 1533 photos in this while loop
MAIN: 2025-03-17 19:16:36,355 - INFO - /home/pi/Desktop/images/17032025/19/16/image_17032025_19_16_35_29501.jpg
MAIN: 2025-03-17 19:16:36,355 - INFO - duration: 0.7052457289973972
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 19:17:06,103 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:17:07,504 - INFO - taking picture
MAIN: 2025-03-17 19:17:07,504 - INFO - we take 1534 photos in this while loop
MAIN: 2025-03-17 19:17:07,504 - INFO - /home/pi/Desktop/images/17032025/19/16/image_17032025_19_17_07_31155.jpg
MAIN: 2025-03-17 19:17:07,505 - INFO - duration: 0.6999536459989031
MAIN: 2025-03-17 19:17:07,505 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/19/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=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-03-17 19:17:37,032 - INFO - taking picture
MAIN: 2025-03-17 19:17:37,032 - INFO - we take 1535 photos in this while loop
MAIN: 2025-03-17 19:17:37,032 - INFO - /home/pi/Desktop/images/17032025/19/17/image_17032025_19_17_36_29530.jpg
MAIN: 2025-03-17 19:17:37,033 - INFO - duration: 0.6973090620012954
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 19:18:06,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=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-03-17 19:18:07,162 - INFO - taking picture
MAIN: 2025-03-17 19:18:07,162 - INFO - we take 1536 photos in this while loop
MAIN: 2025-03-17 19:18:07,162 - INFO - /home/pi/Desktop/images/17032025/19/17/image_17032025_19_18_06_30146.jpg
MAIN: 2025-03-17 19:18:07,163 - INFO - duration: 0.6811659890008741
MAIN: 2025-03-17 19:18:07,163 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:18:36,698 - INFO - taking picture
MAIN: 2025-03-17 19:18:36,699 - INFO - we take 1537 photos in this while loop
MAIN: 2025-03-17 19:18:36,699 - INFO - /home/pi/Desktop/images/17032025/19/18/image_17032025_19_18_36_29504.jpg
MAIN: 2025-03-17 19:18:36,699 - INFO - duration: 0.7130186979993596
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 19:19:05,870 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:19:06,564 - INFO - taking picture
MAIN: 2025-03-17 19:19:06,565 - INFO - we take 1538 photos in this while loop
MAIN: 2025-03-17 19:19:06,565 - INFO - /home/pi/Desktop/images/17032025/19/18/image_17032025_19_19_06_29937.jpg
MAIN: 2025-03-17 19:19:06,565 - INFO - duration: 0.6418384369972046
MAIN: 2025-03-17 19:19:06,566 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:19:37,327 - INFO - taking picture
MAIN: 2025-03-17 19:19:37,328 - INFO - we take 1539 photos in this while loop
MAIN: 2025-03-17 19:19:37,328 - INFO - /home/pi/Desktop/images/17032025/19/19/image_17032025_19_19_36_30717.jpg
MAIN: 2025-03-17 19:19:37,328 - INFO - duration: 0.6867309369990835
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 19:20:06,500 - INFO - taking picture
MAIN: 2025-03-17 19:20:06,501 - INFO - we take 1540 photos in this while loop
MAIN: 2025-03-17 19:20:06,501 - INFO - /home/pi/Desktop/images/17032025/19/19/image_17032025_19_20_06_29169.jpg
MAIN: 2025-03-17 19:20:06,501 - INFO - duration: 0.6906329159974121
MAIN: 2025-03-17 19:20:06,502 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/19/20'
MAIN: 2025-03-17 19:20:06,893 - INFO - 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=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-03-17 19:20:37,318 - INFO - taking picture
MAIN: 2025-03-17 19:20:37,319 - INFO - we take 1541 photos in this while loop
MAIN: 2025-03-17 19:20:37,319 - INFO - /home/pi/Desktop/images/17032025/19/20/image_17032025_19_20_36_30807.jpg
MAIN: 2025-03-17 19:20:37,319 - INFO - duration: 0.7009523430024274
Corrupt JPEG data: premature end of data segment
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-03-17 19:21:05,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=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-03-17 19:21:07,044 - INFO - taking picture
MAIN: 2025-03-17 19:21:07,044 - INFO - we take 1542 photos in this while loop
MAIN: 2025-03-17 19:21:07,045 - INFO - /home/pi/Desktop/images/17032025/19/20/image_17032025_19_21_06_29752.jpg
MAIN: 2025-03-17 19:21:07,045 - INFO - duration: 0.6737785930017708
MAIN: 2025-03-17 19:21:07,045 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 19:21:36,612 - INFO - taking picture
MAIN: 2025-03-17 19:21:36,612 - INFO - we take 1543 photos in this while loop
MAIN: 2025-03-17 19:21:36,613 - INFO - /home/pi/Desktop/images/17032025/19/21/image_17032025_19_21_36_29559.jpg
MAIN: 2025-03-17 19:21:36,613 - INFO - duration: 0.6818185419979272
Corrupt JPEG data: premature end of data segment
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-03-17 19:22: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 ! 
MAIN: 2025-03-17 19:22:06,648 - INFO - taking picture
MAIN: 2025-03-17 19:22:06,648 - INFO - we take 1544 photos in this while loop
MAIN: 2025-03-17 19:22:06,648 - INFO - /home/pi/Desktop/images/17032025/19/21/image_17032025_19_22_06_30007.jpg
MAIN: 2025-03-17 19:22:06,649 - INFO - duration: 0.7106211450009141
MAIN: 2025-03-17 19:22:06,649 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/19/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-03-17 19:22:36,279 - INFO - taking picture
MAIN: 2025-03-17 19:22:36,279 - INFO - we take 1545 photos in this while loop
MAIN: 2025-03-17 19:22:36,280 - INFO - /home/pi/Desktop/images/17032025/19/22/image_17032025_19_22_35_29663.jpg
MAIN: 2025-03-17 19:22:36,280 - INFO - duration: 0.6787114059989108
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 19:23:06,151 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:23:07,277 - INFO - taking picture
MAIN: 2025-03-17 19:23:07,278 - INFO - we take 1546 photos in this while loop
MAIN: 2025-03-17 19:23:07,278 - INFO - /home/pi/Desktop/images/17032025/19/22/image_17032025_19_23_06_30971.jpg
MAIN: 2025-03-17 19:23:07,278 - INFO - duration: 0.7053627599962056
MAIN: 2025-03-17 19:23:07,279 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/19/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=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-03-17 19:23:36,798 - INFO - taking picture
MAIN: 2025-03-17 19:23:36,798 - INFO - we take 1547 photos in this while loop
MAIN: 2025-03-17 19:23:36,799 - INFO - /home/pi/Desktop/images/17032025/19/23/image_17032025_19_23_36_29532.jpg
MAIN: 2025-03-17 19:23:36,799 - INFO - duration: 0.6934972910021315
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 19:24:06,281 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:24:06,744 - INFO - taking picture
MAIN: 2025-03-17 19:24:06,745 - INFO - we take 1548 photos in this while loop
MAIN: 2025-03-17 19:24:06,745 - INFO - /home/pi/Desktop/images/17032025/19/23/image_17032025_19_24_06_29924.jpg
MAIN: 2025-03-17 19:24:06,745 - INFO - duration: 0.7155307290013297
MAIN: 2025-03-17 19:24:06,745 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 19:24:36,390 - INFO - taking picture
MAIN: 2025-03-17 19:24:36,391 - INFO - we take 1549 photos in this while loop
MAIN: 2025-03-17 19:24:36,391 - INFO - /home/pi/Desktop/images/17032025/19/24/image_17032025_19_24_36_29662.jpg
MAIN: 2025-03-17 19:24:36,391 - INFO - duration: 0.6995236969960388
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-03-17 19:25:06,125 - INFO - 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-03-17 19:25:06,656 - INFO - taking picture
MAIN: 2025-03-17 19:25:06,657 - INFO - we take 1550 photos in this while loop
MAIN: 2025-03-17 19:25:06,658 - INFO - /home/pi/Desktop/images/17032025/19/24/image_17032025_19_25_06_30280.jpg
MAIN: 2025-03-17 19:25:06,658 - INFO - duration: 0.6856994269983261
MAIN: 2025-03-17 19:25:06,659 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:25:37,453 - INFO - taking picture
MAIN: 2025-03-17 19:25:37,454 - INFO - we take 1551 photos in this while loop
MAIN: 2025-03-17 19:25:37,454 - INFO - /home/pi/Desktop/images/17032025/19/25/image_17032025_19_25_37_30802.jpg
MAIN: 2025-03-17 19:25:37,454 - INFO - duration: 0.6790846350049833
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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=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-03-17 19:26:06,328 - INFO - taking picture
MAIN: 2025-03-17 19:26:06,328 - INFO - we take 1552 photos in this while loop
MAIN: 2025-03-17 19:26:06,329 - INFO - /home/pi/Desktop/images/17032025/19/25/image_17032025_19_26_05_28893.jpg
MAIN: 2025-03-17 19:26:06,329 - INFO - duration: 0.6605070310033625
MAIN: 2025-03-17 19:26:06,329 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/19/26'
MAIN: 2025-03-17 19:26:06,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:26:37,171 - INFO - taking picture
MAIN: 2025-03-17 19:26:37,171 - INFO - we take 1553 photos in this while loop
MAIN: 2025-03-17 19:26:37,171 - INFO - /home/pi/Desktop/images/17032025/19/26/image_17032025_19_26_36_30813.jpg
MAIN: 2025-03-17 19:26:37,172 - INFO - duration: 0.6894938539990108
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 19:27: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-03-17 19:27:06,976 - INFO - taking picture
MAIN: 2025-03-17 19:27:06,977 - INFO - we take 1554 photos in this while loop
MAIN: 2025-03-17 19:27:06,977 - INFO - /home/pi/Desktop/images/17032025/19/26/image_17032025_19_27_06_29861.jpg
MAIN: 2025-03-17 19:27:06,977 - INFO - duration: 0.6343077080018702
MAIN: 2025-03-17 19:27:06,978 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 19:27:36,463 - INFO - taking picture
MAIN: 2025-03-17 19:27:36,464 - INFO - we take 1555 photos in this while loop
MAIN: 2025-03-17 19:27:36,464 - INFO - /home/pi/Desktop/images/17032025/19/27/image_17032025_19_27_36_29430.jpg
MAIN: 2025-03-17 19:27:36,464 - INFO - duration: 0.6910751559989876
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-03-17 19:28:06,464 - INFO - 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-03-17 19:28:06,629 - INFO - taking picture
MAIN: 2025-03-17 19:28:06,630 - INFO - we take 1556 photos in this while loop
MAIN: 2025-03-17 19:28:06,630 - INFO - /home/pi/Desktop/images/17032025/19/27/image_17032025_19_28_06_30161.jpg
MAIN: 2025-03-17 19:28:06,630 - INFO - duration: 0.6956688540012692
MAIN: 2025-03-17 19:28:06,631 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/19/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:28:37,388 - INFO - taking picture
MAIN: 2025-03-17 19:28:37,388 - INFO - we take 1557 photos in this while loop
MAIN: 2025-03-17 19:28:37,388 - INFO - /home/pi/Desktop/images/17032025/19/28/image_17032025_19_28_37_30767.jpg
MAIN: 2025-03-17 19:28:37,389 - INFO - duration: 0.6862727080006152
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 19:29:06,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=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-03-17 19:29:07,253 - INFO - taking picture
MAIN: 2025-03-17 19:29:07,254 - INFO - we take 1558 photos in this while loop
MAIN: 2025-03-17 19:29:07,254 - INFO - /home/pi/Desktop/images/17032025/19/28/image_17032025_19_29_06_29908.jpg
MAIN: 2025-03-17 19:29:07,254 - INFO - duration: 0.6433382290051668
MAIN: 2025-03-17 19:29:07,255 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/19/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=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-03-17 19:29:36,789 - INFO - taking picture
MAIN: 2025-03-17 19:29:36,789 - INFO - we take 1559 photos in this while loop
MAIN: 2025-03-17 19:29:36,790 - INFO - /home/pi/Desktop/images/17032025/19/29/image_17032025_19_29_36_29481.jpg
MAIN: 2025-03-17 19:29:36,790 - INFO - duration: 0.6976060930028325
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 19:30: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-03-17 19:30:07,027 - INFO - taking picture
MAIN: 2025-03-17 19:30:07,028 - INFO - we take 1560 photos in this while loop
MAIN: 2025-03-17 19:30:07,028 - INFO - /home/pi/Desktop/images/17032025/19/29/image_17032025_19_30_06_30243.jpg
MAIN: 2025-03-17 19:30:07,028 - INFO - duration: 0.6924665620026644
MAIN: 2025-03-17 19:30:07,029 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/19/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:30:36,571 - INFO - taking picture
MAIN: 2025-03-17 19:30:36,571 - INFO - we take 1561 photos in this while loop
MAIN: 2025-03-17 19:30:36,572 - INFO - /home/pi/Desktop/images/17032025/19/30/image_17032025_19_30_36_29539.jpg
MAIN: 2025-03-17 19:30:36,572 - INFO - duration: 0.6964776560052997
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-03-17 19:31: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=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-03-17 19:31:06,689 - INFO - taking picture
MAIN: 2025-03-17 19:31:06,689 - INFO - we take 1562 photos in this while loop
MAIN: 2025-03-17 19:31:06,689 - INFO - /home/pi/Desktop/images/17032025/19/30/image_17032025_19_31_06_30118.jpg
MAIN: 2025-03-17 19:31:06,690 - INFO - duration: 0.6953169270054786
MAIN: 2025-03-17 19:31:06,690 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:31:36,264 - INFO - taking picture
MAIN: 2025-03-17 19:31:36,264 - INFO - we take 1563 photos in this while loop
MAIN: 2025-03-17 19:31:36,265 - INFO - /home/pi/Desktop/images/17032025/19/31/image_17032025_19_31_35_29581.jpg
MAIN: 2025-03-17 19:31:36,265 - INFO - duration: 0.6888455209991662
Corrupt JPEG data: premature end of data segment
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-03-17 19:32:06,484 - INFO - taking picture
MAIN: 2025-03-17 19:32:06,485 - INFO - we take 1564 photos in this while loop
MAIN: 2025-03-17 19:32:06,485 - INFO - /home/pi/Desktop/images/17032025/19/31/image_17032025_19_32_06_30233.jpg
MAIN: 2025-03-17 19:32:06,485 - INFO - duration: 0.6752114060000167
MAIN: 2025-03-17 19:32:06,486 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/19/32'
MAIN: 2025-03-17 19:32:06,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:32:37,355 - INFO - taking picture
MAIN: 2025-03-17 19:32:37,355 - INFO - we take 1565 photos in this while loop
MAIN: 2025-03-17 19:32:37,356 - INFO - /home/pi/Desktop/images/17032025/19/32/image_17032025_19_32_36_30881.jpg
MAIN: 2025-03-17 19:32:37,356 - INFO - duration: 0.6640008850008599
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 19:33:06,467 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:33:07,213 - INFO - taking picture
MAIN: 2025-03-17 19:33:07,214 - INFO - we take 1566 photos in this while loop
MAIN: 2025-03-17 19:33:07,214 - INFO - /home/pi/Desktop/images/17032025/19/32/image_17032025_19_33_06_29870.jpg
MAIN: 2025-03-17 19:33:07,214 - INFO - duration: 0.6521731250031735
MAIN: 2025-03-17 19:33:07,214 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:33:36,794 - INFO - taking picture
MAIN: 2025-03-17 19:33:36,795 - INFO - we take 1567 photos in this while loop
MAIN: 2025-03-17 19:33:36,795 - INFO - /home/pi/Desktop/images/17032025/19/33/image_17032025_19_33_36_29570.jpg
MAIN: 2025-03-17 19:33:36,795 - INFO - duration: 0.6627719790049014
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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=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-03-17 19:34:06,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 ! 
MAIN: 2025-03-17 19:34:06,830 - INFO - taking picture
MAIN: 2025-03-17 19:34:06,831 - INFO - we take 1568 photos in this while loop
MAIN: 2025-03-17 19:34:06,831 - INFO - /home/pi/Desktop/images/17032025/19/33/image_17032025_19_34_06_30028.jpg
MAIN: 2025-03-17 19:34:06,831 - INFO - duration: 0.6698755729958066
MAIN: 2025-03-17 19:34:06,832 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:34:36,352 - INFO - taking picture
MAIN: 2025-03-17 19:34:36,352 - INFO - we take 1569 photos in this while loop
MAIN: 2025-03-17 19:34:36,352 - INFO - /home/pi/Desktop/images/17032025/19/34/image_17032025_19_34_35_29497.jpg
MAIN: 2025-03-17 19:34:36,353 - INFO - duration: 0.6937481770000886
Corrupt JPEG data: premature end of data segment
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-03-17 19:35:06,133 - INFO - 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-03-17 19:35:06,550 - INFO - taking picture
MAIN: 2025-03-17 19:35:06,550 - INFO - we take 1570 photos in this while loop
MAIN: 2025-03-17 19:35:06,551 - INFO - /home/pi/Desktop/images/17032025/19/34/image_17032025_19_35_06_30193.jpg
MAIN: 2025-03-17 19:35:06,551 - INFO - duration: 0.6991321349996724
MAIN: 2025-03-17 19:35:06,551 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/19/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=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-03-17 19:35:37,416 - INFO - taking picture
MAIN: 2025-03-17 19:35:37,417 - INFO - we take 1571 photos in this while loop
MAIN: 2025-03-17 19:35:37,417 - INFO - /home/pi/Desktop/images/17032025/19/35/image_17032025_19_35_37_30863.jpg
MAIN: 2025-03-17 19:35:37,417 - INFO - duration: 0.7022470310039353
[ WARN:0] global /tmp/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-03-17 19:36: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 ! 
MAIN: 2025-03-17 19:36:06,477 - INFO - taking picture
MAIN: 2025-03-17 19:36:06,477 - INFO - we take 1572 photos in this while loop
MAIN: 2025-03-17 19:36:06,477 - INFO - /home/pi/Desktop/images/17032025/19/35/image_17032025_19_36_06_29057.jpg
MAIN: 2025-03-17 19:36:06,478 - INFO - duration: 0.7046174479983165
MAIN: 2025-03-17 19:36:06,478 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/19/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=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-03-17 19:36:37,387 - INFO - taking picture
MAIN: 2025-03-17 19:36:37,388 - INFO - we take 1573 photos in this while loop
MAIN: 2025-03-17 19:36:37,388 - INFO - /home/pi/Desktop/images/17032025/19/36/image_17032025_19_36_37_30930.jpg
MAIN: 2025-03-17 19:36:37,388 - INFO - duration: 0.6850609379980597
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 19:37: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=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-03-17 19:37:07,165 - INFO - taking picture
MAIN: 2025-03-17 19:37:07,165 - INFO - we take 1574 photos in this while loop
MAIN: 2025-03-17 19:37:07,166 - INFO - /home/pi/Desktop/images/17032025/19/36/image_17032025_19_37_06_29766.jpg
MAIN: 2025-03-17 19:37:07,166 - INFO - duration: 0.6959417190009844
MAIN: 2025-03-17 19:37:07,166 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 19:37:36,737 - INFO - taking picture
MAIN: 2025-03-17 19:37:36,738 - INFO - we take 1575 photos in this while loop
MAIN: 2025-03-17 19:37:36,738 - INFO - /home/pi/Desktop/images/17032025/19/37/image_17032025_19_37_36_29569.jpg
MAIN: 2025-03-17 19:37:36,738 - INFO - duration: 0.6989686980014085
[ WARN:0] global /tmp/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

 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (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-03-17 19:38: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 ! 
MAIN: 2025-03-17 19:38:06,932 - INFO - taking picture
MAIN: 2025-03-17 19:38:06,933 - INFO - we take 1576 photos in this while loop
MAIN: 2025-03-17 19:38:06,933 - INFO - /home/pi/Desktop/images/17032025/19/37/image_17032025_19_38_06_30207.jpg
MAIN: 2025-03-17 19:38:06,933 - INFO - duration: 0.6858667699998477
MAIN: 2025-03-17 19:38:06,933 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/19/38'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:38:36,534 - INFO - taking picture
MAIN: 2025-03-17 19:38:36,534 - INFO - we take 1577 photos in this while loop
MAIN: 2025-03-17 19:38:36,534 - INFO - /home/pi/Desktop/images/17032025/19/38/image_17032025_19_38_36_29586.jpg
MAIN: 2025-03-17 19:38:36,535 - INFO - duration: 0.7013876040000468
[ WARN:0] global /tmp/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-03-17 19:39:06,714 - INFO - taking picture
MAIN: 2025-03-17 19:39:06,714 - INFO - we take 1578 photos in this while loop
MAIN: 2025-03-17 19:39:06,715 - INFO - /home/pi/Desktop/images/17032025/19/38/image_17032025_19_39_06_30186.jpg
MAIN: 2025-03-17 19:39:06,715 - INFO - duration: 0.6950095829961356
MAIN: 2025-03-17 19:39:06,715 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/19/39'
MAIN: 2025-03-17 19:39:06,717 - INFO - 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=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-03-17 19:39:36,289 - INFO - taking picture
MAIN: 2025-03-17 19:39:36,290 - INFO - we take 1579 photos in this while loop
MAIN: 2025-03-17 19:39:36,290 - INFO - /home/pi/Desktop/images/17032025/19/39/image_17032025_19_39_35_29569.jpg
MAIN: 2025-03-17 19:39:36,290 - INFO - duration: 0.7010919269960141
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:40:06,699 - INFO - taking picture
MAIN: 2025-03-17 19:40:06,700 - INFO - we take 1580 photos in this while loop
MAIN: 2025-03-17 19:40:06,700 - INFO - /home/pi/Desktop/images/17032025/19/39/image_17032025_19_40_06_30355.jpg
MAIN: 2025-03-17 19:40:06,700 - INFO - duration: 0.7557334369994351
MAIN: 2025-03-17 19:40:06,701 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/19/40'
MAIN: 2025-03-17 19:40:07,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=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-03-17 19:40:36,403 - INFO - taking picture
MAIN: 2025-03-17 19:40:36,403 - INFO - we take 1581 photos in this while loop
MAIN: 2025-03-17 19:40:36,403 - INFO - /home/pi/Desktop/images/17032025/19/40/image_17032025_19_40_36_29760.jpg
MAIN: 2025-03-17 19:40:36,404 - INFO - duration: 0.6993060409949976
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 19:41: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=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-03-17 19:41:06,482 - INFO - taking picture
MAIN: 2025-03-17 19:41:06,483 - INFO - we take 1582 photos in this while loop
MAIN: 2025-03-17 19:41:06,483 - INFO - /home/pi/Desktop/images/17032025/19/40/image_17032025_19_41_06_30137.jpg
MAIN: 2025-03-17 19:41:06,483 - INFO - duration: 0.6414135410013841
MAIN: 2025-03-17 19:41:06,484 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:41:37,261 - INFO - taking picture
MAIN: 2025-03-17 19:41:37,262 - INFO - we take 1583 photos in this while loop
MAIN: 2025-03-17 19:41:37,262 - INFO - /home/pi/Desktop/images/17032025/19/41/image_17032025_19_41_36_30724.jpg
MAIN: 2025-03-17 19:41:37,262 - INFO - duration: 0.6958775000020978
Corrupt JPEG data: premature end of data segment
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-03-17 19:42: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:42:07,282 - INFO - taking picture
MAIN: 2025-03-17 19:42:07,282 - INFO - we take 1584 photos in this while loop
MAIN: 2025-03-17 19:42:07,283 - INFO - /home/pi/Desktop/images/17032025/19/41/image_17032025_19_42_06_30038.jpg
MAIN: 2025-03-17 19:42:07,283 - INFO - duration: 0.6778854680014774
MAIN: 2025-03-17 19:42:07,283 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:42:36,790 - INFO - taking picture
MAIN: 2025-03-17 19:42:36,790 - INFO - we take 1585 photos in this while loop
MAIN: 2025-03-17 19:42:36,791 - INFO - /home/pi/Desktop/images/17032025/19/42/image_17032025_19_42_36_29513.jpg
MAIN: 2025-03-17 19:42:36,791 - INFO - duration: 0.6722466669962159
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 19:43:06,319 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:43:06,857 - INFO - taking picture
MAIN: 2025-03-17 19:43:06,857 - INFO - we take 1586 photos in this while loop
MAIN: 2025-03-17 19:43:06,857 - INFO - /home/pi/Desktop/images/17032025/19/42/image_17032025_19_43_06_30034.jpg
MAIN: 2025-03-17 19:43:06,858 - INFO - duration: 0.704604010003095
MAIN: 2025-03-17 19:43:06,858 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:43:36,397 - INFO - taking picture
MAIN: 2025-03-17 19:43:36,397 - INFO - we take 1587 photos in this while loop
MAIN: 2025-03-17 19:43:36,398 - INFO - /home/pi/Desktop/images/17032025/19/43/image_17032025_19_43_36_29569.jpg
MAIN: 2025-03-17 19:43:36,398 - INFO - duration: 0.6758426560045336
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 19:44:06,412 - INFO - taking picture
MAIN: 2025-03-17 19:44:06,413 - INFO - we take 1588 photos in this while loop
MAIN: 2025-03-17 19:44:06,413 - INFO - /home/pi/Desktop/images/17032025/19/43/image_17032025_19_44_06_30053.jpg
MAIN: 2025-03-17 19:44:06,413 - INFO - duration: 0.6375409899992519
MAIN: 2025-03-17 19:44:06,413 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/19/44'
MAIN: 2025-03-17 19:44:06,994 - INFO - 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=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-03-17 19:44:37,335 - INFO - taking picture
MAIN: 2025-03-17 19:44:37,336 - INFO - we take 1589 photos in this while loop
MAIN: 2025-03-17 19:44:37,336 - INFO - /home/pi/Desktop/images/17032025/19/44/image_17032025_19_44_36_30868.jpg
MAIN: 2025-03-17 19:44:37,336 - INFO - duration: 0.6922338010044768
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:45:06,555 - INFO - taking picture
MAIN: 2025-03-17 19:45:06,555 - INFO - we take 1590 photos in this while loop
MAIN: 2025-03-17 19:45:06,556 - INFO - /home/pi/Desktop/images/17032025/19/44/image_17032025_19_45_06_28998.jpg
MAIN: 2025-03-17 19:45:06,556 - INFO - duration: 0.9134987500001444
MAIN: 2025-03-17 19:45:06,803 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/19/45'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 19:45:07,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:45:37,330 - INFO - taking picture
MAIN: 2025-03-17 19:45:37,331 - INFO - we take 1591 photos in this while loop
MAIN: 2025-03-17 19:45:37,331 - INFO - /home/pi/Desktop/images/17032025/19/45/image_17032025_19_45_36_30994.jpg
MAIN: 2025-03-17 19:45:37,331 - INFO - duration: 0.694445885004825
Corrupt JPEG data: premature end of data segment
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=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-03-17 19:46:06,371 - INFO - taking picture
MAIN: 2025-03-17 19:46:06,372 - INFO - we take 1592 photos in this while loop
MAIN: 2025-03-17 19:46:06,372 - INFO - /home/pi/Desktop/images/17032025/19/45/image_17032025_19_46_05_29046.jpg
MAIN: 2025-03-17 19:46:06,372 - INFO - duration: 0.6885071349970531
MAIN: 2025-03-17 19:46:06,373 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/19/46'
MAIN: 2025-03-17 19:46: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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:46:37,156 - INFO - taking picture
MAIN: 2025-03-17 19:46:37,157 - INFO - we take 1593 photos in this while loop
MAIN: 2025-03-17 19:46:37,157 - INFO - /home/pi/Desktop/images/17032025/19/46/image_17032025_19_46_36_30796.jpg
MAIN: 2025-03-17 19:46:37,157 - INFO - duration: 0.6767839059975813
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 19:47: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=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-03-17 19:47:07,016 - INFO - taking picture
MAIN: 2025-03-17 19:47:07,016 - INFO - we take 1594 photos in this while loop
MAIN: 2025-03-17 19:47:07,016 - INFO - /home/pi/Desktop/images/17032025/19/46/image_17032025_19_47_06_29860.jpg
MAIN: 2025-03-17 19:47:07,017 - INFO - duration: 0.67610697899363
MAIN: 2025-03-17 19:47:07,017 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:47:36,768 - INFO - taking picture
MAIN: 2025-03-17 19:47:36,769 - INFO - we take 1595 photos in this while loop
MAIN: 2025-03-17 19:47:36,769 - INFO - /home/pi/Desktop/images/17032025/19/47/image_17032025_19_47_36_29690.jpg
MAIN: 2025-03-17 19:47:36,769 - INFO - duration: 0.7379125510051381
Corrupt JPEG data: premature end of data segment
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-03-17 19:48: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=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-03-17 19:48:06,882 - INFO - taking picture
MAIN: 2025-03-17 19:48:06,882 - INFO - we take 1596 photos in this while loop
MAIN: 2025-03-17 19:48:06,883 - INFO - /home/pi/Desktop/images/17032025/19/47/image_17032025_19_48_06_30185.jpg
MAIN: 2025-03-17 19:48:06,883 - INFO - duration: 0.6660112500030664
MAIN: 2025-03-17 19:48:06,883 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:48:36,562 - INFO - taking picture
MAIN: 2025-03-17 19:48:36,563 - INFO - we take 1597 photos in this while loop
MAIN: 2025-03-17 19:48:36,563 - INFO - /home/pi/Desktop/images/17032025/19/48/image_17032025_19_48_36_29652.jpg
MAIN: 2025-03-17 19:48:36,563 - INFO - duration: 0.693783593000262
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-03-17 19:49:06,205 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:49:06,628 - INFO - taking picture
MAIN: 2025-03-17 19:49:06,629 - INFO - we take 1598 photos in this while loop
MAIN: 2025-03-17 19:49:06,629 - INFO - /home/pi/Desktop/images/17032025/19/48/image_17032025_19_49_06_30059.jpg
MAIN: 2025-03-17 19:49:06,629 - INFO - duration: 0.7002807809985825
MAIN: 2025-03-17 19:49:06,630 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:49:37,514 - INFO - taking picture
MAIN: 2025-03-17 19:49:37,514 - INFO - we take 1599 photos in this while loop
MAIN: 2025-03-17 19:49:37,515 - INFO - /home/pi/Desktop/images/17032025/19/49/image_17032025_19_49_37_30890.jpg
MAIN: 2025-03-17 19:49:37,515 - INFO - duration: 0.6948940620059147
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:50:06,478 - INFO - taking picture
MAIN: 2025-03-17 19:50:06,479 - INFO - we take 1600 photos in this while loop
MAIN: 2025-03-17 19:50:06,480 - INFO - /home/pi/Desktop/images/17032025/19/49/image_17032025_19_50_06_28885.jpg
MAIN: 2025-03-17 19:50:06,480 - INFO - duration: 0.7740117189969169
MAIN: 2025-03-17 19:50:06,481 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/19/50'
MAIN: 2025-03-17 19:50:07,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:50:37,200 - INFO - taking picture
MAIN: 2025-03-17 19:50:37,201 - INFO - we take 1601 photos in this while loop
MAIN: 2025-03-17 19:50:37,201 - INFO - /home/pi/Desktop/images/17032025/19/50/image_17032025_19_50_36_30807.jpg
MAIN: 2025-03-17 19:50:37,201 - INFO - duration: 0.6879286449984647
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 19:51:06,014 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:51:06,972 - INFO - taking picture
MAIN: 2025-03-17 19:51:06,972 - INFO - we take 1602 photos in this while loop
MAIN: 2025-03-17 19:51:06,972 - INFO - /home/pi/Desktop/images/17032025/19/50/image_17032025_19_51_06_29824.jpg
MAIN: 2025-03-17 19:51:06,973 - INFO - duration: 0.6345904680056265
MAIN: 2025-03-17 19:51:06,973 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:51:36,532 - INFO - taking picture
MAIN: 2025-03-17 19:51:36,533 - INFO - we take 1603 photos in this while loop
MAIN: 2025-03-17 19:51:36,533 - INFO - /home/pi/Desktop/images/17032025/19/51/image_17032025_19_51_36_29514.jpg
MAIN: 2025-03-17 19:51:36,533 - INFO - duration: 0.6810073960004956
Corrupt JPEG data: premature end of data segment
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-03-17 19:52: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 ! 
MAIN: 2025-03-17 19:52:06,512 - INFO - taking picture
MAIN: 2025-03-17 19:52:06,513 - INFO - we take 1604 photos in this while loop
MAIN: 2025-03-17 19:52:06,513 - INFO - /home/pi/Desktop/images/17032025/19/51/image_17032025_19_52_06_29969.jpg
MAIN: 2025-03-17 19:52:06,513 - INFO - duration: 0.6914319779971265
MAIN: 2025-03-17 19:52:06,513 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 19:52:37,393 - INFO - taking picture
MAIN: 2025-03-17 19:52:37,393 - INFO - we take 1605 photos in this while loop
MAIN: 2025-03-17 19:52:37,394 - INFO - /home/pi/Desktop/images/17032025/19/52/image_17032025_19_52_37_30873.jpg
MAIN: 2025-03-17 19:52:37,394 - INFO - duration: 0.6991044270034763
Corrupt JPEG data: premature end of data segment
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-03-17 19:53: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:53:07,146 - INFO - taking picture
MAIN: 2025-03-17 19:53:07,146 - INFO - we take 1606 photos in this while loop
MAIN: 2025-03-17 19:53:07,147 - INFO - /home/pi/Desktop/images/17032025/19/52/image_17032025_19_53_06_29803.jpg
MAIN: 2025-03-17 19:53:07,147 - INFO - duration: 0.6481595310033299
MAIN: 2025-03-17 19:53:07,147 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/19/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=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-03-17 19:53:36,705 - INFO - taking picture
MAIN: 2025-03-17 19:53:36,705 - INFO - we take 1607 photos in this while loop
MAIN: 2025-03-17 19:53:36,705 - INFO - /home/pi/Desktop/images/17032025/19/53/image_17032025_19_53_36_29516.jpg
MAIN: 2025-03-17 19:53:36,705 - INFO - duration: 0.6904689579969272
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 19:54:06,931 - INFO - taking picture
MAIN: 2025-03-17 19:54:06,932 - INFO - we take 1608 photos in this while loop
MAIN: 2025-03-17 19:54:06,932 - INFO - /home/pi/Desktop/images/17032025/19/53/image_17032025_19_54_06_30277.jpg
MAIN: 2025-03-17 19:54:06,932 - INFO - duration: 0.6400804689983488
MAIN: 2025-03-17 19:54:06,933 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/19/54'
MAIN: 2025-03-17 19:54:06,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:54:36,483 - INFO - taking picture
MAIN: 2025-03-17 19:54:36,483 - INFO - we take 1609 photos in this while loop
MAIN: 2025-03-17 19:54:36,483 - INFO - /home/pi/Desktop/images/17032025/19/54/image_17032025_19_54_36_29497.jpg
MAIN: 2025-03-17 19:54:36,484 - INFO - duration: 0.6941410409999662
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:55:06,814 - INFO - taking picture
MAIN: 2025-03-17 19:55:06,815 - INFO - we take 1610 photos in this while loop
MAIN: 2025-03-17 19:55:06,815 - INFO - /home/pi/Desktop/images/17032025/19/54/image_17032025_19_55_06_30354.jpg
MAIN: 2025-03-17 19:55:06,815 - INFO - duration: 0.6708834370001568
MAIN: 2025-03-17 19:55:06,816 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/19/55'
MAIN: 2025-03-17 19:55:07,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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:55:37,541 - INFO - taking picture
MAIN: 2025-03-17 19:55:37,541 - INFO - we take 1611 photos in this while loop
MAIN: 2025-03-17 19:55:37,542 - INFO - /home/pi/Desktop/images/17032025/19/55/image_17032025_19_55_37_30713.jpg
MAIN: 2025-03-17 19:55:37,542 - INFO - duration: 0.6835597910030629
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 19:56:06,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 ! 
MAIN: 2025-03-17 19:56:06,505 - INFO - taking picture
MAIN: 2025-03-17 19:56:06,505 - INFO - we take 1612 photos in this while loop
MAIN: 2025-03-17 19:56:06,505 - INFO - /home/pi/Desktop/images/17032025/19/55/image_17032025_19_56_06_28943.jpg
MAIN: 2025-03-17 19:56:06,506 - INFO - duration: 0.7036849479991361
MAIN: 2025-03-17 19:56:06,506 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/19/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=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-03-17 19:56:37,346 - INFO - taking picture
MAIN: 2025-03-17 19:56:37,346 - INFO - we take 1613 photos in this while loop
MAIN: 2025-03-17 19:56:37,346 - INFO - /home/pi/Desktop/images/17032025/19/56/image_17032025_19_56_36_30848.jpg
MAIN: 2025-03-17 19:56:37,347 - INFO - duration: 0.695942083002592
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 19: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:57:07,325 - INFO - taking picture
MAIN: 2025-03-17 19:57:07,325 - INFO - we take 1614 photos in this while loop
MAIN: 2025-03-17 19:57:07,326 - INFO - /home/pi/Desktop/images/17032025/19/56/image_17032025_19_57_06_30006.jpg
MAIN: 2025-03-17 19:57:07,326 - INFO - duration: 0.6681327609985601
MAIN: 2025-03-17 19:57:07,326 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/19/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=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-03-17 19:57:36,919 - INFO - taking picture
MAIN: 2025-03-17 19:57:36,920 - INFO - we take 1615 photos in this while loop
MAIN: 2025-03-17 19:57:36,920 - INFO - /home/pi/Desktop/images/17032025/19/57/image_17032025_19_57_36_29590.jpg
MAIN: 2025-03-17 19:57:36,920 - INFO - duration: 0.6717759370003478
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-03-17 19:58:06,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 ! 
MAIN: 2025-03-17 19:58:07,001 - INFO - taking picture
MAIN: 2025-03-17 19:58:07,001 - INFO - we take 1616 photos in this while loop
MAIN: 2025-03-17 19:58:07,002 - INFO - /home/pi/Desktop/images/17032025/19/57/image_17032025_19_58_06_30048.jpg
MAIN: 2025-03-17 19:58:07,002 - INFO - duration: 0.7053655210038414
MAIN: 2025-03-17 19:58:07,002 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:58:36,692 - INFO - taking picture
MAIN: 2025-03-17 19:58:36,692 - INFO - we take 1617 photos in this while loop
MAIN: 2025-03-17 19:58:36,693 - INFO - /home/pi/Desktop/images/17032025/19/58/image_17032025_19_58_36_29695.jpg
MAIN: 2025-03-17 19:58:36,693 - INFO - duration: 0.7011723430041457
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 19:59:06,339 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 19:59:06,866 - INFO - taking picture
MAIN: 2025-03-17 19:59:06,866 - INFO - we take 1618 photos in this while loop
MAIN: 2025-03-17 19:59:06,866 - INFO - /home/pi/Desktop/images/17032025/19/58/image_17032025_19_59_06_30176.jpg
MAIN: 2025-03-17 19:59:06,867 - INFO - duration: 0.6985091149981599
MAIN: 2025-03-17 19:59:06,867 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/19/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=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-03-17 19:59:36,487 - INFO - taking picture
MAIN: 2025-03-17 19:59:36,488 - INFO - we take 1619 photos in this while loop
MAIN: 2025-03-17 19:59:36,488 - INFO - /home/pi/Desktop/images/17032025/19/59/image_17032025_19_59_36_29616.jpg
MAIN: 2025-03-17 19:59:36,488 - INFO - duration: 0.7032329680005205
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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=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-03-17 20:00:06,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 ! 
MAIN: 2025-03-17 20:00:06,892 - INFO - taking picture
MAIN: 2025-03-17 20:00:06,893 - INFO - we take 1620 photos in this while loop
MAIN: 2025-03-17 20:00:06,893 - INFO - /home/pi/Desktop/images/17032025/19/59/image_17032025_20_00_06_30430.jpg
MAIN: 2025-03-17 20:00:06,893 - INFO - duration: 0.6783937500003958
MAIN: 2025-03-17 20:00:06,894 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:00:37,535 - INFO - taking picture
MAIN: 2025-03-17 20:00:37,536 - INFO - we take 1621 photos in this while loop
MAIN: 2025-03-17 20:00:37,536 - INFO - /home/pi/Desktop/images/17032025/20/00/image_17032025_20_00_37_30643.jpg
MAIN: 2025-03-17 20:00:37,536 - INFO - duration: 0.6773405719941366
Corrupt JPEG data: premature end of data segment
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-03-17 20:01:06,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 ! 
MAIN: 2025-03-17 20:01:06,286 - INFO - taking picture
MAIN: 2025-03-17 20:01:06,286 - INFO - we take 1622 photos in this while loop
MAIN: 2025-03-17 20:01:06,287 - INFO - /home/pi/Desktop/images/17032025/20/00/image_17032025_20_01_05_28736.jpg
MAIN: 2025-03-17 20:01:06,287 - INFO - duration: 0.6921619269996881
MAIN: 2025-03-17 20:01:06,287 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/20/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=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-03-17 20:01:37,149 - INFO - taking picture
MAIN: 2025-03-17 20:01:37,149 - INFO - we take 1623 photos in this while loop
MAIN: 2025-03-17 20:01:37,149 - INFO - /home/pi/Desktop/images/17032025/20/01/image_17032025_20_01_36_30881.jpg
MAIN: 2025-03-17 20:01:37,150 - INFO - duration: 0.6732139579980867
Corrupt JPEG data: premature end of data segment
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-03-17 20:02:06,535 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:02:07,027 - INFO - taking picture
MAIN: 2025-03-17 20:02:07,028 - INFO - we take 1624 photos in this while loop
MAIN: 2025-03-17 20:02:07,028 - INFO - /home/pi/Desktop/images/17032025/20/01/image_17032025_20_02_06_29849.jpg
MAIN: 2025-03-17 20:02:07,028 - INFO - duration: 0.7021453640045365
MAIN: 2025-03-17 20:02:07,028 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/20/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:02:36,565 - INFO - taking picture
MAIN: 2025-03-17 20:02:36,565 - INFO - we take 1625 photos in this while loop
MAIN: 2025-03-17 20:02:36,566 - INFO - /home/pi/Desktop/images/17032025/20/02/image_17032025_20_02_36_29550.jpg
MAIN: 2025-03-17 20:02:36,566 - INFO - duration: 0.6893705719994614
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-03-17 20:03: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=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-03-17 20:03:06,590 - INFO - taking picture
MAIN: 2025-03-17 20:03:06,590 - INFO - we take 1626 photos in this while loop
MAIN: 2025-03-17 20:03:06,590 - INFO - /home/pi/Desktop/images/17032025/20/02/image_17032025_20_03_06_30039.jpg
MAIN: 2025-03-17 20:03:06,591 - INFO - duration: 0.6749210420020972
MAIN: 2025-03-17 20:03:06,591 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/20/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=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-03-17 20:03:37,411 - INFO - taking picture
MAIN: 2025-03-17 20:03:37,411 - INFO - we take 1627 photos in this while loop
MAIN: 2025-03-17 20:03:37,411 - INFO - /home/pi/Desktop/images/17032025/20/03/image_17032025_20_03_37_30800.jpg
MAIN: 2025-03-17 20:03:37,411 - INFO - duration: 0.6954280720019597
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 20:04:06,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=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-03-17 20:04:07,304 - INFO - taking picture
MAIN: 2025-03-17 20:04:07,305 - INFO - we take 1628 photos in this while loop
MAIN: 2025-03-17 20:04:07,305 - INFO - /home/pi/Desktop/images/17032025/20/03/image_17032025_20_04_06_29912.jpg
MAIN: 2025-03-17 20:04:07,305 - INFO - duration: 0.6764967709968914
MAIN: 2025-03-17 20:04:07,306 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/20/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:04:36,961 - INFO - taking picture
MAIN: 2025-03-17 20:04:36,962 - INFO - we take 1629 photos in this while loop
MAIN: 2025-03-17 20:04:36,962 - INFO - /home/pi/Desktop/images/17032025/20/04/image_17032025_20_04_36_29645.jpg
MAIN: 2025-03-17 20:04:36,962 - INFO - duration: 0.6877306759997737
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-03-17 20:05:07,292 - INFO - taking picture
MAIN: 2025-03-17 20:05:07,292 - INFO - we take 1630 photos in this while loop
MAIN: 2025-03-17 20:05:07,293 - INFO - /home/pi/Desktop/images/17032025/20/04/image_17032025_20_05_06_30324.jpg
MAIN: 2025-03-17 20:05:07,293 - INFO - duration: 0.6942642180001712
MAIN: 2025-03-17 20:05:07,293 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/20/05'
MAIN: 2025-03-17 20:05:07,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:05:36,801 - INFO - taking picture
MAIN: 2025-03-17 20:05:36,802 - INFO - we take 1631 photos in this while loop
MAIN: 2025-03-17 20:05:36,802 - INFO - /home/pi/Desktop/images/17032025/20/05/image_17032025_20_05_36_29506.jpg
MAIN: 2025-03-17 20:05:36,802 - INFO - duration: 0.6971624470024835
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-03-17 20:06:05,993 - INFO - 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-03-17 20:06:06,710 - INFO - taking picture
MAIN: 2025-03-17 20:06:06,711 - INFO - we take 1632 photos in this while loop
MAIN: 2025-03-17 20:06:06,711 - INFO - /home/pi/Desktop/images/17032025/20/05/image_17032025_20_06_06_29960.jpg
MAIN: 2025-03-17 20:06:06,711 - INFO - duration: 0.6458491660014261
MAIN: 2025-03-17 20:06:06,711 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:06:37,476 - INFO - taking picture
MAIN: 2025-03-17 20:06:37,476 - INFO - we take 1633 photos in this while loop
MAIN: 2025-03-17 20:06:37,477 - INFO - /home/pi/Desktop/images/17032025/20/06/image_17032025_20_06_37_30722.jpg
MAIN: 2025-03-17 20:06:37,477 - INFO - duration: 0.6894011969998246
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-03-17 20:07:05,735 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:07:07,467 - INFO - taking picture
MAIN: 2025-03-17 20:07:07,468 - INFO - we take 1634 photos in this while loop
MAIN: 2025-03-17 20:07:07,468 - INFO - /home/pi/Desktop/images/17032025/20/06/image_17032025_20_07_07_29999.jpg
MAIN: 2025-03-17 20:07:07,468 - INFO - duration: 0.681068593999953
MAIN: 2025-03-17 20:07:07,468 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:07:37,077 - INFO - taking picture
MAIN: 2025-03-17 20:07:37,077 - INFO - we take 1635 photos in this while loop
MAIN: 2025-03-17 20:07:37,078 - INFO - /home/pi/Desktop/images/17032025/20/07/image_17032025_20_07_36_29604.jpg
MAIN: 2025-03-17 20:07:37,078 - INFO - duration: 0.686063073000696
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 20:08:06,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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:08:07,001 - INFO - taking picture
MAIN: 2025-03-17 20:08:07,001 - INFO - we take 1636 photos in this while loop
MAIN: 2025-03-17 20:08:07,002 - INFO - /home/pi/Desktop/images/17032025/20/07/image_17032025_20_08_06_29975.jpg
MAIN: 2025-03-17 20:08:07,002 - INFO - duration: 0.6348419790010666
MAIN: 2025-03-17 20:08:07,002 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:08:36,528 - INFO - taking picture
MAIN: 2025-03-17 20:08:36,529 - INFO - we take 1637 photos in this while loop
MAIN: 2025-03-17 20:08:36,529 - INFO - /home/pi/Desktop/images/17032025/20/08/image_17032025_20_08_36_29475.jpg
MAIN: 2025-03-17 20:08:36,529 - INFO - duration: 0.6872602090006694
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 20:09: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=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-03-17 20:09:06,507 - INFO - taking picture
MAIN: 2025-03-17 20:09:06,507 - INFO - we take 1638 photos in this while loop
MAIN: 2025-03-17 20:09:06,507 - INFO - /home/pi/Desktop/images/17032025/20/08/image_17032025_20_09_06_29971.jpg
MAIN: 2025-03-17 20:09:06,507 - INFO - duration: 0.694104635003896
MAIN: 2025-03-17 20:09:06,508 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/20/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=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-03-17 20:09:37,480 - INFO - taking picture
MAIN: 2025-03-17 20:09:37,481 - INFO - we take 1639 photos in this while loop
MAIN: 2025-03-17 20:09:37,481 - INFO - /home/pi/Desktop/images/17032025/20/09/image_17032025_20_09_37_30964.jpg
MAIN: 2025-03-17 20:09:37,481 - INFO - duration: 0.7029390620009508
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:10:06,579 - INFO - taking picture
MAIN: 2025-03-17 20:10:06,580 - INFO - we take 1640 photos in this while loop
MAIN: 2025-03-17 20:10:06,581 - INFO - /home/pi/Desktop/images/17032025/20/09/image_17032025_20_10_06_29089.jpg
MAIN: 2025-03-17 20:10:06,581 - INFO - duration: 0.713723905995721
MAIN: 2025-03-17 20:10:06,582 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/20/10'
MAIN: 2025-03-17 20:10:07,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:10:37,336 - INFO - taking picture
MAIN: 2025-03-17 20:10:37,336 - INFO - we take 1641 photos in this while loop
MAIN: 2025-03-17 20:10:37,336 - INFO - /home/pi/Desktop/images/17032025/20/10/image_17032025_20_10_36_30775.jpg
MAIN: 2025-03-17 20:10:37,337 - INFO - duration: 0.6941651040033321
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 20:11:05,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:11:07,418 - INFO - taking picture
MAIN: 2025-03-17 20:11:07,418 - INFO - we take 1642 photos in this while loop
MAIN: 2025-03-17 20:11:07,418 - INFO - /home/pi/Desktop/images/17032025/20/10/image_17032025_20_11_07_30101.jpg
MAIN: 2025-03-17 20:11:07,419 - INFO - duration: 0.6750241150002694
MAIN: 2025-03-17 20:11:07,419 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/20/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=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-03-17 20:11:37,075 - INFO - taking picture
MAIN: 2025-03-17 20:11:37,075 - INFO - we take 1643 photos in this while loop
MAIN: 2025-03-17 20:11:37,076 - INFO - /home/pi/Desktop/images/17032025/20/11/image_17032025_20_11_36_29642.jpg
MAIN: 2025-03-17 20:11:37,076 - INFO - duration: 0.6899336979986401
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 20:12: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:12:07,185 - INFO - taking picture
MAIN: 2025-03-17 20:12:07,185 - INFO - we take 1644 photos in this while loop
MAIN: 2025-03-17 20:12:07,186 - INFO - /home/pi/Desktop/images/17032025/20/11/image_17032025_20_12_06_30155.jpg
MAIN: 2025-03-17 20:12:07,186 - INFO - duration: 0.6446256240014918
MAIN: 2025-03-17 20:12:07,186 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:12:36,748 - INFO - taking picture
MAIN: 2025-03-17 20:12:36,749 - INFO - we take 1645 photos in this while loop
MAIN: 2025-03-17 20:12:36,749 - INFO - /home/pi/Desktop/images/17032025/20/12/image_17032025_20_12_36_29515.jpg
MAIN: 2025-03-17 20:12:36,749 - INFO - duration: 0.6924008330024662
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 20:13:06,274 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:13:06,809 - INFO - taking picture
MAIN: 2025-03-17 20:13:06,809 - INFO - we take 1646 photos in this while loop
MAIN: 2025-03-17 20:13:06,809 - INFO - /home/pi/Desktop/images/17032025/20/12/image_17032025_20_13_06_30059.jpg
MAIN: 2025-03-17 20:13:06,809 - INFO - duration: 0.6928917699988233
MAIN: 2025-03-17 20:13:06,810 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/20/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=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-03-17 20:13:36,428 - INFO - taking picture
MAIN: 2025-03-17 20:13:36,429 - INFO - we take 1647 photos in this while loop
MAIN: 2025-03-17 20:13:36,429 - INFO - /home/pi/Desktop/images/17032025/20/13/image_17032025_20_13_36_29637.jpg
MAIN: 2025-03-17 20:13:36,429 - INFO - duration: 0.6747495309973601
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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=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-03-17 20:14:06,557 - INFO - 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-03-17 20:14:06,606 - INFO - taking picture
MAIN: 2025-03-17 20:14:06,606 - INFO - we take 1648 photos in this while loop
MAIN: 2025-03-17 20:14:06,606 - INFO - /home/pi/Desktop/images/17032025/20/13/image_17032025_20_14_06_30174.jpg
MAIN: 2025-03-17 20:14:06,607 - INFO - duration: 0.6780454159961664
MAIN: 2025-03-17 20:14:06,607 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/20/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:14:37,462 - INFO - taking picture
MAIN: 2025-03-17 20:14:37,463 - INFO - we take 1649 photos in this while loop
MAIN: 2025-03-17 20:14:37,463 - INFO - /home/pi/Desktop/images/17032025/20/14/image_17032025_20_14_37_30841.jpg
MAIN: 2025-03-17 20:14:37,463 - INFO - duration: 0.6936457289993996
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 20:15:06,421 - INFO - taking picture
MAIN: 2025-03-17 20:15:06,421 - INFO - we take 1650 photos in this while loop
MAIN: 2025-03-17 20:15:06,422 - INFO - /home/pi/Desktop/images/17032025/20/14/image_17032025_20_15_06_28912.jpg
MAIN: 2025-03-17 20:15:06,422 - INFO - duration: 0.7396363539955928
MAIN: 2025-03-17 20:15:06,422 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/20/15'
MAIN: 2025-03-17 20:15:06,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:15:37,243 - INFO - taking picture
MAIN: 2025-03-17 20:15:37,243 - INFO - we take 1651 photos in this while loop
MAIN: 2025-03-17 20:15:37,244 - INFO - /home/pi/Desktop/images/17032025/20/15/image_17032025_20_15_36_30866.jpg
MAIN: 2025-03-17 20:15:37,244 - INFO - duration: 0.6955580200010445
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 20:16: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-03-17 20:16:07,238 - INFO - taking picture
MAIN: 2025-03-17 20:16:07,239 - INFO - we take 1652 photos in this while loop
MAIN: 2025-03-17 20:16:07,239 - INFO - /home/pi/Desktop/images/17032025/20/15/image_17032025_20_16_06_30035.jpg
MAIN: 2025-03-17 20:16:07,239 - INFO - duration: 0.6554490619964781
MAIN: 2025-03-17 20:16:07,240 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:16:36,898 - INFO - taking picture
MAIN: 2025-03-17 20:16:36,898 - INFO - we take 1653 photos in this while loop
MAIN: 2025-03-17 20:16:36,899 - INFO - /home/pi/Desktop/images/17032025/20/16/image_17032025_20_16_36_29642.jpg
MAIN: 2025-03-17 20:16:36,899 - INFO - duration: 0.6725242179963971
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 20:17:05,667 - INFO - 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-03-17 20:17:06,734 - INFO - taking picture
MAIN: 2025-03-17 20:17:06,735 - INFO - we take 1654 photos in this while loop
MAIN: 2025-03-17 20:17:06,735 - INFO - /home/pi/Desktop/images/17032025/20/16/image_17032025_20_17_06_29874.jpg
MAIN: 2025-03-17 20:17:06,735 - INFO - duration: 0.6348806769965449
MAIN: 2025-03-17 20:17:06,736 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:17:37,459 - INFO - taking picture
MAIN: 2025-03-17 20:17:37,459 - INFO - we take 1655 photos in this while loop
MAIN: 2025-03-17 20:17:37,459 - INFO - /home/pi/Desktop/images/17032025/20/17/image_17032025_20_17_37_30685.jpg
MAIN: 2025-03-17 20:17:37,460 - INFO - duration: 0.6735170309984824
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 20:18:06,219 - INFO - taking picture
MAIN: 2025-03-17 20:18:06,219 - INFO - we take 1656 photos in this while loop
MAIN: 2025-03-17 20:18:06,219 - INFO - /home/pi/Desktop/images/17032025/20/17/image_17032025_20_18_05_28798.jpg
MAIN: 2025-03-17 20:18:06,220 - INFO - duration: 0.6344449999960489
MAIN: 2025-03-17 20:18:06,220 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/20/18'
MAIN: 2025-03-17 20:18: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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:18:36,907 - INFO - taking picture
MAIN: 2025-03-17 20:18:36,907 - INFO - we take 1657 photos in this while loop
MAIN: 2025-03-17 20:18:36,907 - INFO - /home/pi/Desktop/images/17032025/20/18/image_17032025_20_18_36_30640.jpg
MAIN: 2025-03-17 20:18:36,908 - INFO - duration: 0.6822596880010678
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-03-17 20:19: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:19:06,952 - INFO - taking picture
MAIN: 2025-03-17 20:19:06,953 - INFO - we take 1658 photos in this while loop
MAIN: 2025-03-17 20:19:06,953 - INFO - /home/pi/Desktop/images/17032025/20/18/image_17032025_20_19_06_30039.jpg
MAIN: 2025-03-17 20:19:06,953 - INFO - duration: 0.6885783850011649
MAIN: 2025-03-17 20:19:06,953 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:19:36,626 - INFO - taking picture
MAIN: 2025-03-17 20:19:36,627 - INFO - we take 1659 photos in this while loop
MAIN: 2025-03-17 20:19:36,627 - INFO - /home/pi/Desktop/images/17032025/20/19/image_17032025_20_19_36_29686.jpg
MAIN: 2025-03-17 20:19:36,627 - INFO - duration: 0.6762979679988348
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 20:20:07,089 - INFO - taking picture
MAIN: 2025-03-17 20:20:07,090 - INFO - we take 1660 photos in this while loop
MAIN: 2025-03-17 20:20:07,091 - INFO - /home/pi/Desktop/images/17032025/20/19/image_17032025_20_20_06_30427.jpg
MAIN: 2025-03-17 20:20:07,092 - INFO - duration: 0.7130910940031754
MAIN: 2025-03-17 20:20:07,093 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/20/20'
MAIN: 2025-03-17 20:20:07,418 - INFO - 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=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-03-17 20:20:36,494 - INFO - taking picture
MAIN: 2025-03-17 20:20:36,494 - INFO - we take 1661 photos in this while loop
MAIN: 2025-03-17 20:20:36,495 - INFO - /home/pi/Desktop/images/17032025/20/20/image_17032025_20_20_36_29438.jpg
MAIN: 2025-03-17 20:20:36,495 - INFO - duration: 0.6780608329936513
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 20:21:05,782 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:21:06,409 - INFO - taking picture
MAIN: 2025-03-17 20:21:06,410 - INFO - we take 1662 photos in this while loop
MAIN: 2025-03-17 20:21:06,410 - INFO - /home/pi/Desktop/images/17032025/20/20/image_17032025_20_21_06_29898.jpg
MAIN: 2025-03-17 20:21:06,410 - INFO - duration: 0.6949055209988728
MAIN: 2025-03-17 20:21:06,411 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:21:37,276 - INFO - taking picture
MAIN: 2025-03-17 20:21:37,277 - INFO - we take 1663 photos in this while loop
MAIN: 2025-03-17 20:21:37,277 - INFO - /home/pi/Desktop/images/17032025/20/21/image_17032025_20_21_36_30870.jpg
MAIN: 2025-03-17 20:21:37,277 - INFO - duration: 0.6911853639976471
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 20:22: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=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-03-17 20:22:07,161 - INFO - taking picture
MAIN: 2025-03-17 20:22:07,162 - INFO - we take 1664 photos in this while loop
MAIN: 2025-03-17 20:22:07,162 - INFO - /home/pi/Desktop/images/17032025/20/21/image_17032025_20_22_06_29910.jpg
MAIN: 2025-03-17 20:22:07,162 - INFO - duration: 0.6657605729997158
MAIN: 2025-03-17 20:22:07,162 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:22:36,711 - INFO - taking picture
MAIN: 2025-03-17 20:22:36,712 - INFO - we take 1665 photos in this while loop
MAIN: 2025-03-17 20:22:36,712 - INFO - /home/pi/Desktop/images/17032025/20/22/image_17032025_20_22_36_29542.jpg
MAIN: 2025-03-17 20:22:36,712 - INFO - duration: 0.6730679690008401
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-03-17 20:23: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 ! 
MAIN: 2025-03-17 20:23:06,584 - INFO - taking picture
MAIN: 2025-03-17 20:23:06,585 - INFO - we take 1666 photos in this while loop
MAIN: 2025-03-17 20:23:06,585 - INFO - /home/pi/Desktop/images/17032025/20/22/image_17032025_20_23_06_29848.jpg
MAIN: 2025-03-17 20:23:06,585 - INFO - duration: 0.6976248430000851
MAIN: 2025-03-17 20:23:06,586 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/20/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=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-03-17 20:23:37,399 - INFO - taking picture
MAIN: 2025-03-17 20:23:37,399 - INFO - we take 1667 photos in this while loop
MAIN: 2025-03-17 20:23:37,400 - INFO - /home/pi/Desktop/images/17032025/20/23/image_17032025_20_23_37_30815.jpg
MAIN: 2025-03-17 20:23:37,400 - INFO - duration: 0.6971297910058638
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 20:24:06,967 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:24:07,470 - INFO - taking picture
MAIN: 2025-03-17 20:24:07,471 - INFO - we take 1668 photos in this while loop
MAIN: 2025-03-17 20:24:07,471 - INFO - /home/pi/Desktop/images/17032025/20/23/image_17032025_20_24_07_30063.jpg
MAIN: 2025-03-17 20:24:07,471 - INFO - duration: 0.7051336970034754
MAIN: 2025-03-17 20:24:07,471 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/20/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:24:37,113 - INFO - taking picture
MAIN: 2025-03-17 20:24:37,113 - INFO - we take 1669 photos in this while loop
MAIN: 2025-03-17 20:24:37,113 - INFO - /home/pi/Desktop/images/17032025/20/24/image_17032025_20_24_36_29647.jpg
MAIN: 2025-03-17 20:24:37,114 - INFO - duration: 0.6998738010006491
Corrupt JPEG data: premature end of data segment
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-03-17 20:25:07,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 ! 
MAIN: 2025-03-17 20:25:07,386 - INFO - taking picture
MAIN: 2025-03-17 20:25:07,386 - INFO - we take 1670 photos in this while loop
MAIN: 2025-03-17 20:25:07,387 - INFO - /home/pi/Desktop/images/17032025/20/24/image_17032025_20_25_06_30296.jpg
MAIN: 2025-03-17 20:25:07,387 - INFO - duration: 0.6768117190003977
MAIN: 2025-03-17 20:25:07,388 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 20:25:36,795 - INFO - taking picture
MAIN: 2025-03-17 20:25:36,795 - INFO - we take 1671 photos in this while loop
MAIN: 2025-03-17 20:25:36,796 - INFO - /home/pi/Desktop/images/17032025/20/25/image_17032025_20_25_36_29412.jpg
MAIN: 2025-03-17 20:25:36,796 - INFO - duration: 0.6730719269980909
Corrupt JPEG data: premature end of data segment
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-03-17 20:26:06,209 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:26:06,906 - INFO - taking picture
MAIN: 2025-03-17 20:26:06,906 - INFO - we take 1672 photos in this while loop
MAIN: 2025-03-17 20:26:06,906 - INFO - /home/pi/Desktop/images/17032025/20/25/image_17032025_20_26_06_30104.jpg
MAIN: 2025-03-17 20:26:06,907 - INFO - duration: 0.6796434369971394
MAIN: 2025-03-17 20:26:06,907 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/20/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=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-03-17 20:26:36,523 - INFO - taking picture
MAIN: 2025-03-17 20:26:36,524 - INFO - we take 1673 photos in this while loop
MAIN: 2025-03-17 20:26:36,524 - INFO - /home/pi/Desktop/images/17032025/20/26/image_17032025_20_26_36_29612.jpg
MAIN: 2025-03-17 20:26:36,524 - INFO - duration: 0.6852632289956091
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-03-17 20:27: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:27:06,643 - INFO - taking picture
MAIN: 2025-03-17 20:27:06,644 - INFO - we take 1674 photos in this while loop
MAIN: 2025-03-17 20:27:06,644 - INFO - /home/pi/Desktop/images/17032025/20/26/image_17032025_20_27_06_30106.jpg
MAIN: 2025-03-17 20:27:06,644 - INFO - duration: 0.6980112500023097
MAIN: 2025-03-17 20:27:06,644 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/20/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:27:37,525 - INFO - taking picture
MAIN: 2025-03-17 20:27:37,525 - INFO - we take 1675 photos in this while loop
MAIN: 2025-03-17 20:27:37,525 - INFO - /home/pi/Desktop/images/17032025/20/27/image_17032025_20_27_37_30910.jpg
MAIN: 2025-03-17 20:27:37,525 - INFO - duration: 0.6687448430020595
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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=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-03-17 20:28:06,368 - INFO - taking picture
MAIN: 2025-03-17 20:28:06,369 - INFO - we take 1676 photos in this while loop
MAIN: 2025-03-17 20:28:06,369 - INFO - /home/pi/Desktop/images/17032025/20/27/image_17032025_20_28_05_28877.jpg
MAIN: 2025-03-17 20:28:06,369 - INFO - duration: 0.6351176040043356
MAIN: 2025-03-17 20:28:06,369 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/20/28'
MAIN: 2025-03-17 20:28: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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:28:37,220 - INFO - taking picture
MAIN: 2025-03-17 20:28:37,221 - INFO - we take 1677 photos in this while loop
MAIN: 2025-03-17 20:28:37,221 - INFO - /home/pi/Desktop/images/17032025/20/28/image_17032025_20_28_36_30797.jpg
MAIN: 2025-03-17 20:28:37,221 - INFO - duration: 0.6902123960026074
Corrupt JPEG data: premature end of data segment
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-03-17 20:29:06,234 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:29:07,175 - INFO - taking picture
MAIN: 2025-03-17 20:29:07,176 - INFO - we take 1678 photos in this while loop
MAIN: 2025-03-17 20:29:07,176 - INFO - /home/pi/Desktop/images/17032025/20/28/image_17032025_20_29_06_29993.jpg
MAIN: 2025-03-17 20:29:07,176 - INFO - duration: 0.6512973950011656
MAIN: 2025-03-17 20:29:07,177 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:29:36,784 - INFO - taking picture
MAIN: 2025-03-17 20:29:36,784 - INFO - we take 1679 photos in this while loop
MAIN: 2025-03-17 20:29:36,784 - INFO - /home/pi/Desktop/images/17032025/20/29/image_17032025_20_29_36_29597.jpg
MAIN: 2025-03-17 20:29:36,784 - INFO - duration: 0.6618714059950435
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 20:30:07,214 - INFO - taking picture
MAIN: 2025-03-17 20:30:07,214 - INFO - we take 1680 photos in this while loop
MAIN: 2025-03-17 20:30:07,215 - INFO - /home/pi/Desktop/images/17032025/20/29/image_17032025_20_30_06_30386.jpg
MAIN: 2025-03-17 20:30:07,215 - INFO - duration: 0.7057591139964643
MAIN: 2025-03-17 20:30:07,215 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/20/30'
MAIN: 2025-03-17 20:30:07,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:30:36,663 - INFO - taking picture
MAIN: 2025-03-17 20:30:36,663 - INFO - we take 1681 photos in this while loop
MAIN: 2025-03-17 20:30:36,664 - INFO - /home/pi/Desktop/images/17032025/20/30/image_17032025_20_30_36_29509.jpg
MAIN: 2025-03-17 20:30:36,664 - INFO - duration: 0.6452418749977369
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 20:31:05,755 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:31:06,605 - INFO - taking picture
MAIN: 2025-03-17 20:31:06,606 - INFO - we take 1682 photos in this while loop
MAIN: 2025-03-17 20:31:06,606 - INFO - /home/pi/Desktop/images/17032025/20/30/image_17032025_20_31_06_29930.jpg
MAIN: 2025-03-17 20:31:06,606 - INFO - duration: 0.6567901040034485
MAIN: 2025-03-17 20:31:06,606 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 20:31:36,283 - INFO - taking picture
MAIN: 2025-03-17 20:31:36,284 - INFO - we take 1683 photos in this while loop
MAIN: 2025-03-17 20:31:36,284 - INFO - /home/pi/Desktop/images/17032025/20/31/image_17032025_20_31_35_29672.jpg
MAIN: 2025-03-17 20:31:36,284 - INFO - duration: 0.6630559889963479
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 20:32:06,348 - INFO - taking picture
MAIN: 2025-03-17 20:32:06,349 - INFO - we take 1684 photos in this while loop
MAIN: 2025-03-17 20:32:06,349 - INFO - /home/pi/Desktop/images/17032025/20/31/image_17032025_20_32_05_30085.jpg
MAIN: 2025-03-17 20:32:06,349 - INFO - duration: 0.6424323949977406
MAIN: 2025-03-17 20:32:06,350 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/20/32'
MAIN: 2025-03-17 20:32: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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:32:37,197 - INFO - taking picture
MAIN: 2025-03-17 20:32:37,197 - INFO - we take 1685 photos in this while loop
MAIN: 2025-03-17 20:32:37,197 - INFO - /home/pi/Desktop/images/17032025/20/32/image_17032025_20_32_36_30817.jpg
MAIN: 2025-03-17 20:32:37,198 - INFO - duration: 0.6729297389974818
Corrupt JPEG data: premature end of data segment
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-03-17 20:33: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:33:06,963 - INFO - taking picture
MAIN: 2025-03-17 20:33:06,964 - INFO - we take 1686 photos in this while loop
MAIN: 2025-03-17 20:33:06,964 - INFO - /home/pi/Desktop/images/17032025/20/32/image_17032025_20_33_06_29803.jpg
MAIN: 2025-03-17 20:33:06,964 - INFO - duration: 0.635958489998302
MAIN: 2025-03-17 20:33:06,965 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/20/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:33:36,469 - INFO - taking picture
MAIN: 2025-03-17 20:33:36,470 - INFO - we take 1687 photos in this while loop
MAIN: 2025-03-17 20:33:36,470 - INFO - /home/pi/Desktop/images/17032025/20/33/image_17032025_20_33_36_29507.jpg
MAIN: 2025-03-17 20:33:36,470 - INFO - duration: 0.6344444259957527
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-03-17 20:34:06,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 ! 
MAIN: 2025-03-17 20:34:06,722 - INFO - taking picture
MAIN: 2025-03-17 20:34:06,722 - INFO - we take 1688 photos in this while loop
MAIN: 2025-03-17 20:34:06,722 - INFO - /home/pi/Desktop/images/17032025/20/33/image_17032025_20_34_06_30206.jpg
MAIN: 2025-03-17 20:34:06,723 - INFO - duration: 0.6801084370017634
MAIN: 2025-03-17 20:34:06,723 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/20/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=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-03-17 20:34:36,386 - INFO - taking picture
MAIN: 2025-03-17 20:34:36,386 - INFO - we take 1689 photos in this while loop
MAIN: 2025-03-17 20:34:36,387 - INFO - /home/pi/Desktop/images/17032025/20/34/image_17032025_20_34_35_29680.jpg
MAIN: 2025-03-17 20:34:36,387 - INFO - duration: 0.6634689580023405
[ WARN:0] global /tmp/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-03-17 20:35:06,541 - INFO - taking picture
MAIN: 2025-03-17 20:35:06,542 - INFO - we take 1690 photos in this while loop
MAIN: 2025-03-17 20:35:06,542 - INFO - /home/pi/Desktop/images/17032025/20/34/image_17032025_20_35_06_30100.jpg
MAIN: 2025-03-17 20:35:06,542 - INFO - duration: 0.7186797910035239
MAIN: 2025-03-17 20:35:06,543 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/20/35'
MAIN: 2025-03-17 20:35:07,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:35:37,398 - INFO - taking picture
MAIN: 2025-03-17 20:35:37,398 - INFO - we take 1691 photos in this while loop
MAIN: 2025-03-17 20:35:37,399 - INFO - /home/pi/Desktop/images/17032025/20/35/image_17032025_20_35_37_30878.jpg
MAIN: 2025-03-17 20:35:37,399 - INFO - duration: 0.6966277079991414
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 20:36: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=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-03-17 20:36:07,442 - INFO - taking picture
MAIN: 2025-03-17 20:36:07,442 - INFO - we take 1692 photos in this while loop
MAIN: 2025-03-17 20:36:07,443 - INFO - /home/pi/Desktop/images/17032025/20/35/image_17032025_20_36_07_30046.jpg
MAIN: 2025-03-17 20:36:07,443 - INFO - duration: 0.6938418749996345
MAIN: 2025-03-17 20:36:07,443 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/20/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=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-03-17 20:36:37,041 - INFO - taking picture
MAIN: 2025-03-17 20:36:37,042 - INFO - we take 1693 photos in this while loop
MAIN: 2025-03-17 20:36:37,042 - INFO - /home/pi/Desktop/images/17032025/20/36/image_17032025_20_36_36_29620.jpg
MAIN: 2025-03-17 20:36:37,042 - INFO - duration: 0.672457864995522
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 20:37: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:37:06,844 - INFO - taking picture
MAIN: 2025-03-17 20:37:06,845 - INFO - we take 1694 photos in this while loop
MAIN: 2025-03-17 20:37:06,845 - INFO - /home/pi/Desktop/images/17032025/20/36/image_17032025_20_37_06_29797.jpg
MAIN: 2025-03-17 20:37:06,845 - INFO - duration: 0.6779495310038328
MAIN: 2025-03-17 20:37:06,845 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/20/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=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-03-17 20:37:36,473 - INFO - taking picture
MAIN: 2025-03-17 20:37:36,473 - INFO - we take 1695 photos in this while loop
MAIN: 2025-03-17 20:37:36,474 - INFO - /home/pi/Desktop/images/17032025/20/37/image_17032025_20_37_36_29615.jpg
MAIN: 2025-03-17 20:37:36,474 - INFO - duration: 0.6908942709997064
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-03-17 20:38:06,394 - INFO - 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-03-17 20:38:06,571 - INFO - taking picture
MAIN: 2025-03-17 20:38:06,571 - INFO - we take 1696 photos in this while loop
MAIN: 2025-03-17 20:38:06,572 - INFO - /home/pi/Desktop/images/17032025/20/37/image_17032025_20_38_06_30072.jpg
MAIN: 2025-03-17 20:38:06,572 - INFO - duration: 0.7164264059974812
MAIN: 2025-03-17 20:38:06,572 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/20/38'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:38:37,361 - INFO - taking picture
MAIN: 2025-03-17 20:38:37,362 - INFO - we take 1697 photos in this while loop
MAIN: 2025-03-17 20:38:37,362 - INFO - /home/pi/Desktop/images/17032025/20/38/image_17032025_20_38_36_30815.jpg
MAIN: 2025-03-17 20:38:37,362 - INFO - duration: 0.6909343229999649
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-03-17 20:39: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=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-03-17 20:39:07,244 - INFO - taking picture
MAIN: 2025-03-17 20:39:07,244 - INFO - we take 1698 photos in this while loop
MAIN: 2025-03-17 20:39:07,245 - INFO - /home/pi/Desktop/images/17032025/20/38/image_17032025_20_39_06_29901.jpg
MAIN: 2025-03-17 20:39:07,245 - INFO - duration: 0.6722557809989667
MAIN: 2025-03-17 20:39:07,245 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/20/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:39:36,884 - INFO - taking picture
MAIN: 2025-03-17 20:39:36,884 - INFO - we take 1699 photos in this while loop
MAIN: 2025-03-17 20:39:36,885 - INFO - /home/pi/Desktop/images/17032025/20/39/image_17032025_20_39_36_29619.jpg
MAIN: 2025-03-17 20:39:36,885 - INFO - duration: 0.6928983850011718
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 20:40:07,323 - INFO - taking picture
MAIN: 2025-03-17 20:40:07,324 - INFO - we take 1700 photos in this while loop
MAIN: 2025-03-17 20:40:07,324 - INFO - /home/pi/Desktop/images/17032025/20/39/image_17032025_20_40_06_30450.jpg
MAIN: 2025-03-17 20:40:07,324 - INFO - duration: 0.6816496350002126
MAIN: 2025-03-17 20:40:07,325 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/20/40'
MAIN: 2025-03-17 20:40:07,544 - INFO - 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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:40:36,790 - INFO - taking picture
MAIN: 2025-03-17 20:40:36,790 - INFO - we take 1701 photos in this while loop
MAIN: 2025-03-17 20:40:36,790 - INFO - /home/pi/Desktop/images/17032025/20/40/image_17032025_20_40_36_29476.jpg
MAIN: 2025-03-17 20:40:36,791 - INFO - duration: 0.6719951560007758
Corrupt JPEG data: premature end of data segment
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-03-17 20:41:06,677 - INFO - 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-03-17 20:41:06,958 - INFO - taking picture
MAIN: 2025-03-17 20:41:06,958 - INFO - we take 1702 photos in this while loop
MAIN: 2025-03-17 20:41:06,958 - INFO - /home/pi/Desktop/images/17032025/20/40/image_17032025_20_41_06_30144.jpg
MAIN: 2025-03-17 20:41:06,958 - INFO - duration: 0.6952654689957853
MAIN: 2025-03-17 20:41:06,959 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/20/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:41:36,496 - INFO - taking picture
MAIN: 2025-03-17 20:41:36,496 - INFO - we take 1703 photos in this while loop
MAIN: 2025-03-17 20:41:36,497 - INFO - /home/pi/Desktop/images/17032025/20/41/image_17032025_20_41_36_29543.jpg
MAIN: 2025-03-17 20:41:36,497 - INFO - duration: 0.69027890599682
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-03-17 20:42:05,893 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:42:06,592 - INFO - taking picture
MAIN: 2025-03-17 20:42:06,592 - INFO - we take 1704 photos in this while loop
MAIN: 2025-03-17 20:42:06,593 - INFO - /home/pi/Desktop/images/17032025/20/41/image_17032025_20_42_06_30095.jpg
MAIN: 2025-03-17 20:42:06,593 - INFO - duration: 0.6909260940010427
MAIN: 2025-03-17 20:42:06,593 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/20/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=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-03-17 20:42:37,448 - INFO - taking picture
MAIN: 2025-03-17 20:42:37,448 - INFO - we take 1705 photos in this while loop
MAIN: 2025-03-17 20:42:37,449 - INFO - /home/pi/Desktop/images/17032025/20/42/image_17032025_20_42_37_30880.jpg
MAIN: 2025-03-17 20:42:37,449 - INFO - duration: 0.6660659899935126
[ WARN:0] global /tmp/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-03-17 20:43:06,025 - INFO - 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-03-17 20:43:06,320 - INFO - taking picture
MAIN: 2025-03-17 20:43:06,321 - INFO - we take 1706 photos in this while loop
MAIN: 2025-03-17 20:43:06,321 - INFO - /home/pi/Desktop/images/17032025/20/42/image_17032025_20_43_05_28839.jpg
MAIN: 2025-03-17 20:43:06,321 - INFO - duration: 0.6988126040014322
MAIN: 2025-03-17 20:43:06,322 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 20:43:37,257 - INFO - taking picture
MAIN: 2025-03-17 20:43:37,257 - INFO - we take 1707 photos in this while loop
MAIN: 2025-03-17 20:43:37,257 - INFO - /home/pi/Desktop/images/17032025/20/43/image_17032025_20_43_36_30971.jpg
MAIN: 2025-03-17 20:43:37,258 - INFO - duration: 0.6634091140003875
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 20:44: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=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-03-17 20:44:07,224 - INFO - taking picture
MAIN: 2025-03-17 20:44:07,225 - INFO - we take 1708 photos in this while loop
MAIN: 2025-03-17 20:44:07,225 - INFO - /home/pi/Desktop/images/17032025/20/43/image_17032025_20_44_06_29975.jpg
MAIN: 2025-03-17 20:44:07,225 - INFO - duration: 0.6555655210031546
MAIN: 2025-03-17 20:44:07,226 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:44:36,978 - INFO - taking picture
MAIN: 2025-03-17 20:44:36,979 - INFO - we take 1709 photos in this while loop
MAIN: 2025-03-17 20:44:36,979 - INFO - /home/pi/Desktop/images/17032025/20/44/image_17032025_20_44_36_29699.jpg
MAIN: 2025-03-17 20:44:36,979 - INFO - duration: 0.7101720830032718
[ WARN:0] global /tmp/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-03-17 20:45: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-03-17 20:45:07,275 - INFO - taking picture
MAIN: 2025-03-17 20:45:07,275 - INFO - we take 1710 photos in this while loop
MAIN: 2025-03-17 20:45:07,276 - INFO - /home/pi/Desktop/images/17032025/20/44/image_17032025_20_45_06_30292.jpg
MAIN: 2025-03-17 20:45:07,276 - INFO - duration: 0.7145853120018728
MAIN: 2025-03-17 20:45:07,276 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/20/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-03-17 20:45:36,793 - INFO - taking picture
MAIN: 2025-03-17 20:45:36,793 - INFO - we take 1711 photos in this while loop
MAIN: 2025-03-17 20:45:36,794 - INFO - /home/pi/Desktop/images/17032025/20/45/image_17032025_20_45_36_29564.jpg
MAIN: 2025-03-17 20:45:36,794 - INFO - duration: 0.668067812002846
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 20:46:05,850 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:46:06,857 - INFO - taking picture
MAIN: 2025-03-17 20:46:06,858 - INFO - we take 1712 photos in this while loop
MAIN: 2025-03-17 20:46:06,858 - INFO - /home/pi/Desktop/images/17032025/20/45/image_17032025_20_46_06_30071.jpg
MAIN: 2025-03-17 20:46:06,858 - INFO - duration: 0.6609981769943261
MAIN: 2025-03-17 20:46:06,859 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/20/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-03-17 20:46:36,568 - INFO - taking picture
MAIN: 2025-03-17 20:46:36,569 - INFO - we take 1713 photos in this while loop
MAIN: 2025-03-17 20:46:36,569 - INFO - /home/pi/Desktop/images/17032025/20/46/image_17032025_20_46_36_29647.jpg
MAIN: 2025-03-17 20:46:36,569 - INFO - duration: 0.7245009370017215
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 20:47: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=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-03-17 20:47:06,673 - INFO - taking picture
MAIN: 2025-03-17 20:47:06,674 - INFO - we take 1714 photos in this while loop
MAIN: 2025-03-17 20:47:06,674 - INFO - /home/pi/Desktop/images/17032025/20/46/image_17032025_20_47_06_30159.jpg
MAIN: 2025-03-17 20:47:06,674 - INFO - duration: 0.6700504690015805
MAIN: 2025-03-17 20:47:06,674 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/20/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-03-17 20:47:36,330 - INFO - taking picture
MAIN: 2025-03-17 20:47:36,330 - INFO - we take 1715 photos in this while loop
MAIN: 2025-03-17 20:47:36,331 - INFO - /home/pi/Desktop/images/17032025/20/47/image_17032025_20_47_35_29625.jpg
MAIN: 2025-03-17 20:47:36,331 - INFO - duration: 0.7015084369995748
[ WARN:0] global /tmp/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-03-17 20:48: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 ! 
MAIN: 2025-03-17 20:48:06,542 - INFO - taking picture
MAIN: 2025-03-17 20:48:06,542 - INFO - we take 1716 photos in this while loop
MAIN: 2025-03-17 20:48:06,543 - INFO - /home/pi/Desktop/images/17032025/20/47/image_17032025_20_48_06_30246.jpg
MAIN: 2025-03-17 20:48:06,543 - INFO - duration: 0.6673303130010027
MAIN: 2025-03-17 20:48:06,543 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/20/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=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-03-17 20:48:37,409 - INFO - taking picture
MAIN: 2025-03-17 20:48:37,410 - INFO - we take 1717 photos in this while loop
MAIN: 2025-03-17 20:48:37,410 - INFO - /home/pi/Desktop/images/17032025/20/48/image_17032025_20_48_37_30868.jpg
MAIN: 2025-03-17 20:48:37,410 - INFO - duration: 0.6666346869969857
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 20:49:06,024 - INFO - 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-03-17 20:49:07,288 - INFO - taking picture
MAIN: 2025-03-17 20:49:07,288 - INFO - we take 1718 photos in this while loop
MAIN: 2025-03-17 20:49:07,288 - INFO - /home/pi/Desktop/images/17032025/20/48/image_17032025_20_49_06_29901.jpg
MAIN: 2025-03-17 20:49:07,289 - INFO - duration: 0.6433381250026287
MAIN: 2025-03-17 20:49:07,289 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 20:49:36,902 - INFO - taking picture
MAIN: 2025-03-17 20:49:36,903 - INFO - we take 1719 photos in this while loop
MAIN: 2025-03-17 20:49:36,903 - INFO - /home/pi/Desktop/images/17032025/20/49/image_17032025_20_49_36_29590.jpg
MAIN: 2025-03-17 20:49:36,903 - INFO - duration: 0.6676529680044041
[ WARN:0] global /tmp/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-03-17 20:50:07,284 - INFO - taking picture
MAIN: 2025-03-17 20:50:07,285 - INFO - we take 1720 photos in this while loop
MAIN: 2025-03-17 20:50:07,285 - INFO - /home/pi/Desktop/images/17032025/20/49/image_17032025_20_50_06_30375.jpg
MAIN: 2025-03-17 20:50:07,286 - INFO - duration: 0.6746380210024654
MAIN: 2025-03-17 20:50:07,286 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/20/50'
MAIN: 2025-03-17 20: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=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-03-17 20:50:36,780 - INFO - taking picture
MAIN: 2025-03-17 20:50:36,780 - INFO - we take 1721 photos in this while loop
MAIN: 2025-03-17 20:50:36,781 - INFO - /home/pi/Desktop/images/17032025/20/50/image_17032025_20_50_36_29497.jpg
MAIN: 2025-03-17 20:50:36,781 - INFO - duration: 0.6726149480018648
[ WARN:0] global /tmp/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-03-17 20:51:06,438 - INFO - 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-03-17 20:51:06,785 - INFO - taking picture
MAIN: 2025-03-17 20:51:06,786 - INFO - we take 1722 photos in this while loop
MAIN: 2025-03-17 20:51:06,786 - INFO - /home/pi/Desktop/images/17032025/20/50/image_17032025_20_51_06_30037.jpg
MAIN: 2025-03-17 20:51:06,786 - INFO - duration: 0.6405719269969268
MAIN: 2025-03-17 20:51:06,787 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 20:51:36,489 - INFO - taking picture
MAIN: 2025-03-17 20:51:36,490 - INFO - we take 1723 photos in this while loop
MAIN: 2025-03-17 20:51:36,490 - INFO - /home/pi/Desktop/images/17032025/20/51/image_17032025_20_51_36_29667.jpg
MAIN: 2025-03-17 20:51:36,490 - INFO - duration: 0.6770363010000437
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 20:52:05,939 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:52:06,576 - INFO - taking picture
MAIN: 2025-03-17 20:52:06,577 - INFO - we take 1724 photos in this while loop
MAIN: 2025-03-17 20:52:06,577 - INFO - /home/pi/Desktop/images/17032025/20/51/image_17032025_20_52_06_30125.jpg
MAIN: 2025-03-17 20:52:06,577 - INFO - duration: 0.6387140100050601
MAIN: 2025-03-17 20:52:06,578 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 20:52:37,457 - INFO - taking picture
MAIN: 2025-03-17 20:52:37,457 - INFO - we take 1725 photos in this while loop
MAIN: 2025-03-17 20:52:37,458 - INFO - /home/pi/Desktop/images/17032025/20/52/image_17032025_20_52_37_30827.jpg
MAIN: 2025-03-17 20:52:37,458 - INFO - duration: 0.6920508859984693
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 20:53: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=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-03-17 20:53:07,350 - INFO - taking picture
MAIN: 2025-03-17 20:53:07,351 - INFO - we take 1726 photos in this while loop
MAIN: 2025-03-17 20:53:07,351 - INFO - /home/pi/Desktop/images/17032025/20/52/image_17032025_20_53_06_29897.jpg
MAIN: 2025-03-17 20:53:07,351 - INFO - duration: 0.6883426040003542
MAIN: 2025-03-17 20:53:07,351 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 20:53:36,910 - INFO - taking picture
MAIN: 2025-03-17 20:53:36,911 - INFO - we take 1727 photos in this while loop
MAIN: 2025-03-17 20:53:36,911 - INFO - /home/pi/Desktop/images/17032025/20/53/image_17032025_20_53_36_29579.jpg
MAIN: 2025-03-17 20:53:36,911 - INFO - duration: 0.668804896005895
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 20:54:06,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=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-03-17 20:54:06,983 - INFO - taking picture
MAIN: 2025-03-17 20:54:06,983 - INFO - we take 1728 photos in this while loop
MAIN: 2025-03-17 20:54:06,984 - INFO - /home/pi/Desktop/images/17032025/20/53/image_17032025_20_54_06_30043.jpg
MAIN: 2025-03-17 20:54:06,984 - INFO - duration: 0.6980809369997587
MAIN: 2025-03-17 20:54:06,984 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/20/54'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:54:36,515 - INFO - taking picture
MAIN: 2025-03-17 20:54:36,515 - INFO - we take 1729 photos in this while loop
MAIN: 2025-03-17 20:54:36,516 - INFO - /home/pi/Desktop/images/17032025/20/54/image_17032025_20_54_36_29541.jpg
MAIN: 2025-03-17 20:54:36,516 - INFO - duration: 0.6888490099954652
[ WARN:0] global /tmp/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-03-17 20:55:06,576 - INFO - taking picture
MAIN: 2025-03-17 20:55:06,577 - INFO - we take 1730 photos in this while loop
MAIN: 2025-03-17 20:55:06,577 - INFO - /home/pi/Desktop/images/17032025/20/54/image_17032025_20_55_06_30055.jpg
MAIN: 2025-03-17 20:55:06,578 - INFO - duration: 0.6945681239958503
MAIN: 2025-03-17 20:55:06,578 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/20/55'
MAIN: 2025-03-17 20:55:06,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:55:37,523 - INFO - taking picture
MAIN: 2025-03-17 20:55:37,524 - INFO - we take 1731 photos in this while loop
MAIN: 2025-03-17 20:55:37,524 - INFO - /home/pi/Desktop/images/17032025/20/55/image_17032025_20_55_37_30931.jpg
MAIN: 2025-03-17 20:55:37,524 - INFO - duration: 0.7095060409992584
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-03-17 20:56:06,290 - INFO - taking picture
MAIN: 2025-03-17 20:56:06,291 - INFO - we take 1732 photos in this while loop
MAIN: 2025-03-17 20:56:06,291 - INFO - /home/pi/Desktop/images/17032025/20/55/image_17032025_20_56_05_28839.jpg
MAIN: 2025-03-17 20:56:06,291 - INFO - duration: 0.6370875520005939
MAIN: 2025-03-17 20:56:06,292 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/20/56'
MAIN: 2025-03-17 20:56: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:56:37,201 - INFO - taking picture
MAIN: 2025-03-17 20:56:37,201 - INFO - we take 1733 photos in this while loop
MAIN: 2025-03-17 20:56:37,201 - INFO - /home/pi/Desktop/images/17032025/20/56/image_17032025_20_56_36_30857.jpg
MAIN: 2025-03-17 20:56:37,202 - INFO - duration: 0.6903006239954266
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 20:57: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-03-17 20:57:07,353 - INFO - taking picture
MAIN: 2025-03-17 20:57:07,354 - INFO - we take 1734 photos in this while loop
MAIN: 2025-03-17 20:57:07,354 - INFO - /home/pi/Desktop/images/17032025/20/56/image_17032025_20_57_06_30133.jpg
MAIN: 2025-03-17 20:57:07,355 - INFO - duration: 0.709255519999715
MAIN: 2025-03-17 20:57:07,355 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/20/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-03-17 20:57:36,958 - INFO - taking picture
MAIN: 2025-03-17 20:57:36,958 - INFO - we take 1735 photos in this while loop
MAIN: 2025-03-17 20:57:36,958 - INFO - /home/pi/Desktop/images/17032025/20/57/image_17032025_20_57_36_29613.jpg
MAIN: 2025-03-17 20:57:36,959 - INFO - duration: 0.6999954690036247
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 20:58:05,973 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 20:58:06,892 - INFO - taking picture
MAIN: 2025-03-17 20:58:06,893 - INFO - we take 1736 photos in this while loop
MAIN: 2025-03-17 20:58:06,893 - INFO - /home/pi/Desktop/images/17032025/20/57/image_17032025_20_58_06_29986.jpg
MAIN: 2025-03-17 20:58:06,893 - INFO - duration: 0.6483787489996757
MAIN: 2025-03-17 20:58:06,894 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/20/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=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-03-17 20:58:36,572 - INFO - taking picture
MAIN: 2025-03-17 20:58:36,572 - INFO - we take 1737 photos in this while loop
MAIN: 2025-03-17 20:58:36,573 - INFO - /home/pi/Desktop/images/17032025/20/58/image_17032025_20_58_36_29630.jpg
MAIN: 2025-03-17 20:58:36,573 - INFO - duration: 0.6971225520028383
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 20:59: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=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-03-17 20:59:06,542 - INFO - taking picture
MAIN: 2025-03-17 20:59:06,543 - INFO - we take 1738 photos in this while loop
MAIN: 2025-03-17 20:59:06,543 - INFO - /home/pi/Desktop/images/17032025/20/58/image_17032025_20_59_06_29969.jpg
MAIN: 2025-03-17 20:59:06,543 - INFO - duration: 0.6978997390033328
MAIN: 2025-03-17 20:59:06,544 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/20/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-03-17 20:59:36,281 - INFO - taking picture
MAIN: 2025-03-17 20:59:36,282 - INFO - we take 1739 photos in this while loop
MAIN: 2025-03-17 20:59:36,282 - INFO - /home/pi/Desktop/images/17032025/20/59/image_17032025_20_59_35_29739.jpg
MAIN: 2025-03-17 20:59:36,282 - INFO - duration: 0.6974816669971915
[ WARN:0] global /tmp/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-03-17 21:00: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 ! 
MAIN: 2025-03-17 21:00:06,517 - INFO - taking picture
MAIN: 2025-03-17 21:00:06,518 - INFO - we take 1740 photos in this while loop
MAIN: 2025-03-17 21:00:06,519 - INFO - /home/pi/Desktop/images/17032025/20/59/image_17032025_21_00_06_30231.jpg
MAIN: 2025-03-17 21:00:06,519 - INFO - duration: 0.7023423430000548
MAIN: 2025-03-17 21:00:06,520 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/00'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 21:00:37,372 - INFO - taking picture
MAIN: 2025-03-17 21:00:37,373 - INFO - we take 1741 photos in this while loop
MAIN: 2025-03-17 21:00:37,373 - INFO - /home/pi/Desktop/images/17032025/21/00/image_17032025_21_00_36_30902.jpg
MAIN: 2025-03-17 21:00:37,373 - INFO - duration: 0.6545082290031132
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 21:01:05,898 - INFO - 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-03-17 21:01:07,300 - INFO - taking picture
MAIN: 2025-03-17 21:01:07,300 - INFO - we take 1742 photos in this while loop
MAIN: 2025-03-17 21:01:07,301 - INFO - /home/pi/Desktop/images/17032025/21/00/image_17032025_21_01_06_29940.jpg
MAIN: 2025-03-17 21:01:07,301 - INFO - duration: 0.6416750520002097
MAIN: 2025-03-17 21:01:07,301 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/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=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-03-17 21:01:36,877 - INFO - taking picture
MAIN: 2025-03-17 21:01:36,877 - INFO - we take 1743 photos in this while loop
MAIN: 2025-03-17 21:01:36,878 - INFO - /home/pi/Desktop/images/17032025/21/01/image_17032025_21_01_36_29563.jpg
MAIN: 2025-03-17 21:01:36,878 - INFO - duration: 0.6546250519968453
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 21:02:06,285 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 21:02:06,940 - INFO - taking picture
MAIN: 2025-03-17 21:02:06,941 - INFO - we take 1744 photos in this while loop
MAIN: 2025-03-17 21:02:06,941 - INFO - /home/pi/Desktop/images/17032025/21/01/image_17032025_21_02_06_30048.jpg
MAIN: 2025-03-17 21:02:06,941 - INFO - duration: 0.6699009889998706
MAIN: 2025-03-17 21:02:06,942 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/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=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-03-17 21:02:36,513 - INFO - taking picture
MAIN: 2025-03-17 21:02:36,513 - INFO - we take 1745 photos in this while loop
MAIN: 2025-03-17 21:02:36,514 - INFO - /home/pi/Desktop/images/17032025/21/02/image_17032025_21_02_36_29539.jpg
MAIN: 2025-03-17 21:02:36,514 - INFO - duration: 0.7026349469961133
[ WARN:0] global /tmp/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-03-17 21:03: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 ! 
MAIN: 2025-03-17 21:03:06,480 - INFO - taking picture
MAIN: 2025-03-17 21:03:06,481 - INFO - we take 1746 photos in this while loop
MAIN: 2025-03-17 21:03:06,481 - INFO - /home/pi/Desktop/images/17032025/21/02/image_17032025_21_03_06_29968.jpg
MAIN: 2025-03-17 21:03:06,481 - INFO - duration: 0.7022182290020282
MAIN: 2025-03-17 21:03:06,482 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/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=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-03-17 21:03:37,428 - INFO - taking picture
MAIN: 2025-03-17 21:03:37,429 - INFO - we take 1747 photos in this while loop
MAIN: 2025-03-17 21:03:37,429 - INFO - /home/pi/Desktop/images/17032025/21/03/image_17032025_21_03_37_30981.jpg
MAIN: 2025-03-17 21:03:37,429 - INFO - duration: 0.6680185939985677
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-03-17 21:04:06,235 - INFO - taking picture
MAIN: 2025-03-17 21:04:06,236 - INFO - we take 1748 photos in this while loop
MAIN: 2025-03-17 21:04:06,236 - INFO - /home/pi/Desktop/images/17032025/21/03/image_17032025_21_04_05_28828.jpg
MAIN: 2025-03-17 21:04:06,236 - INFO - duration: 0.6467614060020423
MAIN: 2025-03-17 21:04:06,237 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/04'
MAIN: 2025-03-17 21:04:06,698 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 21:04:37,212 - INFO - taking picture
MAIN: 2025-03-17 21:04:37,213 - INFO - we take 1749 photos in this while loop
MAIN: 2025-03-17 21:04:37,213 - INFO - /home/pi/Desktop/images/17032025/21/04/image_17032025_21_04_36_30945.jpg
MAIN: 2025-03-17 21:04:37,213 - INFO - duration: 0.6784431250052876
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-03-17 21:05:07,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 ! 
MAIN: 2025-03-17 21:05:07,302 - INFO - taking picture
MAIN: 2025-03-17 21:05:07,302 - INFO - we take 1750 photos in this while loop
MAIN: 2025-03-17 21:05:07,303 - INFO - /home/pi/Desktop/images/17032025/21/04/image_17032025_21_05_06_30083.jpg
MAIN: 2025-03-17 21:05:07,303 - INFO - duration: 0.6850008850015001
MAIN: 2025-03-17 21:05:07,304 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/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=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-03-17 21:05:36,858 - INFO - taking picture
MAIN: 2025-03-17 21:05:36,858 - INFO - we take 1751 photos in this while loop
MAIN: 2025-03-17 21:05:36,858 - INFO - /home/pi/Desktop/images/17032025/21/05/image_17032025_21_05_36_29596.jpg
MAIN: 2025-03-17 21:05:36,859 - INFO - duration: 0.6436268739998923
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 21:06:06,029 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 21:06:06,926 - INFO - taking picture
MAIN: 2025-03-17 21:06:06,927 - INFO - we take 1752 photos in this while loop
MAIN: 2025-03-17 21:06:06,927 - INFO - /home/pi/Desktop/images/17032025/21/05/image_17032025_21_06_06_30038.jpg
MAIN: 2025-03-17 21:06:06,927 - INFO - duration: 0.6741006770025706
MAIN: 2025-03-17 21:06:06,928 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/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=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-03-17 21:06:36,664 - INFO - taking picture
MAIN: 2025-03-17 21:06:36,665 - INFO - we take 1753 photos in this while loop
MAIN: 2025-03-17 21:06:36,665 - INFO - /home/pi/Desktop/images/17032025/21/06/image_17032025_21_06_36_29736.jpg
MAIN: 2025-03-17 21:06:36,665 - INFO - duration: 0.6748459899972659
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 21:07: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=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-03-17 21:07:06,671 - INFO - taking picture
MAIN: 2025-03-17 21:07:06,671 - INFO - we take 1754 photos in this while loop
MAIN: 2025-03-17 21:07:06,671 - INFO - /home/pi/Desktop/images/17032025/21/06/image_17032025_21_07_06_30036.jpg
MAIN: 2025-03-17 21:07:06,672 - INFO - duration: 0.6444997919970774
MAIN: 2025-03-17 21:07:06,672 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/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=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-03-17 21:07:36,351 - INFO - taking picture
MAIN: 2025-03-17 21:07:36,352 - INFO - we take 1755 photos in this while loop
MAIN: 2025-03-17 21:07:36,352 - INFO - /home/pi/Desktop/images/17032025/21/07/image_17032025_21_07_35_29650.jpg
MAIN: 2025-03-17 21:07:36,352 - INFO - duration: 0.6742496349979774
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-03-17 21:08:06,405 - INFO - taking picture
MAIN: 2025-03-17 21:08:06,405 - INFO - we take 1756 photos in this while loop
MAIN: 2025-03-17 21:08:06,405 - INFO - /home/pi/Desktop/images/17032025/21/07/image_17032025_21_08_05_30058.jpg
MAIN: 2025-03-17 21:08:06,406 - INFO - duration: 0.6688630729986471
MAIN: 2025-03-17 21:08:06,406 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/08'
MAIN: 2025-03-17 21:08: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 21:08:37,300 - INFO - taking picture
MAIN: 2025-03-17 21:08:37,300 - INFO - we take 1757 photos in this while loop
MAIN: 2025-03-17 21:08:37,300 - INFO - /home/pi/Desktop/images/17032025/21/08/image_17032025_21_08_36_30866.jpg
MAIN: 2025-03-17 21:08:37,301 - INFO - duration: 0.6974718230048893
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 21:09: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 21:09:07,199 - INFO - taking picture
MAIN: 2025-03-17 21:09:07,200 - INFO - we take 1758 photos in this while loop
MAIN: 2025-03-17 21:09:07,200 - INFO - /home/pi/Desktop/images/17032025/21/08/image_17032025_21_09_06_29956.jpg
MAIN: 2025-03-17 21:09:07,200 - INFO - duration: 0.6404533329987316
MAIN: 2025-03-17 21:09:07,200 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/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=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-03-17 21:09:36,803 - INFO - taking picture
MAIN: 2025-03-17 21:09:36,803 - INFO - we take 1759 photos in this while loop
MAIN: 2025-03-17 21:09:36,803 - INFO - /home/pi/Desktop/images/17032025/21/09/image_17032025_21_09_36_29542.jpg
MAIN: 2025-03-17 21:09:36,804 - INFO - duration: 0.7014231770008337
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 21:10:06,962 - INFO - taking picture
MAIN: 2025-03-17 21:10:06,963 - INFO - we take 1760 photos in this while loop
MAIN: 2025-03-17 21:10:06,963 - INFO - /home/pi/Desktop/images/17032025/21/09/image_17032025_21_10_06_30176.jpg
MAIN: 2025-03-17 21:10:06,964 - INFO - duration: 0.684403489001852
MAIN: 2025-03-17 21:10:06,964 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/10'
MAIN: 2025-03-17 21:10:07,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 21:10:36,556 - INFO - taking picture
MAIN: 2025-03-17 21:10:36,556 - INFO - we take 1761 photos in this while loop
MAIN: 2025-03-17 21:10:36,557 - INFO - /home/pi/Desktop/images/17032025/21/10/image_17032025_21_10_36_29586.jpg
MAIN: 2025-03-17 21:10:36,557 - INFO - duration: 0.6914654169959249
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 21:11: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=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-03-17 21:11:06,305 - INFO - taking picture
MAIN: 2025-03-17 21:11:06,305 - INFO - we take 1762 photos in this while loop
MAIN: 2025-03-17 21:11:06,305 - INFO - /home/pi/Desktop/images/17032025/21/10/image_17032025_21_11_05_29796.jpg
MAIN: 2025-03-17 21:11:06,306 - INFO - duration: 0.6439663540004403
MAIN: 2025-03-17 21:11:06,306 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/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=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-03-17 21:11:37,129 - INFO - taking picture
MAIN: 2025-03-17 21:11:37,129 - INFO - we take 1763 photos in this while loop
MAIN: 2025-03-17 21:11:37,129 - INFO - /home/pi/Desktop/images/17032025/21/11/image_17032025_21_11_36_30771.jpg
MAIN: 2025-03-17 21:11:37,130 - INFO - duration: 0.696143437999126
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 21:12:05,984 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 21:12:06,929 - INFO - taking picture
MAIN: 2025-03-17 21:12:06,930 - INFO - we take 1764 photos in this while loop
MAIN: 2025-03-17 21:12:06,930 - INFO - /home/pi/Desktop/images/17032025/21/11/image_17032025_21_12_06_29856.jpg
MAIN: 2025-03-17 21:12:06,930 - INFO - duration: 0.6401792179967742
MAIN: 2025-03-17 21:12:06,931 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/12'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 21:12:36,475 - INFO - taking picture
MAIN: 2025-03-17 21:12:36,476 - INFO - we take 1765 photos in this while loop
MAIN: 2025-03-17 21:12:36,476 - INFO - /home/pi/Desktop/images/17032025/21/12/image_17032025_21_12_36_29507.jpg
MAIN: 2025-03-17 21:12:36,476 - INFO - duration: 0.6783028639983968
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 21:13:06,059 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 21:13:06,474 - INFO - taking picture
MAIN: 2025-03-17 21:13:06,474 - INFO - we take 1766 photos in this while loop
MAIN: 2025-03-17 21:13:06,474 - INFO - /home/pi/Desktop/images/17032025/21/12/image_17032025_21_13_06_29973.jpg
MAIN: 2025-03-17 21:13:06,475 - INFO - duration: 0.7028981249968638
MAIN: 2025-03-17 21:13:06,475 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 21:13:37,352 - INFO - taking picture
MAIN: 2025-03-17 21:13:37,352 - INFO - we take 1767 photos in this while loop
MAIN: 2025-03-17 21:13:37,352 - INFO - /home/pi/Desktop/images/17032025/21/13/image_17032025_21_13_36_30871.jpg
MAIN: 2025-03-17 21:13:37,353 - INFO - duration: 0.7090340619979543
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 21:14:06,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=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-03-17 21:14:07,340 - INFO - taking picture
MAIN: 2025-03-17 21:14:07,341 - INFO - we take 1768 photos in this while loop
MAIN: 2025-03-17 21:14:07,341 - INFO - /home/pi/Desktop/images/17032025/21/13/image_17032025_21_14_06_30029.jpg
MAIN: 2025-03-17 21:14:07,341 - INFO - duration: 0.6681361450027907
MAIN: 2025-03-17 21:14:07,342 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/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-03-17 21:14:36,967 - INFO - taking picture
MAIN: 2025-03-17 21:14:36,968 - INFO - we take 1769 photos in this while loop
MAIN: 2025-03-17 21:14:36,968 - INFO - /home/pi/Desktop/images/17032025/21/14/image_17032025_21_14_36_29592.jpg
MAIN: 2025-03-17 21:14:36,968 - INFO - duration: 0.7023187490049168
[ WARN:0] global /tmp/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-03-17 21:15:06,602 - INFO - 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-03-17 21:15:06,932 - INFO - taking picture
MAIN: 2025-03-17 21:15:06,932 - INFO - we take 1770 photos in this while loop
MAIN: 2025-03-17 21:15:06,933 - INFO - /home/pi/Desktop/images/17032025/21/14/image_17032025_21_15_06_29973.jpg
MAIN: 2025-03-17 21:15:06,933 - INFO - duration: 0.6931098429995473
MAIN: 2025-03-17 21:15:06,933 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/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=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-03-17 21:15:36,521 - INFO - taking picture
MAIN: 2025-03-17 21:15:36,522 - INFO - we take 1771 photos in this while loop
MAIN: 2025-03-17 21:15:36,522 - INFO - /home/pi/Desktop/images/17032025/21/15/image_17032025_21_15_36_29585.jpg
MAIN: 2025-03-17 21:15:36,522 - INFO - duration: 0.6971042189979926
[ WARN:0] global /tmp/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-03-17 21:16:06,485 - INFO - taking picture
MAIN: 2025-03-17 21:16:06,486 - INFO - we take 1772 photos in this while loop
MAIN: 2025-03-17 21:16:06,486 - INFO - /home/pi/Desktop/images/17032025/21/15/image_17032025_21_16_06_29987.jpg
MAIN: 2025-03-17 21:16:06,487 - INFO - duration: 0.6745633329992415
MAIN: 2025-03-17 21:16:06,487 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/16'
MAIN: 2025-03-17 21:16:06,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 21:16:37,367 - INFO - taking picture
MAIN: 2025-03-17 21:16:37,367 - INFO - we take 1773 photos in this while loop
MAIN: 2025-03-17 21:16:37,368 - INFO - /home/pi/Desktop/images/17032025/21/16/image_17032025_21_16_36_30897.jpg
MAIN: 2025-03-17 21:16:37,368 - INFO - duration: 0.6581946350052021
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 21:17: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 21:17:07,468 - INFO - taking picture
MAIN: 2025-03-17 21:17:07,469 - INFO - we take 1774 photos in this while loop
MAIN: 2025-03-17 21:17:07,469 - INFO - /home/pi/Desktop/images/17032025/21/16/image_17032025_21_17_07_30111.jpg
MAIN: 2025-03-17 21:17:07,469 - INFO - duration: 0.6478913540049689
MAIN: 2025-03-17 21:17:07,470 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/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=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-03-17 21:17:37,122 - INFO - taking picture
MAIN: 2025-03-17 21:17:37,122 - INFO - we take 1775 photos in this while loop
MAIN: 2025-03-17 21:17:37,123 - INFO - /home/pi/Desktop/images/17032025/21/17/image_17032025_21_17_36_29641.jpg
MAIN: 2025-03-17 21:17:37,123 - INFO - duration: 0.6596219270068104
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 21:18:06,377 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 21:18:06,990 - INFO - taking picture
MAIN: 2025-03-17 21:18:06,991 - INFO - we take 1776 photos in this while loop
MAIN: 2025-03-17 21:18:06,991 - INFO - /home/pi/Desktop/images/17032025/21/17/image_17032025_21_18_06_29860.jpg
MAIN: 2025-03-17 21:18:06,991 - INFO - duration: 0.6678537499974482
MAIN: 2025-03-17 21:18:06,991 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 21:18:36,689 - INFO - taking picture
MAIN: 2025-03-17 21:18:36,690 - INFO - we take 1777 photos in this while loop
MAIN: 2025-03-17 21:18:36,690 - INFO - /home/pi/Desktop/images/17032025/21/18/image_17032025_21_18_36_29684.jpg
MAIN: 2025-03-17 21:18:36,690 - INFO - duration: 0.6827625519945286
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 21:19:06,318 - INFO - 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-03-17 21:19:06,604 - INFO - taking picture
MAIN: 2025-03-17 21:19:06,604 - INFO - we take 1778 photos in this while loop
MAIN: 2025-03-17 21:19:06,605 - INFO - /home/pi/Desktop/images/17032025/21/18/image_17032025_21_19_06_29891.jpg
MAIN: 2025-03-17 21:19:06,605 - INFO - duration: 0.7062093220010865
MAIN: 2025-03-17 21:19:06,605 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 21:19:37,539 - INFO - taking picture
MAIN: 2025-03-17 21:19:37,539 - INFO - we take 1779 photos in this while loop
MAIN: 2025-03-17 21:19:37,539 - INFO - /home/pi/Desktop/images/17032025/21/19/image_17032025_21_19_37_30971.jpg
MAIN: 2025-03-17 21:19:37,540 - INFO - duration: 0.6693932289999793
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-03-17 21:20:06,630 - INFO - taking picture
MAIN: 2025-03-17 21:20:06,630 - INFO - we take 1780 photos in this while loop
MAIN: 2025-03-17 21:20:06,631 - INFO - /home/pi/Desktop/images/17032025/21/19/image_17032025_21_20_06_29016.jpg
MAIN: 2025-03-17 21:20:06,631 - INFO - duration: 0.744792655998026
MAIN: 2025-03-17 21:20:06,632 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/20'
MAIN: 2025-03-17 21:20:07,011 - INFO - 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=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-03-17 21:20:37,534 - INFO - taking picture
MAIN: 2025-03-17 21:20:37,534 - INFO - we take 1781 photos in this while loop
MAIN: 2025-03-17 21:20:37,535 - INFO - /home/pi/Desktop/images/17032025/21/20/image_17032025_21_20_37_30969.jpg
MAIN: 2025-03-17 21:20:37,535 - INFO - duration: 0.6790478640032234
[ WARN:0] global /tmp/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-03-17 21:21:06,284 - INFO - taking picture
MAIN: 2025-03-17 21:21:06,285 - INFO - we take 1782 photos in this while loop
MAIN: 2025-03-17 21:21:06,285 - INFO - /home/pi/Desktop/images/17032025/21/20/image_17032025_21_21_05_28752.jpg
MAIN: 2025-03-17 21:21:06,285 - INFO - duration: 0.6775635939993663
MAIN: 2025-03-17 21:21:06,286 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/21'
MAIN: 2025-03-17 21:21:06,683 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 21:21:37,166 - INFO - taking picture
MAIN: 2025-03-17 21:21:37,167 - INFO - we take 1783 photos in this while loop
MAIN: 2025-03-17 21:21:37,167 - INFO - /home/pi/Desktop/images/17032025/21/21/image_17032025_21_21_36_30856.jpg
MAIN: 2025-03-17 21:21:37,168 - INFO - duration: 0.7034164580036304
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-03-17 21:22:06,368 - INFO - taking picture
MAIN: 2025-03-17 21:22:06,369 - INFO - we take 1784 photos in this while loop
MAIN: 2025-03-17 21:22:06,369 - INFO - /home/pi/Desktop/images/17032025/21/21/image_17032025_21_22_05_29206.jpg
MAIN: 2025-03-17 21:22:06,369 - INFO - duration: 0.6987980210033129
MAIN: 2025-03-17 21:22:06,369 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/22'
MAIN: 2025-03-17 21:22:06,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 21:22:37,219 - INFO - taking picture
MAIN: 2025-03-17 21:22:37,219 - INFO - we take 1785 photos in this while loop
MAIN: 2025-03-17 21:22:37,220 - INFO - /home/pi/Desktop/images/17032025/21/22/image_17032025_21_22_36_30861.jpg
MAIN: 2025-03-17 21:22:37,220 - INFO - duration: 0.6879341140011093
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 21:23: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=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-03-17 21:23:07,092 - INFO - taking picture
MAIN: 2025-03-17 21:23:07,093 - INFO - we take 1786 photos in this while loop
MAIN: 2025-03-17 21:23:07,093 - INFO - /home/pi/Desktop/images/17032025/21/22/image_17032025_21_23_06_29881.jpg
MAIN: 2025-03-17 21:23:07,093 - INFO - duration: 0.6800565099983942
MAIN: 2025-03-17 21:23:07,094 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/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-03-17 21:23:36,749 - INFO - taking picture
MAIN: 2025-03-17 21:23:36,750 - INFO - we take 1787 photos in this while loop
MAIN: 2025-03-17 21:23:36,750 - INFO - /home/pi/Desktop/images/17032025/21/23/image_17032025_21_23_36_29647.jpg
MAIN: 2025-03-17 21:23:36,750 - INFO - duration: 0.6888388529987424
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 21:24:06,552 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 21:24:06,995 - INFO - taking picture
MAIN: 2025-03-17 21:24:06,995 - INFO - we take 1788 photos in this while loop
MAIN: 2025-03-17 21:24:06,995 - INFO - /home/pi/Desktop/images/17032025/21/23/image_17032025_21_24_06_30225.jpg
MAIN: 2025-03-17 21:24:06,996 - INFO - duration: 0.7094411969956127
MAIN: 2025-03-17 21:24:06,996 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/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=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-03-17 21:24:36,518 - INFO - taking picture
MAIN: 2025-03-17 21:24:36,518 - INFO - we take 1789 photos in this while loop
MAIN: 2025-03-17 21:24:36,518 - INFO - /home/pi/Desktop/images/17032025/21/24/image_17032025_21_24_36_29561.jpg
MAIN: 2025-03-17 21:24:36,519 - INFO - duration: 0.6713978650004719
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 21:25:06,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=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-03-17 21:25:07,326 - INFO - taking picture
MAIN: 2025-03-17 21:25:07,327 - INFO - we take 1790 photos in this while loop
MAIN: 2025-03-17 21:25:07,327 - INFO - /home/pi/Desktop/images/17032025/21/24/image_17032025_21_25_06_30334.jpg
MAIN: 2025-03-17 21:25:07,327 - INFO - duration: 1.1456467179959873
MAIN: 2025-03-17 21:25:07,328 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/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=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-03-17 21:25:36,878 - INFO - taking picture
MAIN: 2025-03-17 21:25:36,878 - INFO - we take 1791 photos in this while loop
MAIN: 2025-03-17 21:25:36,878 - INFO - /home/pi/Desktop/images/17032025/21/25/image_17032025_21_25_36_30008.jpg
MAIN: 2025-03-17 21:25:36,879 - INFO - duration: 0.6888841670006514
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 21:26:06,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=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-03-17 21:26:07,017 - INFO - taking picture
MAIN: 2025-03-17 21:26:07,018 - INFO - we take 1792 photos in this while loop
MAIN: 2025-03-17 21:26:07,018 - INFO - /home/pi/Desktop/images/17032025/21/25/image_17032025_21_26_06_30121.jpg
MAIN: 2025-03-17 21:26:07,018 - INFO - duration: 0.7069933329985361
MAIN: 2025-03-17 21:26:07,019 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 21:26:36,596 - INFO - taking picture
MAIN: 2025-03-17 21:26:36,597 - INFO - we take 1793 photos in this while loop
MAIN: 2025-03-17 21:26:36,597 - INFO - /home/pi/Desktop/images/17032025/21/26/image_17032025_21_26_36_29591.jpg
MAIN: 2025-03-17 21:26:36,597 - INFO - duration: 0.694656509993365
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 21:27:06,151 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 21:27:06,708 - INFO - taking picture
MAIN: 2025-03-17 21:27:06,708 - INFO - we take 1794 photos in this while loop
MAIN: 2025-03-17 21:27:06,708 - INFO - /home/pi/Desktop/images/17032025/21/26/image_17032025_21_27_06_30155.jpg
MAIN: 2025-03-17 21:27:06,709 - INFO - duration: 0.6506061450054403
MAIN: 2025-03-17 21:27:06,709 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/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=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-03-17 21:27:36,255 - INFO - taking picture
MAIN: 2025-03-17 21:27:36,256 - INFO - we take 1795 photos in this while loop
MAIN: 2025-03-17 21:27:36,256 - INFO - /home/pi/Desktop/images/17032025/21/27/image_17032025_21_27_35_29530.jpg
MAIN: 2025-03-17 21:27:36,256 - INFO - duration: 0.6676501559995813
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 21:28: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=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-03-17 21:28:06,363 - INFO - taking picture
MAIN: 2025-03-17 21:28:06,364 - INFO - we take 1796 photos in this while loop
MAIN: 2025-03-17 21:28:06,364 - INFO - /home/pi/Desktop/images/17032025/21/27/image_17032025_21_28_05_30098.jpg
MAIN: 2025-03-17 21:28:06,364 - INFO - duration: 0.6773536979962955
MAIN: 2025-03-17 21:28:06,365 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/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=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-03-17 21:28:37,106 - INFO - taking picture
MAIN: 2025-03-17 21:28:37,106 - INFO - we take 1797 photos in this while loop
MAIN: 2025-03-17 21:28:37,106 - INFO - /home/pi/Desktop/images/17032025/21/28/image_17032025_21_28_36_30728.jpg
MAIN: 2025-03-17 21:28:37,107 - INFO - duration: 0.6910335939974175
Corrupt JPEG data: premature end of data segment
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-03-17 21:29: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-03-17 21:29:06,808 - INFO - taking picture
MAIN: 2025-03-17 21:29:06,808 - INFO - we take 1798 photos in this while loop
MAIN: 2025-03-17 21:29:06,809 - INFO - /home/pi/Desktop/images/17032025/21/28/image_17032025_21_29_06_29757.jpg
MAIN: 2025-03-17 21:29:06,809 - INFO - duration: 0.6355602080002427
MAIN: 2025-03-17 21:29:06,809 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 21:29:36,285 - INFO - taking picture
MAIN: 2025-03-17 21:29:36,286 - INFO - we take 1799 photos in this while loop
MAIN: 2025-03-17 21:29:36,286 - INFO - /home/pi/Desktop/images/17032025/21/29/image_17032025_21_29_35_29424.jpg
MAIN: 2025-03-17 21:29:36,286 - INFO - duration: 0.6882693739971728
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 21:30:06,493 - INFO - taking picture
MAIN: 2025-03-17 21:30:06,494 - INFO - we take 1800 photos in this while loop
MAIN: 2025-03-17 21:30:06,495 - INFO - /home/pi/Desktop/images/17032025/21/29/image_17032025_21_30_06_30178.jpg
MAIN: 2025-03-17 21:30:06,495 - INFO - duration: 0.7181090630037943
MAIN: 2025-03-17 21:30:06,496 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/30'
MAIN: 2025-03-17 21:30:06,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 21:30:37,381 - INFO - taking picture
MAIN: 2025-03-17 21:30:37,381 - INFO - we take 1801 photos in this while loop
MAIN: 2025-03-17 21:30:37,381 - INFO - /home/pi/Desktop/images/17032025/21/30/image_17032025_21_30_36_30886.jpg
MAIN: 2025-03-17 21:30:37,382 - INFO - duration: 0.7185949470003834
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 21:31:06,415 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 21:31:07,231 - INFO - taking picture
MAIN: 2025-03-17 21:31:07,232 - INFO - we take 1802 photos in this while loop
MAIN: 2025-03-17 21:31:07,232 - INFO - /home/pi/Desktop/images/17032025/21/30/image_17032025_21_31_06_29913.jpg
MAIN: 2025-03-17 21:31:07,232 - INFO - duration: 0.6549403130047722
MAIN: 2025-03-17 21:31:07,232 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/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-03-17 21:31:36,737 - INFO - taking picture
MAIN: 2025-03-17 21:31:36,738 - INFO - we take 1803 photos in this while loop
MAIN: 2025-03-17 21:31:36,738 - INFO - /home/pi/Desktop/images/17032025/21/31/image_17032025_21_31_36_29465.jpg
MAIN: 2025-03-17 21:31:36,738 - INFO - duration: 0.6953136980009731
[ WARN:0] global /tmp/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-03-17 21:32:06,621 - INFO - taking picture
MAIN: 2025-03-17 21:32:06,622 - INFO - we take 1804 photos in this while loop
MAIN: 2025-03-17 21:32:06,622 - INFO - /home/pi/Desktop/images/17032025/21/31/image_17032025_21_32_06_29911.jpg
MAIN: 2025-03-17 21:32:06,622 - INFO - duration: 0.6676030210001045
MAIN: 2025-03-17 21:32:06,623 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/32'
MAIN: 2025-03-17 21:32:06,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=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-03-17 21:32:37,433 - INFO - taking picture
MAIN: 2025-03-17 21:32:37,433 - INFO - we take 1805 photos in this while loop
MAIN: 2025-03-17 21:32:37,434 - INFO - /home/pi/Desktop/images/17032025/21/32/image_17032025_21_32_37_30831.jpg
MAIN: 2025-03-17 21:32:37,434 - INFO - duration: 0.647354999993695
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-03-17 21:33: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=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-03-17 21:33:07,305 - INFO - taking picture
MAIN: 2025-03-17 21:33:07,305 - INFO - we take 1806 photos in this while loop
MAIN: 2025-03-17 21:33:07,305 - INFO - /home/pi/Desktop/images/17032025/21/32/image_17032025_21_33_06_29856.jpg
MAIN: 2025-03-17 21:33:07,306 - INFO - duration: 0.6623352599999635
MAIN: 2025-03-17 21:33:07,306 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/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=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-03-17 21:33:36,982 - INFO - taking picture
MAIN: 2025-03-17 21:33:36,983 - INFO - we take 1807 photos in this while loop
MAIN: 2025-03-17 21:33:36,983 - INFO - /home/pi/Desktop/images/17032025/21/33/image_17032025_21_33_36_29644.jpg
MAIN: 2025-03-17 21:33:36,983 - INFO - duration: 0.6949337490004837
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-03-17 21:34:06,568 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 21:34:07,142 - INFO - taking picture
MAIN: 2025-03-17 21:34:07,143 - INFO - we take 1808 photos in this while loop
MAIN: 2025-03-17 21:34:07,143 - INFO - /home/pi/Desktop/images/17032025/21/33/image_17032025_21_34_06_30145.jpg
MAIN: 2025-03-17 21:34:07,143 - INFO - duration: 0.7094780199986417
MAIN: 2025-03-17 21:34:07,143 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 21:34:36,744 - INFO - taking picture
MAIN: 2025-03-17 21:34:36,745 - INFO - we take 1809 photos in this while loop
MAIN: 2025-03-17 21:34:36,745 - INFO - /home/pi/Desktop/images/17032025/21/34/image_17032025_21_34_36_29621.jpg
MAIN: 2025-03-17 21:34:36,745 - INFO - duration: 0.6903852079994977
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 21:35:06,917 - INFO - taking picture
MAIN: 2025-03-17 21:35:06,918 - INFO - we take 1810 photos in this while loop
MAIN: 2025-03-17 21:35:06,918 - INFO - /home/pi/Desktop/images/17032025/21/34/image_17032025_21_35_06_30192.jpg
MAIN: 2025-03-17 21:35:06,919 - INFO - duration: 0.6708903120015748
MAIN: 2025-03-17 21:35:06,920 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/35'
MAIN: 2025-03-17 21:35:06,941 - INFO - 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=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-03-17 21:35:36,402 - INFO - taking picture
MAIN: 2025-03-17 21:35:36,403 - INFO - we take 1811 photos in this while loop
MAIN: 2025-03-17 21:35:36,403 - INFO - /home/pi/Desktop/images/17032025/21/35/image_17032025_21_35_36_29460.jpg
MAIN: 2025-03-17 21:35:36,403 - INFO - duration: 0.6948445829984848
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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=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-03-17 21:36:06,497 - INFO - taking picture
MAIN: 2025-03-17 21:36:06,498 - INFO - we take 1812 photos in this while loop
MAIN: 2025-03-17 21:36:06,498 - INFO - /home/pi/Desktop/images/17032025/21/35/image_17032025_21_36_06_30147.jpg
MAIN: 2025-03-17 21:36:06,498 - INFO - duration: 0.6426865100002033
MAIN: 2025-03-17 21:36:06,499 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/36'
MAIN: 2025-03-17 21:36:06,967 - INFO - 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=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-03-17 21:36:37,493 - INFO - taking picture
MAIN: 2025-03-17 21:36:37,493 - INFO - we take 1813 photos in this while loop
MAIN: 2025-03-17 21:36:37,493 - INFO - /home/pi/Desktop/images/17032025/21/36/image_17032025_21_36_37_30942.jpg
MAIN: 2025-03-17 21:36:37,494 - INFO - duration: 0.695657811993442
Corrupt JPEG data: premature end of data segment
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-03-17 21:37:06,564 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 21:37:07,365 - INFO - taking picture
MAIN: 2025-03-17 21:37:07,365 - INFO - we take 1814 photos in this while loop
MAIN: 2025-03-17 21:37:07,365 - INFO - /home/pi/Desktop/images/17032025/21/36/image_17032025_21_37_06_29930.jpg
MAIN: 2025-03-17 21:37:07,366 - INFO - duration: 0.637200468001538
MAIN: 2025-03-17 21:37:07,366 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 21:37:36,864 - INFO - taking picture
MAIN: 2025-03-17 21:37:36,864 - INFO - we take 1815 photos in this while loop
MAIN: 2025-03-17 21:37:36,864 - INFO - /home/pi/Desktop/images/17032025/21/37/image_17032025_21_37_36_29449.jpg
MAIN: 2025-03-17 21:37:36,865 - INFO - duration: 0.6867529690061929
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 21:38:06,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 ! 
MAIN: 2025-03-17 21:38:07,145 - INFO - taking picture
MAIN: 2025-03-17 21:38:07,145 - INFO - we take 1816 photos in this while loop
MAIN: 2025-03-17 21:38:07,145 - INFO - /home/pi/Desktop/images/17032025/21/37/image_17032025_21_38_06_30288.jpg
MAIN: 2025-03-17 21:38:07,146 - INFO - duration: 0.6794868750002934
MAIN: 2025-03-17 21:38:07,146 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/38'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 21:38:36,675 - INFO - taking picture
MAIN: 2025-03-17 21:38:36,676 - INFO - we take 1817 photos in this while loop
MAIN: 2025-03-17 21:38:36,676 - INFO - /home/pi/Desktop/images/17032025/21/38/image_17032025_21_38_36_29519.jpg
MAIN: 2025-03-17 21:38:36,676 - INFO - duration: 0.690866509998159
Corrupt JPEG data: premature end of data segment
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-03-17 21:39:05,874 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 21:39:06,572 - INFO - taking picture
MAIN: 2025-03-17 21:39:06,572 - INFO - we take 1818 photos in this while loop
MAIN: 2025-03-17 21:39:06,573 - INFO - /home/pi/Desktop/images/17032025/21/38/image_17032025_21_39_06_29949.jpg
MAIN: 2025-03-17 21:39:06,573 - INFO - duration: 0.6380815629963763
MAIN: 2025-03-17 21:39:06,573 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 21:39:37,334 - INFO - taking picture
MAIN: 2025-03-17 21:39:37,335 - INFO - we take 1819 photos in this while loop
MAIN: 2025-03-17 21:39:37,335 - INFO - /home/pi/Desktop/images/17032025/21/39/image_17032025_21_39_36_30734.jpg
MAIN: 2025-03-17 21:39:37,335 - INFO - duration: 0.6662126559967874
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 21:40:06,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=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-03-17 21:40:07,368 - INFO - taking picture
MAIN: 2025-03-17 21:40:07,369 - INFO - we take 1820 photos in this while loop
MAIN: 2025-03-17 21:40:07,369 - INFO - /home/pi/Desktop/images/17032025/21/39/image_17032025_21_40_06_30024.jpg
MAIN: 2025-03-17 21:40:07,370 - INFO - duration: 0.6757564579966129
MAIN: 2025-03-17 21:40:07,370 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 21:40:36,942 - INFO - taking picture
MAIN: 2025-03-17 21:40:36,943 - INFO - we take 1821 photos in this while loop
MAIN: 2025-03-17 21:40:36,943 - INFO - /home/pi/Desktop/images/17032025/21/40/image_17032025_21_40_36_29554.jpg
MAIN: 2025-03-17 21:40:36,943 - INFO - duration: 0.6941807289986173
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 21:41: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-03-17 21:41:06,840 - INFO - taking picture
MAIN: 2025-03-17 21:41:06,841 - INFO - we take 1822 photos in this while loop
MAIN: 2025-03-17 21:41:06,841 - INFO - /home/pi/Desktop/images/17032025/21/40/image_17032025_21_41_06_29960.jpg
MAIN: 2025-03-17 21:41:06,841 - INFO - duration: 0.6325110929974471
MAIN: 2025-03-17 21:41:06,842 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 21:41:36,440 - INFO - taking picture
MAIN: 2025-03-17 21:41:36,441 - INFO - we take 1823 photos in this while loop
MAIN: 2025-03-17 21:41:36,441 - INFO - /home/pi/Desktop/images/17032025/21/41/image_17032025_21_41_36_29559.jpg
MAIN: 2025-03-17 21:41:36,441 - INFO - duration: 0.6720695830008481
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 21:42:06,297 - INFO - taking picture
MAIN: 2025-03-17 21:42:06,298 - INFO - we take 1824 photos in this while loop
MAIN: 2025-03-17 21:42:06,298 - INFO - /home/pi/Desktop/images/17032025/21/41/image_17032025_21_42_05_29895.jpg
MAIN: 2025-03-17 21:42:06,298 - INFO - duration: 0.6334781770055997
MAIN: 2025-03-17 21:42:06,299 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/42'
MAIN: 2025-03-17 21:42:06,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 21:42:37,093 - INFO - taking picture
MAIN: 2025-03-17 21:42:37,093 - INFO - we take 1825 photos in this while loop
MAIN: 2025-03-17 21:42:37,094 - INFO - /home/pi/Desktop/images/17032025/21/42/image_17032025_21_42_36_30733.jpg
MAIN: 2025-03-17 21:42:37,094 - INFO - duration: 0.6954817180012469
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 21:43:05,536 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 21:43:07,109 - INFO - taking picture
MAIN: 2025-03-17 21:43:07,109 - INFO - we take 1826 photos in this while loop
MAIN: 2025-03-17 21:43:07,110 - INFO - /home/pi/Desktop/images/17032025/21/42/image_17032025_21_43_06_30019.jpg
MAIN: 2025-03-17 21:43:07,110 - INFO - duration: 0.6916812499985099
MAIN: 2025-03-17 21:43:07,110 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/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=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-03-17 21:43:36,548 - INFO - taking picture
MAIN: 2025-03-17 21:43:36,548 - INFO - we take 1827 photos in this while loop
MAIN: 2025-03-17 21:43:36,549 - INFO - /home/pi/Desktop/images/17032025/21/43/image_17032025_21_43_36_29435.jpg
MAIN: 2025-03-17 21:43:36,549 - INFO - duration: 0.6949605210029404
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 21:44: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=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-03-17 21:44:06,493 - INFO - taking picture
MAIN: 2025-03-17 21:44:06,493 - INFO - we take 1828 photos in this while loop
MAIN: 2025-03-17 21:44:06,493 - INFO - /home/pi/Desktop/images/17032025/21/43/image_17032025_21_44_06_29961.jpg
MAIN: 2025-03-17 21:44:06,494 - INFO - duration: 0.6777363020009943
MAIN: 2025-03-17 21:44:06,494 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/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-03-17 21:44:37,341 - INFO - taking picture
MAIN: 2025-03-17 21:44:37,342 - INFO - we take 1829 photos in this while loop
MAIN: 2025-03-17 21:44:37,342 - INFO - /home/pi/Desktop/images/17032025/21/44/image_17032025_21_44_36_30830.jpg
MAIN: 2025-03-17 21:44:37,342 - INFO - duration: 0.6954536979974364
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 21:45:06,354 - INFO - 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-03-17 21:45:07,262 - INFO - taking picture
MAIN: 2025-03-17 21:45:07,263 - INFO - we take 1830 photos in this while loop
MAIN: 2025-03-17 21:45:07,263 - INFO - /home/pi/Desktop/images/17032025/21/44/image_17032025_21_45_06_29945.jpg
MAIN: 2025-03-17 21:45:07,263 - INFO - duration: 0.6708035420015221
MAIN: 2025-03-17 21:45:07,264 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/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-03-17 21:45:36,863 - INFO - taking picture
MAIN: 2025-03-17 21:45:36,863 - INFO - we take 1831 photos in this while loop
MAIN: 2025-03-17 21:45:36,864 - INFO - /home/pi/Desktop/images/17032025/21/45/image_17032025_21_45_36_29602.jpg
MAIN: 2025-03-17 21:45:36,864 - INFO - duration: 0.6688407289984752
[ WARN:0] global /tmp/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-03-17 21:46: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 ! 
MAIN: 2025-03-17 21:46:06,719 - INFO - taking picture
MAIN: 2025-03-17 21:46:06,719 - INFO - we take 1832 photos in this while loop
MAIN: 2025-03-17 21:46:06,719 - INFO - /home/pi/Desktop/images/17032025/21/45/image_17032025_21_46_06_29836.jpg
MAIN: 2025-03-17 21:46:06,720 - INFO - duration: 0.6881819789996371
MAIN: 2025-03-17 21:46:06,720 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/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-03-17 21:46:37,554 - INFO - taking picture
MAIN: 2025-03-17 21:46:37,555 - INFO - we take 1833 photos in this while loop
MAIN: 2025-03-17 21:46:37,555 - INFO - /home/pi/Desktop/images/17032025/21/46/image_17032025_21_46_37_30823.jpg
MAIN: 2025-03-17 21:46:37,555 - INFO - duration: 0.7008033849997446
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 21:47: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=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-03-17 21:47:07,431 - INFO - taking picture
MAIN: 2025-03-17 21:47:07,431 - INFO - we take 1834 photos in this while loop
MAIN: 2025-03-17 21:47:07,432 - INFO - /home/pi/Desktop/images/17032025/21/46/image_17032025_21_47_07_29942.jpg
MAIN: 2025-03-17 21:47:07,432 - INFO - duration: 0.6349461979989428
MAIN: 2025-03-17 21:47:07,432 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/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-03-17 21:47:36,953 - INFO - taking picture
MAIN: 2025-03-17 21:47:36,954 - INFO - we take 1835 photos in this while loop
MAIN: 2025-03-17 21:47:36,954 - INFO - /home/pi/Desktop/images/17032025/21/47/image_17032025_21_47_36_29462.jpg
MAIN: 2025-03-17 21:47:36,954 - INFO - duration: 0.6948020309937419
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-03-17 21:48:07,073 - INFO - taking picture
MAIN: 2025-03-17 21:48:07,074 - INFO - we take 1836 photos in this while loop
MAIN: 2025-03-17 21:48:07,074 - INFO - /home/pi/Desktop/images/17032025/21/47/image_17032025_21_48_06_30125.jpg
MAIN: 2025-03-17 21:48:07,074 - INFO - duration: 0.6896638539983542
MAIN: 2025-03-17 21:48:07,075 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/48'
MAIN: 2025-03-17 21:48:07,128 - INFO - 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=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-03-17 21:48:36,551 - INFO - taking picture
MAIN: 2025-03-17 21:48:36,552 - INFO - we take 1837 photos in this while loop
MAIN: 2025-03-17 21:48:36,552 - INFO - /home/pi/Desktop/images/17032025/21/48/image_17032025_21_48_36_29496.jpg
MAIN: 2025-03-17 21:48:36,552 - INFO - duration: 0.6707063540015952
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 21:49: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=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-03-17 21:49:06,428 - INFO - taking picture
MAIN: 2025-03-17 21:49:06,429 - INFO - we take 1838 photos in this while loop
MAIN: 2025-03-17 21:49:06,429 - INFO - /home/pi/Desktop/images/17032025/21/48/image_17032025_21_49_06_29911.jpg
MAIN: 2025-03-17 21:49:06,429 - INFO - duration: 0.6361168740040739
MAIN: 2025-03-17 21:49:06,430 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/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=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-03-17 21:49:37,271 - INFO - taking picture
MAIN: 2025-03-17 21:49:37,272 - INFO - we take 1839 photos in this while loop
MAIN: 2025-03-17 21:49:37,272 - INFO - /home/pi/Desktop/images/17032025/21/49/image_17032025_21_49_36_30783.jpg
MAIN: 2025-03-17 21:49:37,272 - INFO - duration: 0.6951785929995822
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 21:50:06,325 - INFO - taking picture
MAIN: 2025-03-17 21:50:06,326 - INFO - we take 1840 photos in this while loop
MAIN: 2025-03-17 21:50:06,327 - INFO - /home/pi/Desktop/images/17032025/21/49/image_17032025_21_50_05_29049.jpg
MAIN: 2025-03-17 21:50:06,327 - INFO - duration: 0.7010756250019767
MAIN: 2025-03-17 21:50:06,328 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/50'
MAIN: 2025-03-17 21:50:07,108 - INFO - 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=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-03-17 21:50:37,074 - INFO - taking picture
MAIN: 2025-03-17 21:50:37,075 - INFO - we take 1841 photos in this while loop
MAIN: 2025-03-17 21:50:37,075 - INFO - /home/pi/Desktop/images/17032025/21/50/image_17032025_21_50_36_30756.jpg
MAIN: 2025-03-17 21:50:37,075 - INFO - duration: 0.6921634889949928
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 21:51:06,121 - INFO - 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-03-17 21:51:06,956 - INFO - taking picture
MAIN: 2025-03-17 21:51:06,956 - INFO - we take 1842 photos in this while loop
MAIN: 2025-03-17 21:51:06,956 - INFO - /home/pi/Desktop/images/17032025/21/50/image_17032025_21_51_06_29939.jpg
MAIN: 2025-03-17 21:51:06,957 - INFO - duration: 0.6338744790045894
MAIN: 2025-03-17 21:51:06,957 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 21:51:36,540 - INFO - taking picture
MAIN: 2025-03-17 21:51:36,541 - INFO - we take 1843 photos in this while loop
MAIN: 2025-03-17 21:51:36,541 - INFO - /home/pi/Desktop/images/17032025/21/51/image_17032025_21_51_36_29548.jpg
MAIN: 2025-03-17 21:51:36,541 - INFO - duration: 0.6698433330020634
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 21:52: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 ! 
MAIN: 2025-03-17 21:52:06,758 - INFO - taking picture
MAIN: 2025-03-17 21:52:06,759 - INFO - we take 1844 photos in this while loop
MAIN: 2025-03-17 21:52:06,759 - INFO - /home/pi/Desktop/images/17032025/21/51/image_17032025_21_52_06_30206.jpg
MAIN: 2025-03-17 21:52:06,759 - INFO - duration: 0.6811257810040843
MAIN: 2025-03-17 21:52:06,760 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 21:52:36,333 - INFO - taking picture
MAIN: 2025-03-17 21:52:36,333 - INFO - we take 1845 photos in this while loop
MAIN: 2025-03-17 21:52:36,333 - INFO - /home/pi/Desktop/images/17032025/21/52/image_17032025_21_52_35_29562.jpg
MAIN: 2025-03-17 21:52:36,334 - INFO - duration: 0.6928797910004505
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 21:53:06,205 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 21:53:07,456 - INFO - taking picture
MAIN: 2025-03-17 21:53:07,457 - INFO - we take 1846 photos in this while loop
MAIN: 2025-03-17 21:53:07,457 - INFO - /home/pi/Desktop/images/17032025/21/52/image_17032025_21_53_07_31152.jpg
MAIN: 2025-03-17 21:53:07,457 - INFO - duration: 0.6634545830020215
MAIN: 2025-03-17 21:53:07,457 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 21:53:37,080 - INFO - taking picture
MAIN: 2025-03-17 21:53:37,081 - INFO - we take 1847 photos in this while loop
MAIN: 2025-03-17 21:53:37,081 - INFO - /home/pi/Desktop/images/17032025/21/53/image_17032025_21_53_36_29594.jpg
MAIN: 2025-03-17 21:53:37,081 - INFO - duration: 0.6930867710034363
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 21:54:06,654 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 21:54:07,135 - INFO - taking picture
MAIN: 2025-03-17 21:54:07,136 - INFO - we take 1848 photos in this while loop
MAIN: 2025-03-17 21:54:07,136 - INFO - /home/pi/Desktop/images/17032025/21/53/image_17032025_21_54_06_30061.jpg
MAIN: 2025-03-17 21:54:07,136 - INFO - duration: 0.6860177600028692
MAIN: 2025-03-17 21:54:07,136 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 21:54:36,682 - INFO - taking picture
MAIN: 2025-03-17 21:54:36,683 - INFO - we take 1849 photos in this while loop
MAIN: 2025-03-17 21:54:36,683 - INFO - /home/pi/Desktop/images/17032025/21/54/image_17032025_21_54_36_29541.jpg
MAIN: 2025-03-17 21:54:36,683 - INFO - duration: 0.6921460939993267
Corrupt JPEG data: premature end of data segment
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-03-17 21:55: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 ! 
MAIN: 2025-03-17 21:55:06,819 - INFO - taking picture
MAIN: 2025-03-17 21:55:06,820 - INFO - we take 1850 photos in this while loop
MAIN: 2025-03-17 21:55:06,820 - INFO - /home/pi/Desktop/images/17032025/21/54/image_17032025_21_55_06_30153.jpg
MAIN: 2025-03-17 21:55:06,820 - INFO - duration: 0.675301927003602
MAIN: 2025-03-17 21:55:06,821 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/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=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-03-17 21:55:36,471 - INFO - taking picture
MAIN: 2025-03-17 21:55:36,471 - INFO - we take 1851 photos in this while loop
MAIN: 2025-03-17 21:55:36,471 - INFO - /home/pi/Desktop/images/17032025/21/55/image_17032025_21_55_36_29624.jpg
MAIN: 2025-03-17 21:55:36,472 - INFO - duration: 0.7025996360025601
Corrupt JPEG data: premature end of data segment
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-03-17 21:56: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 ! 
MAIN: 2025-03-17 21:56:06,721 - INFO - taking picture
MAIN: 2025-03-17 21:56:06,722 - INFO - we take 1852 photos in this while loop
MAIN: 2025-03-17 21:56:06,722 - INFO - /home/pi/Desktop/images/17032025/21/55/image_17032025_21_56_06_30256.jpg
MAIN: 2025-03-17 21:56:06,722 - INFO - duration: 0.6973257289937465
MAIN: 2025-03-17 21:56:06,723 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 21:56:37,525 - INFO - taking picture
MAIN: 2025-03-17 21:56:37,526 - INFO - we take 1853 photos in this while loop
MAIN: 2025-03-17 21:56:37,526 - INFO - /home/pi/Desktop/images/17032025/21/56/image_17032025_21_56_37_30812.jpg
MAIN: 2025-03-17 21:56:37,526 - INFO - duration: 0.68848463500035
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=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-03-17 21: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 ! 
MAIN: 2025-03-17 21:57:06,343 - INFO - taking picture
MAIN: 2025-03-17 21:57:06,343 - INFO - we take 1854 photos in this while loop
MAIN: 2025-03-17 21:57:06,343 - INFO - /home/pi/Desktop/images/17032025/21/56/image_17032025_21_57_05_28805.jpg
MAIN: 2025-03-17 21:57:06,344 - INFO - duration: 0.7007642179960385
MAIN: 2025-03-17 21:57:06,344 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 21:57:37,221 - INFO - taking picture
MAIN: 2025-03-17 21:57:37,221 - INFO - we take 1855 photos in this while loop
MAIN: 2025-03-17 21:57:37,221 - INFO - /home/pi/Desktop/images/17032025/21/57/image_17032025_21_57_36_30880.jpg
MAIN: 2025-03-17 21:57:37,222 - INFO - duration: 0.6987225519987987
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 21:58:06,493 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 21:58:07,204 - INFO - taking picture
MAIN: 2025-03-17 21:58:07,204 - INFO - we take 1856 photos in this while loop
MAIN: 2025-03-17 21:58:07,204 - INFO - /home/pi/Desktop/images/17032025/21/57/image_17032025_21_58_06_30042.jpg
MAIN: 2025-03-17 21:58:07,204 - INFO - duration: 0.638586093999038
MAIN: 2025-03-17 21:58:07,205 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/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=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-03-17 21:58:36,645 - INFO - taking picture
MAIN: 2025-03-17 21:58:36,646 - INFO - we take 1857 photos in this while loop
MAIN: 2025-03-17 21:58:36,646 - INFO - /home/pi/Desktop/images/17032025/21/58/image_17032025_21_58_36_29391.jpg
MAIN: 2025-03-17 21:58:36,646 - INFO - duration: 0.6890621869970346
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 21:59: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 ! 
MAIN: 2025-03-17 21:59:06,594 - INFO - taking picture
MAIN: 2025-03-17 21:59:06,594 - INFO - we take 1858 photos in this while loop
MAIN: 2025-03-17 21:59:06,595 - INFO - /home/pi/Desktop/images/17032025/21/58/image_17032025_21_59_06_29929.jpg
MAIN: 2025-03-17 21:59:06,595 - INFO - duration: 0.7080485409969697
MAIN: 2025-03-17 21:59:06,595 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/21/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-03-17 21:59:36,262 - INFO - taking picture
MAIN: 2025-03-17 21:59:36,263 - INFO - we take 1859 photos in this while loop
MAIN: 2025-03-17 21:59:36,263 - INFO - /home/pi/Desktop/images/17032025/21/59/image_17032025_21_59_35_29689.jpg
MAIN: 2025-03-17 21:59:36,263 - INFO - duration: 0.6866576559987152
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 22:00:06,638 - INFO - taking picture
MAIN: 2025-03-17 22:00:06,639 - INFO - we take 1860 photos in this while loop
MAIN: 2025-03-17 22:00:06,639 - INFO - /home/pi/Desktop/images/17032025/21/59/image_17032025_22_00_06_30397.jpg
MAIN: 2025-03-17 22:00:06,639 - INFO - duration: 0.665641040999617
MAIN: 2025-03-17 22:00:06,640 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/22/00'
MAIN: 2025-03-17 22:00:06,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:00:37,441 - INFO - taking picture
MAIN: 2025-03-17 22:00:37,442 - INFO - we take 1861 photos in this while loop
MAIN: 2025-03-17 22:00:37,442 - INFO - /home/pi/Desktop/images/17032025/22/00/image_17032025_22_00_37_30774.jpg
MAIN: 2025-03-17 22:00:37,442 - INFO - duration: 0.6943142179952702
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 22:01:05,939 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:01:07,471 - INFO - taking picture
MAIN: 2025-03-17 22:01:07,471 - INFO - we take 1862 photos in this while loop
MAIN: 2025-03-17 22:01:07,472 - INFO - /home/pi/Desktop/images/17032025/22/00/image_17032025_22_01_07_30044.jpg
MAIN: 2025-03-17 22:01:07,472 - INFO - duration: 0.6795836969977245
MAIN: 2025-03-17 22:01:07,472 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 22:01:36,926 - INFO - taking picture
MAIN: 2025-03-17 22:01:36,927 - INFO - we take 1863 photos in this while loop
MAIN: 2025-03-17 22:01:36,927 - INFO - /home/pi/Desktop/images/17032025/22/01/image_17032025_22_01_36_29445.jpg
MAIN: 2025-03-17 22:01:36,927 - INFO - duration: 0.6891626040014671
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 22:02: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:02:07,065 - INFO - taking picture
MAIN: 2025-03-17 22:02:07,065 - INFO - we take 1864 photos in this while loop
MAIN: 2025-03-17 22:02:07,065 - INFO - /home/pi/Desktop/images/17032025/22/01/image_17032025_22_02_06_30110.jpg
MAIN: 2025-03-17 22:02:07,066 - INFO - duration: 0.7171748439941439
MAIN: 2025-03-17 22:02:07,066 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:02:36,589 - INFO - taking picture
MAIN: 2025-03-17 22:02:36,590 - INFO - we take 1865 photos in this while loop
MAIN: 2025-03-17 22:02:36,590 - INFO - /home/pi/Desktop/images/17032025/22/02/image_17032025_22_02_36_29550.jpg
MAIN: 2025-03-17 22:02:36,590 - INFO - duration: 0.6910289579973323
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 22:03: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-03-17 22:03:06,571 - INFO - taking picture
MAIN: 2025-03-17 22:03:06,572 - INFO - we take 1866 photos in this while loop
MAIN: 2025-03-17 22:03:06,572 - INFO - /home/pi/Desktop/images/17032025/22/02/image_17032025_22_03_06_29999.jpg
MAIN: 2025-03-17 22:03:06,572 - INFO - duration: 0.6742565099993953
MAIN: 2025-03-17 22:03:06,573 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:03:37,413 - INFO - taking picture
MAIN: 2025-03-17 22:03:37,413 - INFO - we take 1867 photos in this while loop
MAIN: 2025-03-17 22:03:37,414 - INFO - /home/pi/Desktop/images/17032025/22/03/image_17032025_22_03_37_30849.jpg
MAIN: 2025-03-17 22:03:37,414 - INFO - duration: 0.6662255210030708
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:04:06,234 - INFO - taking picture
MAIN: 2025-03-17 22:04:06,235 - INFO - we take 1868 photos in this while loop
MAIN: 2025-03-17 22:04:06,235 - INFO - /home/pi/Desktop/images/17032025/22/03/image_17032025_22_04_05_28836.jpg
MAIN: 2025-03-17 22:04:06,235 - INFO - duration: 0.6507944270051667
MAIN: 2025-03-17 22:04:06,254 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/22/04'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 22:04:07,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:04:37,059 - INFO - taking picture
MAIN: 2025-03-17 22:04:37,064 - INFO - we take 1869 photos in this while loop
MAIN: 2025-03-17 22:04:37,065 - INFO - /home/pi/Desktop/images/17032025/22/04/image_17032025_22_04_36_30799.jpg
MAIN: 2025-03-17 22:04:37,065 - INFO - duration: 0.6806630720020621
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-03-17 22:05: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:05:07,320 - INFO - taking picture
MAIN: 2025-03-17 22:05:07,321 - INFO - we take 1870 photos in this while loop
MAIN: 2025-03-17 22:05:07,322 - INFO - /home/pi/Desktop/images/17032025/22/04/image_17032025_22_05_06_30262.jpg
MAIN: 2025-03-17 22:05:07,323 - INFO - duration: 0.6760706770000979
MAIN: 2025-03-17 22:05:07,324 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:05:36,802 - INFO - taking picture
MAIN: 2025-03-17 22:05:36,802 - INFO - we take 1871 photos in this while loop
MAIN: 2025-03-17 22:05:36,803 - INFO - /home/pi/Desktop/images/17032025/22/05/image_17032025_22_05_36_29488.jpg
MAIN: 2025-03-17 22:05:36,803 - INFO - duration: 0.6676638019998791
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 22:06:06,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 ! 
MAIN: 2025-03-17 22:06:06,869 - INFO - taking picture
MAIN: 2025-03-17 22:06:06,870 - INFO - we take 1872 photos in this while loop
MAIN: 2025-03-17 22:06:06,870 - INFO - /home/pi/Desktop/images/17032025/22/05/image_17032025_22_06_06_30040.jpg
MAIN: 2025-03-17 22:06:06,870 - INFO - duration: 0.694779687000846
MAIN: 2025-03-17 22:06:06,871 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/22/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-03-17 22:06:36,474 - INFO - taking picture
MAIN: 2025-03-17 22:06:36,474 - INFO - we take 1873 photos in this while loop
MAIN: 2025-03-17 22:06:36,475 - INFO - /home/pi/Desktop/images/17032025/22/06/image_17032025_22_06_36_29607.jpg
MAIN: 2025-03-17 22:06:36,475 - INFO - duration: 0.6923145830005524
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 22:07: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=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-03-17 22:07:06,549 - INFO - taking picture
MAIN: 2025-03-17 22:07:06,550 - INFO - we take 1874 photos in this while loop
MAIN: 2025-03-17 22:07:06,550 - INFO - /home/pi/Desktop/images/17032025/22/06/image_17032025_22_07_06_30090.jpg
MAIN: 2025-03-17 22:07:06,550 - INFO - duration: 0.6773717710020719
MAIN: 2025-03-17 22:07:06,551 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:07:37,375 - INFO - taking picture
MAIN: 2025-03-17 22:07:37,376 - INFO - we take 1875 photos in this while loop
MAIN: 2025-03-17 22:07:37,376 - INFO - /home/pi/Desktop/images/17032025/22/07/image_17032025_22_07_36_30809.jpg
MAIN: 2025-03-17 22:07:37,376 - INFO - duration: 0.6945358329976443
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 22:08:06,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=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-03-17 22:08:07,432 - INFO - taking picture
MAIN: 2025-03-17 22:08:07,433 - INFO - we take 1876 photos in this while loop
MAIN: 2025-03-17 22:08:07,433 - INFO - /home/pi/Desktop/images/17032025/22/07/image_17032025_22_08_07_30065.jpg
MAIN: 2025-03-17 22:08:07,433 - INFO - duration: 0.6861884890022338
MAIN: 2025-03-17 22:08:07,434 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:08:37,078 - INFO - taking picture
MAIN: 2025-03-17 22:08:37,079 - INFO - we take 1877 photos in this while loop
MAIN: 2025-03-17 22:08:37,079 - INFO - /home/pi/Desktop/images/17032025/22/08/image_17032025_22_08_36_29633.jpg
MAIN: 2025-03-17 22:08:37,079 - INFO - duration: 0.6985689060020377
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 22:09:06,534 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:09:06,966 - INFO - taking picture
MAIN: 2025-03-17 22:09:06,966 - INFO - we take 1878 photos in this while loop
MAIN: 2025-03-17 22:09:06,966 - INFO - /home/pi/Desktop/images/17032025/22/08/image_17032025_22_09_06_29879.jpg
MAIN: 2025-03-17 22:09:06,967 - INFO - duration: 0.7066798960004235
MAIN: 2025-03-17 22:09:06,967 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:09:36,576 - INFO - taking picture
MAIN: 2025-03-17 22:09:36,577 - INFO - we take 1879 photos in this while loop
MAIN: 2025-03-17 22:09:36,577 - INFO - /home/pi/Desktop/images/17032025/22/09/image_17032025_22_09_36_29627.jpg
MAIN: 2025-03-17 22:09:36,577 - INFO - duration: 0.6891532290028408
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:10:06,769 - INFO - taking picture
MAIN: 2025-03-17 22:10:06,770 - INFO - we take 1880 photos in this while loop
MAIN: 2025-03-17 22:10:06,770 - INFO - /home/pi/Desktop/images/17032025/22/09/image_17032025_22_10_06_30156.jpg
MAIN: 2025-03-17 22:10:06,770 - INFO - duration: 0.7263141660005203
MAIN: 2025-03-17 22:10:06,771 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/22/10'
MAIN: 2025-03-17 22:10:07,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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:10:36,285 - INFO - taking picture
MAIN: 2025-03-17 22:10:36,286 - INFO - we take 1881 photos in this while loop
MAIN: 2025-03-17 22:10:36,286 - INFO - /home/pi/Desktop/images/17032025/22/10/image_17032025_22_10_35_29541.jpg
MAIN: 2025-03-17 22:10:36,286 - INFO - duration: 0.700687864999054
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 22:11: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=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-03-17 22:11:07,541 - INFO - taking picture
MAIN: 2025-03-17 22:11:07,541 - INFO - we take 1882 photos in this while loop
MAIN: 2025-03-17 22:11:07,542 - INFO - /home/pi/Desktop/images/17032025/22/10/image_17032025_22_11_07_31265.jpg
MAIN: 2025-03-17 22:11:07,542 - INFO - duration: 0.6908381760003977
MAIN: 2025-03-17 22:11:07,542 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 22:11:37,082 - INFO - taking picture
MAIN: 2025-03-17 22:11:37,083 - INFO - we take 1883 photos in this while loop
MAIN: 2025-03-17 22:11:37,083 - INFO - /home/pi/Desktop/images/17032025/22/11/image_17032025_22_11_36_29541.jpg
MAIN: 2025-03-17 22:11:37,083 - INFO - duration: 0.690741666003305
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 22:12:06,437 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:12:07,103 - INFO - taking picture
MAIN: 2025-03-17 22:12:07,103 - INFO - we take 1884 photos in this while loop
MAIN: 2025-03-17 22:12:07,104 - INFO - /home/pi/Desktop/images/17032025/22/11/image_17032025_22_12_06_30019.jpg
MAIN: 2025-03-17 22:12:07,104 - INFO - duration: 0.6917531250001048
MAIN: 2025-03-17 22:12:07,104 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/22/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=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-03-17 22:12:36,682 - INFO - taking picture
MAIN: 2025-03-17 22:12:36,682 - INFO - we take 1885 photos in this while loop
MAIN: 2025-03-17 22:12:36,682 - INFO - /home/pi/Desktop/images/17032025/22/12/image_17032025_22_12_36_29574.jpg
MAIN: 2025-03-17 22:12:36,683 - INFO - duration: 0.6959278639988042
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 22:13: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=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-03-17 22:13:06,551 - INFO - taking picture
MAIN: 2025-03-17 22:13:06,552 - INFO - we take 1886 photos in this while loop
MAIN: 2025-03-17 22:13:06,552 - INFO - /home/pi/Desktop/images/17032025/22/12/image_17032025_22_13_06_29920.jpg
MAIN: 2025-03-17 22:13:06,552 - INFO - duration: 0.6449977609954658
MAIN: 2025-03-17 22:13:06,553 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 22:13:37,469 - INFO - taking picture
MAIN: 2025-03-17 22:13:37,470 - INFO - we take 1887 photos in this while loop
MAIN: 2025-03-17 22:13:37,470 - INFO - /home/pi/Desktop/images/17032025/22/13/image_17032025_22_13_37_30868.jpg
MAIN: 2025-03-17 22:13:37,470 - INFO - duration: 0.6942686460024561
[ WARN:0] global /tmp/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-03-17 22:14:06,268 - INFO - taking picture
MAIN: 2025-03-17 22:14:06,268 - INFO - we take 1888 photos in this while loop
MAIN: 2025-03-17 22:14:06,269 - INFO - /home/pi/Desktop/images/17032025/22/13/image_17032025_22_14_05_28860.jpg
MAIN: 2025-03-17 22:14:06,269 - INFO - duration: 0.6329036969982553
MAIN: 2025-03-17 22:14:06,269 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/22/14'
MAIN: 2025-03-17 22:14:06,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=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-03-17 22:14:37,119 - INFO - taking picture
MAIN: 2025-03-17 22:14:37,119 - INFO - we take 1889 photos in this while loop
MAIN: 2025-03-17 22:14:37,119 - INFO - /home/pi/Desktop/images/17032025/22/14/image_17032025_22_14_36_30799.jpg
MAIN: 2025-03-17 22:14:37,120 - INFO - duration: 0.684280312001647
[ WARN:0] global /tmp/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-03-17 22:15:07,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 ! 
MAIN: 2025-03-17 22:15:07,277 - INFO - taking picture
MAIN: 2025-03-17 22:15:07,278 - INFO - we take 1890 photos in this while loop
MAIN: 2025-03-17 22:15:07,278 - INFO - /home/pi/Desktop/images/17032025/22/14/image_17032025_22_15_06_30155.jpg
MAIN: 2025-03-17 22:15:07,278 - INFO - duration: 0.6877574480022304
MAIN: 2025-03-17 22:15:07,279 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:15:36,771 - INFO - taking picture
MAIN: 2025-03-17 22:15:36,772 - INFO - we take 1891 photos in this while loop
MAIN: 2025-03-17 22:15:36,772 - INFO - /home/pi/Desktop/images/17032025/22/15/image_17032025_22_15_36_29487.jpg
MAIN: 2025-03-17 22:15:36,772 - INFO - duration: 0.6935840619989904
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 22:16:05,943 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:16:06,676 - INFO - taking picture
MAIN: 2025-03-17 22:16:06,677 - INFO - we take 1892 photos in this while loop
MAIN: 2025-03-17 22:16:06,677 - INFO - /home/pi/Desktop/images/17032025/22/15/image_17032025_22_16_06_29958.jpg
MAIN: 2025-03-17 22:16:06,677 - INFO - duration: 0.6397437499981606
MAIN: 2025-03-17 22:16:06,677 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/22/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-03-17 22:16:37,515 - INFO - taking picture
MAIN: 2025-03-17 22:16:37,516 - INFO - we take 1893 photos in this while loop
MAIN: 2025-03-17 22:16:37,516 - INFO - /home/pi/Desktop/images/17032025/22/16/image_17032025_22_16_37_30787.jpg
MAIN: 2025-03-17 22:16:37,516 - INFO - duration: 0.6912406249975902
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 22: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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:17:07,442 - INFO - taking picture
MAIN: 2025-03-17 22:17:07,443 - INFO - we take 1894 photos in this while loop
MAIN: 2025-03-17 22:17:07,443 - INFO - /home/pi/Desktop/images/17032025/22/16/image_17032025_22_17_07_29926.jpg
MAIN: 2025-03-17 22:17:07,443 - INFO - duration: 0.6908759370053303
MAIN: 2025-03-17 22:17:07,443 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/22/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=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-03-17 22:17:36,996 - INFO - taking picture
MAIN: 2025-03-17 22:17:36,997 - INFO - we take 1895 photos in this while loop
MAIN: 2025-03-17 22:17:36,997 - INFO - /home/pi/Desktop/images/17032025/22/17/image_17032025_22_17_36_29554.jpg
MAIN: 2025-03-17 22:17:36,997 - INFO - duration: 0.690312967999489
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 22:18: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=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-03-17 22:18:06,812 - INFO - taking picture
MAIN: 2025-03-17 22:18:06,813 - INFO - we take 1896 photos in this while loop
MAIN: 2025-03-17 22:18:06,813 - INFO - /home/pi/Desktop/images/17032025/22/17/image_17032025_22_18_06_29859.jpg
MAIN: 2025-03-17 22:18:06,813 - INFO - duration: 0.6466039059960167
MAIN: 2025-03-17 22:18:06,814 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:18:36,416 - INFO - taking picture
MAIN: 2025-03-17 22:18:36,417 - INFO - we take 1897 photos in this while loop
MAIN: 2025-03-17 22:18:36,417 - INFO - /home/pi/Desktop/images/17032025/22/18/image_17032025_22_18_36_29557.jpg
MAIN: 2025-03-17 22:18:36,417 - INFO - duration: 0.6932255720021203
Corrupt JPEG data: premature end of data segment
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-03-17 22:19: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 ! 
MAIN: 2025-03-17 22:19:06,591 - INFO - taking picture
MAIN: 2025-03-17 22:19:06,591 - INFO - we take 1898 photos in this while loop
MAIN: 2025-03-17 22:19:06,592 - INFO - /home/pi/Desktop/images/17032025/22/18/image_17032025_22_19_06_30172.jpg
MAIN: 2025-03-17 22:19:06,592 - INFO - duration: 0.695037448000221
MAIN: 2025-03-17 22:19:06,592 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/22/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=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-03-17 22:19:37,329 - INFO - taking picture
MAIN: 2025-03-17 22:19:37,330 - INFO - we take 1899 photos in this while loop
MAIN: 2025-03-17 22:19:37,330 - INFO - /home/pi/Desktop/images/17032025/22/19/image_17032025_22_19_36_30742.jpg
MAIN: 2025-03-17 22:19:37,330 - INFO - duration: 0.6903551560026244
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:20:06,406 - INFO - taking picture
MAIN: 2025-03-17 22:20:06,407 - INFO - we take 1900 photos in this while loop
MAIN: 2025-03-17 22:20:06,407 - INFO - /home/pi/Desktop/images/17032025/22/19/image_17032025_22_20_05_29037.jpg
MAIN: 2025-03-17 22:20:06,407 - INFO - duration: 0.7301659889999428
MAIN: 2025-03-17 22:20:06,470 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/22/20'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 22:20:07,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:20:37,214 - INFO - taking picture
MAIN: 2025-03-17 22:20:37,214 - INFO - we take 1901 photos in this while loop
MAIN: 2025-03-17 22:20:37,215 - INFO - /home/pi/Desktop/images/17032025/22/20/image_17032025_22_20_36_30844.jpg
MAIN: 2025-03-17 22:20:37,215 - INFO - duration: 0.6936705729967798
Corrupt JPEG data: premature end of data segment
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-03-17 22:21:06,475 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:21:07,163 - INFO - taking picture
MAIN: 2025-03-17 22:21:07,164 - INFO - we take 1902 photos in this while loop
MAIN: 2025-03-17 22:21:07,164 - INFO - /home/pi/Desktop/images/17032025/22/20/image_17032025_22_21_06_29947.jpg
MAIN: 2025-03-17 22:21:07,164 - INFO - duration: 0.6960419789975276
MAIN: 2025-03-17 22:21:07,165 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/22/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=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-03-17 22:21:36,681 - INFO - taking picture
MAIN: 2025-03-17 22:21:36,682 - INFO - we take 1903 photos in this while loop
MAIN: 2025-03-17 22:21:36,682 - INFO - /home/pi/Desktop/images/17032025/22/21/image_17032025_22_21_36_29518.jpg
MAIN: 2025-03-17 22:21:36,682 - INFO - duration: 0.695798228996864
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 22:22: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:22:06,751 - INFO - taking picture
MAIN: 2025-03-17 22:22:06,752 - INFO - we take 1904 photos in this while loop
MAIN: 2025-03-17 22:22:06,752 - INFO - /home/pi/Desktop/images/17032025/22/21/image_17032025_22_22_06_30130.jpg
MAIN: 2025-03-17 22:22:06,752 - INFO - duration: 0.6349979170045117
MAIN: 2025-03-17 22:22:06,752 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/22/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=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-03-17 22:22:36,300 - INFO - taking picture
MAIN: 2025-03-17 22:22:36,301 - INFO - we take 1905 photos in this while loop
MAIN: 2025-03-17 22:22:36,301 - INFO - /home/pi/Desktop/images/17032025/22/22/image_17032025_22_22_35_29511.jpg
MAIN: 2025-03-17 22:22:36,301 - INFO - duration: 0.6724081240026862
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 22:23: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=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-03-17 22:23:06,413 - INFO - taking picture
MAIN: 2025-03-17 22:23:06,413 - INFO - we take 1906 photos in this while loop
MAIN: 2025-03-17 22:23:06,414 - INFO - /home/pi/Desktop/images/17032025/22/22/image_17032025_22_23_06_30074.jpg
MAIN: 2025-03-17 22:23:06,414 - INFO - duration: 0.7107871359985438
MAIN: 2025-03-17 22:23:06,414 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/22/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:23:37,290 - INFO - taking picture
MAIN: 2025-03-17 22:23:37,291 - INFO - we take 1907 photos in this while loop
MAIN: 2025-03-17 22:23:37,291 - INFO - /home/pi/Desktop/images/17032025/22/23/image_17032025_22_23_36_30916.jpg
MAIN: 2025-03-17 22:23:37,291 - INFO - duration: 0.6717894269968383
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-03-17 22:24:06,266 - INFO - taking picture
MAIN: 2025-03-17 22:24:06,267 - INFO - we take 1908 photos in this while loop
MAIN: 2025-03-17 22:24:06,267 - INFO - /home/pi/Desktop/images/17032025/22/23/image_17032025_22_24_05_28988.jpg
MAIN: 2025-03-17 22:24:06,267 - INFO - duration: 0.6589318219994311
MAIN: 2025-03-17 22:24:06,267 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/22/24'
MAIN: 2025-03-17 22:24: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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:24:37,059 - INFO - taking picture
MAIN: 2025-03-17 22:24:37,060 - INFO - we take 1909 photos in this while loop
MAIN: 2025-03-17 22:24:37,060 - INFO - /home/pi/Desktop/images/17032025/22/24/image_17032025_22_24_36_30759.jpg
MAIN: 2025-03-17 22:24:37,060 - INFO - duration: 0.6920592189999297
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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=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-03-17 22:25:06,984 - INFO - 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-03-17 22:25:07,263 - INFO - taking picture
MAIN: 2025-03-17 22:25:07,264 - INFO - we take 1910 photos in this while loop
MAIN: 2025-03-17 22:25:07,264 - INFO - /home/pi/Desktop/images/17032025/22/24/image_17032025_22_25_06_30201.jpg
MAIN: 2025-03-17 22:25:07,264 - INFO - duration: 0.6949797920024139
MAIN: 2025-03-17 22:25:07,265 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/22/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=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-03-17 22:25:36,799 - INFO - taking picture
MAIN: 2025-03-17 22:25:36,800 - INFO - we take 1911 photos in this while loop
MAIN: 2025-03-17 22:25:36,800 - INFO - /home/pi/Desktop/images/17032025/22/25/image_17032025_22_25_36_29557.jpg
MAIN: 2025-03-17 22:25:36,800 - INFO - duration: 0.6733396869967692
[ WARN:0] global /tmp/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-03-17 22:26: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-03-17 22:26:06,887 - INFO - taking picture
MAIN: 2025-03-17 22:26:06,888 - INFO - we take 1912 photos in this while loop
MAIN: 2025-03-17 22:26:06,888 - INFO - /home/pi/Desktop/images/17032025/22/25/image_17032025_22_26_06_30116.jpg
MAIN: 2025-03-17 22:26:06,888 - INFO - duration: 0.6446698949948768
MAIN: 2025-03-17 22:26:06,889 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/22/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-03-17 22:26:36,419 - INFO - taking picture
MAIN: 2025-03-17 22:26:36,420 - INFO - we take 1913 photos in this while loop
MAIN: 2025-03-17 22:26:36,420 - INFO - /home/pi/Desktop/images/17032025/22/26/image_17032025_22_26_36_29511.jpg
MAIN: 2025-03-17 22:26:36,420 - INFO - duration: 0.6645464579996769
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 22:27:05,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=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-03-17 22:27:06,306 - INFO - taking picture
MAIN: 2025-03-17 22:27:06,307 - INFO - we take 1914 photos in this while loop
MAIN: 2025-03-17 22:27:06,307 - INFO - /home/pi/Desktop/images/17032025/22/26/image_17032025_22_27_05_29907.jpg
MAIN: 2025-03-17 22:27:06,307 - INFO - duration: 0.644748801998503
MAIN: 2025-03-17 22:27:06,308 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 22:27:37,121 - INFO - taking picture
MAIN: 2025-03-17 22:27:37,122 - INFO - we take 1915 photos in this while loop
MAIN: 2025-03-17 22:27:37,122 - INFO - /home/pi/Desktop/images/17032025/22/27/image_17032025_22_27_36_30785.jpg
MAIN: 2025-03-17 22:27:37,122 - INFO - duration: 0.6736936980014434
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 22:28: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=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-03-17 22:28:07,158 - INFO - taking picture
MAIN: 2025-03-17 22:28:07,159 - INFO - we take 1916 photos in this while loop
MAIN: 2025-03-17 22:28:07,159 - INFO - /home/pi/Desktop/images/17032025/22/27/image_17032025_22_28_06_30044.jpg
MAIN: 2025-03-17 22:28:07,159 - INFO - duration: 0.6663618750026217
MAIN: 2025-03-17 22:28:07,160 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/22/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-03-17 22:28:36,784 - INFO - taking picture
MAIN: 2025-03-17 22:28:36,784 - INFO - we take 1917 photos in this while loop
MAIN: 2025-03-17 22:28:36,784 - INFO - /home/pi/Desktop/images/17032025/22/28/image_17032025_22_28_36_29619.jpg
MAIN: 2025-03-17 22:28:36,785 - INFO - duration: 0.6723723440009053
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 22:29: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=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-03-17 22:29:06,685 - INFO - taking picture
MAIN: 2025-03-17 22:29:06,685 - INFO - we take 1918 photos in this while loop
MAIN: 2025-03-17 22:29:06,686 - INFO - /home/pi/Desktop/images/17032025/22/28/image_17032025_22_29_06_29933.jpg
MAIN: 2025-03-17 22:29:06,686 - INFO - duration: 0.6404441659979057
MAIN: 2025-03-17 22:29:06,686 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/22/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-03-17 22:29:36,303 - INFO - taking picture
MAIN: 2025-03-17 22:29:36,304 - INFO - we take 1919 photos in this while loop
MAIN: 2025-03-17 22:29:36,304 - INFO - /home/pi/Desktop/images/17032025/22/29/image_17032025_22_29_35_29621.jpg
MAIN: 2025-03-17 22:29:36,304 - INFO - duration: 0.6369830210023792
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:30:06,422 - INFO - taking picture
MAIN: 2025-03-17 22:30:06,423 - INFO - we take 1920 photos in this while loop
MAIN: 2025-03-17 22:30:06,423 - INFO - /home/pi/Desktop/images/17032025/22/29/image_17032025_22_30_06_30039.jpg
MAIN: 2025-03-17 22:30:06,423 - INFO - duration: 0.7167158330048551
MAIN: 2025-03-17 22:30:06,424 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/22/30'
MAIN: 2025-03-17 22:30:07,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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:30:37,244 - INFO - taking picture
MAIN: 2025-03-17 22:30:37,245 - INFO - we take 1921 photos in this while loop
MAIN: 2025-03-17 22:30:37,245 - INFO - /home/pi/Desktop/images/17032025/22/30/image_17032025_22_30_36_30830.jpg
MAIN: 2025-03-17 22:30:37,245 - INFO - duration: 0.7078962500017951
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 22:31:06,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=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-03-17 22:31:07,030 - INFO - taking picture
MAIN: 2025-03-17 22:31:07,031 - INFO - we take 1922 photos in this while loop
MAIN: 2025-03-17 22:31:07,031 - INFO - /home/pi/Desktop/images/17032025/22/30/image_17032025_22_31_06_29830.jpg
MAIN: 2025-03-17 22:31:07,031 - INFO - duration: 0.6638855729979696
MAIN: 2025-03-17 22:31:07,032 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/22/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=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-03-17 22:31:36,594 - INFO - taking picture
MAIN: 2025-03-17 22:31:36,595 - INFO - we take 1923 photos in this while loop
MAIN: 2025-03-17 22:31:36,595 - INFO - /home/pi/Desktop/images/17032025/22/31/image_17032025_22_31_36_29529.jpg
MAIN: 2025-03-17 22:31:36,595 - INFO - duration: 0.6987439580043429
Corrupt JPEG data: premature end of data segment
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=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-03-17 22:32:06,722 - INFO - taking picture
MAIN: 2025-03-17 22:32:06,722 - INFO - we take 1924 photos in this while loop
MAIN: 2025-03-17 22:32:06,722 - INFO - /home/pi/Desktop/images/17032025/22/31/image_17032025_22_32_06_30192.jpg
MAIN: 2025-03-17 22:32:06,723 - INFO - duration: 0.6340039580027224
MAIN: 2025-03-17 22:32:06,723 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/22/32'
MAIN: 2025-03-17 22:32:06,994 - INFO - 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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:32:37,512 - INFO - taking picture
MAIN: 2025-03-17 22:32:37,513 - INFO - we take 1925 photos in this while loop
MAIN: 2025-03-17 22:32:37,513 - INFO - /home/pi/Desktop/images/17032025/22/32/image_17032025_22_32_37_30731.jpg
MAIN: 2025-03-17 22:32:37,513 - INFO - duration: 0.6932764579978539
Corrupt JPEG data: premature end of data segment
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-03-17 22:33: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=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-03-17 22:33:06,313 - INFO - taking picture
MAIN: 2025-03-17 22:33:06,313 - INFO - we take 1926 photos in this while loop
MAIN: 2025-03-17 22:33:06,314 - INFO - /home/pi/Desktop/images/17032025/22/32/image_17032025_22_33_05_28799.jpg
MAIN: 2025-03-17 22:33:06,314 - INFO - duration: 0.6945755729975644
MAIN: 2025-03-17 22:33:06,314 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:33:37,155 - INFO - taking picture
MAIN: 2025-03-17 22:33:37,155 - INFO - we take 1927 photos in this while loop
MAIN: 2025-03-17 22:33:37,155 - INFO - /home/pi/Desktop/images/17032025/22/33/image_17032025_22_33_36_30846.jpg
MAIN: 2025-03-17 22:33:37,156 - INFO - duration: 0.6893688019990805
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-03-17 22:34:06,059 - INFO - 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-03-17 22:34:06,971 - INFO - taking picture
MAIN: 2025-03-17 22:34:06,972 - INFO - we take 1928 photos in this while loop
MAIN: 2025-03-17 22:34:06,972 - INFO - /home/pi/Desktop/images/17032025/22/33/image_17032025_22_34_06_29871.jpg
MAIN: 2025-03-17 22:34:06,972 - INFO - duration: 0.634622395002225
MAIN: 2025-03-17 22:34:06,973 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/22/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:34:36,619 - INFO - taking picture
MAIN: 2025-03-17 22:34:36,620 - INFO - we take 1929 photos in this while loop
MAIN: 2025-03-17 22:34:36,620 - INFO - /home/pi/Desktop/images/17032025/22/34/image_17032025_22_34_36_29587.jpg
MAIN: 2025-03-17 22:34:36,620 - INFO - duration: 0.6954565109990654
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 22:35:06,762 - INFO - 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-03-17 22:35:06,825 - INFO - taking picture
MAIN: 2025-03-17 22:35:06,826 - INFO - we take 1930 photos in this while loop
MAIN: 2025-03-17 22:35:06,827 - INFO - /home/pi/Desktop/images/17032025/22/34/image_17032025_22_35_06_30232.jpg
MAIN: 2025-03-17 22:35:06,828 - INFO - duration: 0.6701800520022516
MAIN: 2025-03-17 22:35:06,829 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/22/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:35:36,272 - INFO - taking picture
MAIN: 2025-03-17 22:35:36,272 - INFO - we take 1931 photos in this while loop
MAIN: 2025-03-17 22:35:36,272 - INFO - /home/pi/Desktop/images/17032025/22/35/image_17032025_22_35_35_29420.jpg
MAIN: 2025-03-17 22:35:36,273 - INFO - duration: 0.694697865001217
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:36:06,241 - INFO - taking picture
MAIN: 2025-03-17 22:36:06,242 - INFO - we take 1932 photos in this while loop
MAIN: 2025-03-17 22:36:06,242 - INFO - /home/pi/Desktop/images/17032025/22/35/image_17032025_22_36_05_30028.jpg
MAIN: 2025-03-17 22:36:06,242 - INFO - duration: 0.6358582809989457
MAIN: 2025-03-17 22:36:06,243 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/22/36'
MAIN: 2025-03-17 22:36: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=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-03-17 22:36:37,082 - INFO - taking picture
MAIN: 2025-03-17 22:36:37,083 - INFO - we take 1933 photos in this while loop
MAIN: 2025-03-17 22:36:37,083 - INFO - /home/pi/Desktop/images/17032025/22/36/image_17032025_22_36_36_30782.jpg
MAIN: 2025-03-17 22:36:37,083 - INFO - duration: 0.6937051040004008
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 22:37:06,517 - INFO - 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-03-17 22:37:07,262 - INFO - taking picture
MAIN: 2025-03-17 22:37:07,263 - INFO - we take 1934 photos in this while loop
MAIN: 2025-03-17 22:37:07,263 - INFO - /home/pi/Desktop/images/17032025/22/36/image_17032025_22_37_06_30210.jpg
MAIN: 2025-03-17 22:37:07,263 - INFO - duration: 0.6629908849936328
MAIN: 2025-03-17 22:37:07,264 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/22/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=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-03-17 22:37:36,961 - INFO - taking picture
MAIN: 2025-03-17 22:37:36,962 - INFO - we take 1935 photos in this while loop
MAIN: 2025-03-17 22:37:36,962 - INFO - /home/pi/Desktop/images/17032025/22/37/image_17032025_22_37_36_29660.jpg
MAIN: 2025-03-17 22:37:36,962 - INFO - duration: 0.7012298430054216
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-03-17 22:38: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=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-03-17 22:38:06,969 - INFO - taking picture
MAIN: 2025-03-17 22:38:06,969 - INFO - we take 1936 photos in this while loop
MAIN: 2025-03-17 22:38:06,970 - INFO - /home/pi/Desktop/images/17032025/22/37/image_17032025_22_38_06_30051.jpg
MAIN: 2025-03-17 22:38:06,970 - INFO - duration: 0.657082186997286
MAIN: 2025-03-17 22:38:06,970 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/22/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=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-03-17 22:38:36,586 - INFO - taking picture
MAIN: 2025-03-17 22:38:36,587 - INFO - we take 1937 photos in this while loop
MAIN: 2025-03-17 22:38:36,587 - INFO - /home/pi/Desktop/images/17032025/22/38/image_17032025_22_38_36_29595.jpg
MAIN: 2025-03-17 22:38:36,587 - INFO - duration: 0.6781722390005598
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 22:39:05,847 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:39:06,522 - INFO - taking picture
MAIN: 2025-03-17 22:39:06,523 - INFO - we take 1938 photos in this while loop
MAIN: 2025-03-17 22:39:06,523 - INFO - /home/pi/Desktop/images/17032025/22/38/image_17032025_22_39_06_29898.jpg
MAIN: 2025-03-17 22:39:06,524 - INFO - duration: 0.7157373440059018
MAIN: 2025-03-17 22:39:06,524 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:39:37,240 - INFO - taking picture
MAIN: 2025-03-17 22:39:37,241 - INFO - we take 1939 photos in this while loop
MAIN: 2025-03-17 22:39:37,241 - INFO - /home/pi/Desktop/images/17032025/22/39/image_17032025_22_39_36_30788.jpg
MAIN: 2025-03-17 22:39:37,241 - INFO - duration: 0.6453430730034597
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=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-03-17 22:40:06,363 - INFO - taking picture
MAIN: 2025-03-17 22:40:06,364 - INFO - we take 1940 photos in this while loop
MAIN: 2025-03-17 22:40:06,364 - INFO - /home/pi/Desktop/images/17032025/22/39/image_17032025_22_40_05_29058.jpg
MAIN: 2025-03-17 22:40:06,364 - INFO - duration: 0.709373436999158
MAIN: 2025-03-17 22:40:06,365 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/22/40'
MAIN: 2025-03-17 22:40:06,739 - INFO - 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=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-03-17 22:40:37,198 - INFO - taking picture
MAIN: 2025-03-17 22:40:37,198 - INFO - we take 1941 photos in this while loop
MAIN: 2025-03-17 22:40:37,199 - INFO - /home/pi/Desktop/images/17032025/22/40/image_17032025_22_40_36_30902.jpg
MAIN: 2025-03-17 22:40:37,199 - INFO - duration: 0.641815625000163
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 22:41:05,996 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:41:07,014 - INFO - taking picture
MAIN: 2025-03-17 22:41:07,015 - INFO - we take 1942 photos in this while loop
MAIN: 2025-03-17 22:41:07,015 - INFO - /home/pi/Desktop/images/17032025/22/40/image_17032025_22_41_06_29815.jpg
MAIN: 2025-03-17 22:41:07,015 - INFO - duration: 0.6429004689998692
MAIN: 2025-03-17 22:41:07,016 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/22/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:41:36,481 - INFO - taking picture
MAIN: 2025-03-17 22:41:36,481 - INFO - we take 1943 photos in this while loop
MAIN: 2025-03-17 22:41:36,482 - INFO - /home/pi/Desktop/images/17032025/22/41/image_17032025_22_41_36_29451.jpg
MAIN: 2025-03-17 22:41:36,482 - INFO - duration: 0.6580546349941869
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 22:42:06,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 ! 
MAIN: 2025-03-17 22:42:06,609 - INFO - taking picture
MAIN: 2025-03-17 22:42:06,610 - INFO - we take 1944 photos in this while loop
MAIN: 2025-03-17 22:42:06,610 - INFO - /home/pi/Desktop/images/17032025/22/41/image_17032025_22_42_06_30115.jpg
MAIN: 2025-03-17 22:42:06,611 - INFO - duration: 0.6716091139969649
MAIN: 2025-03-17 22:42:06,611 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:42:37,499 - INFO - taking picture
MAIN: 2025-03-17 22:42:37,500 - INFO - we take 1945 photos in this while loop
MAIN: 2025-03-17 22:42:37,500 - INFO - /home/pi/Desktop/images/17032025/22/42/image_17032025_22_42_37_30876.jpg
MAIN: 2025-03-17 22:42:37,500 - INFO - duration: 0.6847551560058491
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-03-17 22:43: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=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-03-17 22:43:07,399 - INFO - taking picture
MAIN: 2025-03-17 22:43:07,400 - INFO - we take 1946 photos in this while loop
MAIN: 2025-03-17 22:43:07,400 - INFO - /home/pi/Desktop/images/17032025/22/42/image_17032025_22_43_07_29941.jpg
MAIN: 2025-03-17 22:43:07,400 - INFO - duration: 0.6432443220110144
MAIN: 2025-03-17 22:43:07,401 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:43:37,061 - INFO - taking picture
MAIN: 2025-03-17 22:43:37,061 - INFO - we take 1947 photos in this while loop
MAIN: 2025-03-17 22:43:37,062 - INFO - /home/pi/Desktop/images/17032025/22/43/image_17032025_22_43_36_29628.jpg
MAIN: 2025-03-17 22:43:37,062 - INFO - duration: 0.6762180720106699
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 22:44:05,837 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:44:07,053 - INFO - taking picture
MAIN: 2025-03-17 22:44:07,053 - INFO - we take 1948 photos in this while loop
MAIN: 2025-03-17 22:44:07,054 - INFO - /home/pi/Desktop/images/17032025/22/43/image_17032025_22_44_06_30033.jpg
MAIN: 2025-03-17 22:44:07,054 - INFO - duration: 0.634876094001811
MAIN: 2025-03-17 22:44:07,054 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 22:44:36,658 - INFO - taking picture
MAIN: 2025-03-17 22:44:36,659 - INFO - we take 1949 photos in this while loop
MAIN: 2025-03-17 22:44:36,659 - INFO - /home/pi/Desktop/images/17032025/22/44/image_17032025_22_44_36_29604.jpg
MAIN: 2025-03-17 22:44:36,659 - INFO - duration: 0.6357647919940064
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 22:45:06,239 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:45:06,757 - INFO - taking picture
MAIN: 2025-03-17 22:45:06,758 - INFO - we take 1950 photos in this while loop
MAIN: 2025-03-17 22:45:06,758 - INFO - /home/pi/Desktop/images/17032025/22/44/image_17032025_22_45_06_30051.jpg
MAIN: 2025-03-17 22:45:06,759 - INFO - duration: 0.6833209370088298
MAIN: 2025-03-17 22:45:06,760 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:45:36,262 - INFO - taking picture
MAIN: 2025-03-17 22:45:36,263 - INFO - we take 1951 photos in this while loop
MAIN: 2025-03-17 22:45:36,263 - INFO - /home/pi/Desktop/images/17032025/22/45/image_17032025_22_45_35_29548.jpg
MAIN: 2025-03-17 22:45:36,263 - INFO - duration: 0.6390913540089969
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 22:46:06,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:46:07,343 - INFO - taking picture
MAIN: 2025-03-17 22:46:07,344 - INFO - we take 1952 photos in this while loop
MAIN: 2025-03-17 22:46:07,344 - INFO - /home/pi/Desktop/images/17032025/22/45/image_17032025_22_46_06_31029.jpg
MAIN: 2025-03-17 22:46:07,344 - INFO - duration: 0.6908506759937154
MAIN: 2025-03-17 22:46:07,344 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:46:36,936 - INFO - taking picture
MAIN: 2025-03-17 22:46:36,936 - INFO - we take 1953 photos in this while loop
MAIN: 2025-03-17 22:46:36,936 - INFO - /home/pi/Desktop/images/17032025/22/46/image_17032025_22_46_36_29600.jpg
MAIN: 2025-03-17 22:46:36,937 - INFO - duration: 0.6827902079967316
Corrupt JPEG data: premature end of data segment
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-03-17 22:47: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=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-03-17 22:47:06,874 - INFO - taking picture
MAIN: 2025-03-17 22:47:06,875 - INFO - we take 1954 photos in this while loop
MAIN: 2025-03-17 22:47:06,875 - INFO - /home/pi/Desktop/images/17032025/22/46/image_17032025_22_47_06_29926.jpg
MAIN: 2025-03-17 22:47:06,875 - INFO - duration: 0.6948205729859183
MAIN: 2025-03-17 22:47:06,876 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:47:36,523 - INFO - taking picture
MAIN: 2025-03-17 22:47:36,524 - INFO - we take 1955 photos in this while loop
MAIN: 2025-03-17 22:47:36,524 - INFO - /home/pi/Desktop/images/17032025/22/47/image_17032025_22_47_36_29671.jpg
MAIN: 2025-03-17 22:47:36,524 - INFO - duration: 0.6725191660079872
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 22:48:06,535 - INFO - taking picture
MAIN: 2025-03-17 22:48:06,535 - INFO - we take 1956 photos in this while loop
MAIN: 2025-03-17 22:48:06,535 - INFO - /home/pi/Desktop/images/17032025/22/47/image_17032025_22_48_06_30042.jpg
MAIN: 2025-03-17 22:48:06,536 - INFO - duration: 0.6416616670030635
MAIN: 2025-03-17 22:48:06,536 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/22/48'
MAIN: 2025-03-17 22:48:06,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:48:37,363 - INFO - taking picture
MAIN: 2025-03-17 22:48:37,364 - INFO - we take 1957 photos in this while loop
MAIN: 2025-03-17 22:48:37,364 - INFO - /home/pi/Desktop/images/17032025/22/48/image_17032025_22_48_36_30778.jpg
MAIN: 2025-03-17 22:48:37,364 - INFO - duration: 0.6922006249951664
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 22:49: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:49:07,286 - INFO - taking picture
MAIN: 2025-03-17 22:49:07,286 - INFO - we take 1958 photos in this while loop
MAIN: 2025-03-17 22:49:07,286 - INFO - /home/pi/Desktop/images/17032025/22/48/image_17032025_22_49_06_29922.jpg
MAIN: 2025-03-17 22:49:07,286 - INFO - duration: 0.6915259369998239
MAIN: 2025-03-17 22:49:07,287 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/22/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=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-03-17 22:49:36,934 - INFO - taking picture
MAIN: 2025-03-17 22:49:36,935 - INFO - we take 1959 photos in this while loop
MAIN: 2025-03-17 22:49:36,935 - INFO - /home/pi/Desktop/images/17032025/22/49/image_17032025_22_49_36_29648.jpg
MAIN: 2025-03-17 22:49:36,935 - INFO - duration: 0.6911780210066354
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 22:50:06,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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:50:07,182 - INFO - taking picture
MAIN: 2025-03-17 22:50:07,183 - INFO - we take 1960 photos in this while loop
MAIN: 2025-03-17 22:50:07,184 - INFO - /home/pi/Desktop/images/17032025/22/49/image_17032025_22_50_06_30269.jpg
MAIN: 2025-03-17 22:50:07,185 - INFO - duration: 0.6715704160014866
MAIN: 2025-03-17 22:50:07,186 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/22/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:50:36,695 - INFO - taking picture
MAIN: 2025-03-17 22:50:36,695 - INFO - we take 1961 photos in this while loop
MAIN: 2025-03-17 22:50:36,695 - INFO - /home/pi/Desktop/images/17032025/22/50/image_17032025_22_50_36_29492.jpg
MAIN: 2025-03-17 22:50:36,696 - INFO - duration: 0.6904107809968991
Corrupt JPEG data: premature end of data segment
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-03-17 22:51:05,965 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:51:06,656 - INFO - taking picture
MAIN: 2025-03-17 22:51:06,657 - INFO - we take 1962 photos in this while loop
MAIN: 2025-03-17 22:51:06,657 - INFO - /home/pi/Desktop/images/17032025/22/50/image_17032025_22_51_06_29953.jpg
MAIN: 2025-03-17 22:51:06,657 - INFO - duration: 0.6983623440028168
MAIN: 2025-03-17 22:51:06,658 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/22/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-03-17 22:51:36,336 - INFO - taking picture
MAIN: 2025-03-17 22:51:36,337 - INFO - we take 1963 photos in this while loop
MAIN: 2025-03-17 22:51:36,337 - INFO - /home/pi/Desktop/images/17032025/22/51/image_17032025_22_51_35_29682.jpg
MAIN: 2025-03-17 22:51:36,337 - INFO - duration: 0.6962255200051004
[ WARN:0] global /tmp/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-03-17 22:52:06,431 - INFO - taking picture
MAIN: 2025-03-17 22:52:06,432 - INFO - we take 1964 photos in this while loop
MAIN: 2025-03-17 22:52:06,432 - INFO - /home/pi/Desktop/images/17032025/22/51/image_17032025_22_52_06_30128.jpg
MAIN: 2025-03-17 22:52:06,432 - INFO - duration: 0.662937447996228
MAIN: 2025-03-17 22:52:06,433 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/22/52'
MAIN: 2025-03-17 22:52:06,671 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:52:37,245 - INFO - taking picture
MAIN: 2025-03-17 22:52:37,245 - INFO - we take 1965 photos in this while loop
MAIN: 2025-03-17 22:52:37,245 - INFO - /home/pi/Desktop/images/17032025/22/52/image_17032025_22_52_36_30764.jpg
MAIN: 2025-03-17 22:52:37,246 - INFO - duration: 0.712097083000117
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 22:53: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:53:07,184 - INFO - taking picture
MAIN: 2025-03-17 22:53:07,185 - INFO - we take 1966 photos in this while loop
MAIN: 2025-03-17 22:53:07,185 - INFO - /home/pi/Desktop/images/17032025/22/52/image_17032025_22_53_06_29938.jpg
MAIN: 2025-03-17 22:53:07,185 - INFO - duration: 0.7131140619894722
MAIN: 2025-03-17 22:53:07,185 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/22/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=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-03-17 22:53:36,844 - INFO - taking picture
MAIN: 2025-03-17 22:53:36,844 - INFO - we take 1967 photos in this while loop
MAIN: 2025-03-17 22:53:36,844 - INFO - /home/pi/Desktop/images/17032025/22/53/image_17032025_22_53_36_29676.jpg
MAIN: 2025-03-17 22:53:36,845 - INFO - duration: 0.6969534370000474
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-17 22:54:06,093 - INFO - 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-03-17 22:54:06,801 - INFO - taking picture
MAIN: 2025-03-17 22:54:06,801 - INFO - we take 1968 photos in this while loop
MAIN: 2025-03-17 22:54:06,802 - INFO - /home/pi/Desktop/images/17032025/22/53/image_17032025_22_54_06_29969.jpg
MAIN: 2025-03-17 22:54:06,802 - INFO - duration: 0.6848932810098631
MAIN: 2025-03-17 22:54:06,802 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:54:36,334 - INFO - taking picture
MAIN: 2025-03-17 22:54:36,335 - INFO - we take 1969 photos in this while loop
MAIN: 2025-03-17 22:54:36,335 - INFO - /home/pi/Desktop/images/17032025/22/54/image_17032025_22_54_35_29522.jpg
MAIN: 2025-03-17 22:54:36,335 - INFO - duration: 0.6956054170004791
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-03-17 22:55: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 ! 
MAIN: 2025-03-17 22:55:06,484 - INFO - taking picture
MAIN: 2025-03-17 22:55:06,484 - INFO - we take 1970 photos in this while loop
MAIN: 2025-03-17 22:55:06,485 - INFO - /home/pi/Desktop/images/17032025/22/54/image_17032025_22_55_06_30135.jpg
MAIN: 2025-03-17 22:55:06,485 - INFO - duration: 0.7097440630022902
MAIN: 2025-03-17 22:55:06,486 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:55:37,226 - INFO - taking picture
MAIN: 2025-03-17 22:55:37,227 - INFO - we take 1971 photos in this while loop
MAIN: 2025-03-17 22:55:37,227 - INFO - /home/pi/Desktop/images/17032025/22/55/image_17032025_22_55_36_30804.jpg
MAIN: 2025-03-17 22:55:37,227 - INFO - duration: 0.6475427599943941
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 22:56:06,825 - INFO - 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-03-17 22:56:07,180 - INFO - taking picture
MAIN: 2025-03-17 22:56:07,181 - INFO - we take 1972 photos in this while loop
MAIN: 2025-03-17 22:56:07,181 - INFO - /home/pi/Desktop/images/17032025/22/55/image_17032025_22_56_06_29921.jpg
MAIN: 2025-03-17 22:56:07,181 - INFO - duration: 0.679930989004788
MAIN: 2025-03-17 22:56:07,182 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:56:36,816 - INFO - taking picture
MAIN: 2025-03-17 22:56:36,816 - INFO - we take 1973 photos in this while loop
MAIN: 2025-03-17 22:56:36,817 - INFO - /home/pi/Desktop/images/17032025/22/56/image_17032025_22_56_36_29622.jpg
MAIN: 2025-03-17 22:56:36,817 - INFO - duration: 0.6924056249990826
Corrupt JPEG data: premature end of data segment
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-03-17 22:57:06,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 ! 
MAIN: 2025-03-17 22:57:06,786 - INFO - taking picture
MAIN: 2025-03-17 22:57:06,786 - INFO - we take 1974 photos in this while loop
MAIN: 2025-03-17 22:57:06,786 - INFO - /home/pi/Desktop/images/17032025/22/56/image_17032025_22_57_06_29973.jpg
MAIN: 2025-03-17 22:57:06,787 - INFO - duration: 0.688456457995926
MAIN: 2025-03-17 22:57:06,787 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 22:57:36,398 - INFO - taking picture
MAIN: 2025-03-17 22:57:36,398 - INFO - we take 1975 photos in this while loop
MAIN: 2025-03-17 22:57:36,399 - INFO - /home/pi/Desktop/images/17032025/22/57/image_17032025_22_57_36_29600.jpg
MAIN: 2025-03-17 22:57:36,399 - INFO - duration: 0.7003547399945091
Corrupt JPEG data: premature end of data segment
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-03-17 22:58: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=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-03-17 22:58:06,510 - INFO - taking picture
MAIN: 2025-03-17 22:58:06,511 - INFO - we take 1976 photos in this while loop
MAIN: 2025-03-17 22:58:06,511 - INFO - /home/pi/Desktop/images/17032025/22/57/image_17032025_22_58_06_30091.jpg
MAIN: 2025-03-17 22:58:06,511 - INFO - duration: 0.7215077599976212
MAIN: 2025-03-17 22:58:06,512 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/22/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=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-03-17 22:58:37,276 - INFO - taking picture
MAIN: 2025-03-17 22:58:37,277 - INFO - we take 1977 photos in this while loop
MAIN: 2025-03-17 22:58:37,277 - INFO - /home/pi/Desktop/images/17032025/22/58/image_17032025_22_58_36_30851.jpg
MAIN: 2025-03-17 22:58:37,277 - INFO - duration: 0.6356133859953843
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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-03-17 22:59: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=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-03-17 22:59:07,028 - INFO - taking picture
MAIN: 2025-03-17 22:59:07,028 - INFO - we take 1978 photos in this while loop
MAIN: 2025-03-17 22:59:07,028 - INFO - /home/pi/Desktop/images/17032025/22/58/image_17032025_22_59_06_29746.jpg
MAIN: 2025-03-17 22:59:07,029 - INFO - duration: 0.640053021008498
MAIN: 2025-03-17 22:59:07,029 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/17032025/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=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-03-17 22:59:36,557 - INFO - taking picture
MAIN: 2025-03-17 22:59:36,557 - INFO - we take 1979 photos in this while loop
MAIN: 2025-03-17 22:59:36,558 - INFO - /home/pi/Desktop/images/17032025/22/59/image_17032025_22_59_36_29519.jpg
MAIN: 2025-03-17 22:59:36,558 - INFO - duration: 0.6494141659932211
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:00:06,644 - INFO - taking picture
MAIN: 2025-03-17 23:00:06,645 - INFO - we take 1980 photos in this while loop
MAIN: 2025-03-17 23:00:06,645 - INFO - /home/pi/Desktop/images/17032025/22/59/image_17032025_23_00_06_30022.jpg
MAIN: 2025-03-17 23:00:06,645 - INFO - duration: 0.7147604170022532
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:00:37,472 - INFO - taking picture
MAIN: 2025-03-17 23:00:37,472 - INFO - we take 1981 photos in this while loop
MAIN: 2025-03-17 23:00:37,472 - INFO - /home/pi/Desktop/images/17032025/23/00/image_17032025_23_00_37_30862.jpg
MAIN: 2025-03-17 23:00:37,473 - INFO - duration: 0.6792677600024035
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:01:07,246 - INFO - taking picture
MAIN: 2025-03-17 23:01:07,246 - INFO - we take 1982 photos in this while loop
MAIN: 2025-03-17 23:01:07,247 - INFO - /home/pi/Desktop/images/17032025/23/00/image_17032025_23_01_06_29784.jpg
MAIN: 2025-03-17 23:01:07,247 - INFO - duration: 0.6684620830055792
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:01:36,774 - INFO - taking picture
MAIN: 2025-03-17 23:01:36,774 - INFO - we take 1983 photos in this while loop
MAIN: 2025-03-17 23:01:36,774 - INFO - /home/pi/Desktop/images/17032025/23/01/image_17032025_23_01_36_29558.jpg
MAIN: 2025-03-17 23:01:36,775 - INFO - duration: 0.6377624990127515
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:02:06,802 - INFO - taking picture
MAIN: 2025-03-17 23:02:06,803 - INFO - we take 1984 photos in this while loop
MAIN: 2025-03-17 23:02:06,803 - INFO - /home/pi/Desktop/images/17032025/23/01/image_17032025_23_02_06_30031.jpg
MAIN: 2025-03-17 23:02:06,803 - INFO - duration: 0.6350368749990594
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:02:36,425 - INFO - taking picture
MAIN: 2025-03-17 23:02:36,426 - INFO - we take 1985 photos in this while loop
MAIN: 2025-03-17 23:02:36,426 - INFO - /home/pi/Desktop/images/17032025/23/02/image_17032025_23_02_36_29616.jpg
MAIN: 2025-03-17 23:02:36,426 - INFO - duration: 0.6413618229998974
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:03:07,347 - INFO - taking picture
MAIN: 2025-03-17 23:03:07,348 - INFO - we take 1986 photos in this while loop
MAIN: 2025-03-17 23:03:07,348 - INFO - /home/pi/Desktop/images/17032025/23/02/image_17032025_23_03_06_30878.jpg
MAIN: 2025-03-17 23:03:07,348 - INFO - duration: 0.6847950000083074
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:03:36,903 - INFO - taking picture
MAIN: 2025-03-17 23:03:36,904 - INFO - we take 1987 photos in this while loop
MAIN: 2025-03-17 23:03:36,904 - INFO - /home/pi/Desktop/images/17032025/23/03/image_17032025_23_03_36_29568.jpg
MAIN: 2025-03-17 23:03:36,904 - INFO - duration: 0.6725228639988927
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:04:06,717 - INFO - taking picture
MAIN: 2025-03-17 23:04:06,717 - INFO - we take 1988 photos in this while loop
MAIN: 2025-03-17 23:04:06,718 - INFO - /home/pi/Desktop/images/17032025/23/03/image_17032025_23_04_06_29850.jpg
MAIN: 2025-03-17 23:04:06,718 - INFO - duration: 0.6350441660033539
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:04:36,346 - INFO - taking picture
MAIN: 2025-03-17 23:04:36,346 - INFO - we take 1989 photos in this while loop
MAIN: 2025-03-17 23:04:36,346 - INFO - /home/pi/Desktop/images/17032025/23/04/image_17032025_23_04_35_29596.jpg
MAIN: 2025-03-17 23:04:36,347 - INFO - duration: 0.6669474480004283
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:05:06,416 - INFO - taking picture
MAIN: 2025-03-17 23:05:06,417 - INFO - we take 1990 photos in this while loop
MAIN: 2025-03-17 23:05:06,417 - INFO - /home/pi/Desktop/images/17032025/23/04/image_17032025_23_05_06_30057.jpg
MAIN: 2025-03-17 23:05:06,418 - INFO - duration: 0.6801225509989308
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:05:37,305 - INFO - taking picture
MAIN: 2025-03-17 23:05:37,306 - INFO - we take 1991 photos in this while loop
MAIN: 2025-03-17 23:05:37,306 - INFO - /home/pi/Desktop/images/17032025/23/05/image_17032025_23_05_36_30870.jpg
MAIN: 2025-03-17 23:05:37,306 - INFO - duration: 0.6985817180102458
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:06:07,074 - INFO - taking picture
MAIN: 2025-03-17 23:06:07,074 - INFO - we take 1992 photos in this while loop
MAIN: 2025-03-17 23:06:07,074 - INFO - /home/pi/Desktop/images/17032025/23/05/image_17032025_23_06_06_29779.jpg
MAIN: 2025-03-17 23:06:07,075 - INFO - duration: 0.686981562001165
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:06:36,549 - INFO - taking picture
MAIN: 2025-03-17 23:06:36,550 - INFO - we take 1993 photos in this while loop
MAIN: 2025-03-17 23:06:36,550 - INFO - /home/pi/Desktop/images/17032025/23/06/image_17032025_23_06_36_29463.jpg
MAIN: 2025-03-17 23:06:36,550 - INFO - duration: 0.6991200000047684
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:07:06,332 - INFO - taking picture
MAIN: 2025-03-17 23:07:06,333 - INFO - we take 1994 photos in this while loop
MAIN: 2025-03-17 23:07:06,333 - INFO - /home/pi/Desktop/images/17032025/23/06/image_17032025_23_07_05_29811.jpg
MAIN: 2025-03-17 23:07:06,333 - INFO - duration: 0.6705366139940452
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:07:37,218 - INFO - taking picture
MAIN: 2025-03-17 23:07:37,219 - INFO - we take 1995 photos in this while loop
MAIN: 2025-03-17 23:07:37,219 - INFO - /home/pi/Desktop/images/17032025/23/07/image_17032025_23_07_36_30864.jpg
MAIN: 2025-03-17 23:07:37,219 - INFO - duration: 0.6921194269962143
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:08:07,197 - INFO - taking picture
MAIN: 2025-03-17 23:08:07,198 - INFO - we take 1996 photos in this while loop
MAIN: 2025-03-17 23:08:07,198 - INFO - /home/pi/Desktop/images/17032025/23/07/image_17032025_23_08_06_29969.jpg
MAIN: 2025-03-17 23:08:07,198 - INFO - duration: 0.7020670829951996
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:08:36,838 - INFO - taking picture
MAIN: 2025-03-17 23:08:36,839 - INFO - we take 1997 photos in this while loop
MAIN: 2025-03-17 23:08:36,839 - INFO - /home/pi/Desktop/images/17032025/23/08/image_17032025_23_08_36_29651.jpg
MAIN: 2025-03-17 23:08:36,839 - INFO - duration: 0.6915038540028036
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:09:06,603 - INFO - taking picture
MAIN: 2025-03-17 23:09:06,604 - INFO - we take 1998 photos in this while loop
MAIN: 2025-03-17 23:09:06,604 - INFO - /home/pi/Desktop/images/17032025/23/08/image_17032025_23_09_06_29763.jpg
MAIN: 2025-03-17 23:09:06,604 - INFO - duration: 0.6933874989917967
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:09:37,365 - INFO - taking picture
MAIN: 2025-03-17 23:09:37,366 - INFO - we take 1999 photos in this while loop
MAIN: 2025-03-17 23:09:37,366 - INFO - /home/pi/Desktop/images/17032025/23/09/image_17032025_23_09_36_30740.jpg
MAIN: 2025-03-17 23:09:37,366 - INFO - duration: 0.7148440099990694
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:10:06,427 - INFO - taking picture
MAIN: 2025-03-17 23:10:06,428 - INFO - we take 2000 photos in this while loop
MAIN: 2025-03-17 23:10:06,428 - INFO - /home/pi/Desktop/images/17032025/23/09/image_17032025_23_10_06_29097.jpg
MAIN: 2025-03-17 23:10:06,429 - INFO - duration: 0.6799742180010071
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:10:37,350 - INFO - taking picture
MAIN: 2025-03-17 23:10:37,351 - INFO - we take 2001 photos in this while loop
MAIN: 2025-03-17 23:10:37,351 - INFO - /home/pi/Desktop/images/17032025/23/10/image_17032025_23_10_36_30895.jpg
MAIN: 2025-03-17 23:10:37,351 - INFO - duration: 0.7067364059912506
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:11:07,080 - INFO - taking picture
MAIN: 2025-03-17 23:11:07,080 - INFO - we take 2002 photos in this while loop
MAIN: 2025-03-17 23:11:07,080 - INFO - /home/pi/Desktop/images/17032025/23/10/image_17032025_23_11_06_29724.jpg
MAIN: 2025-03-17 23:11:07,081 - INFO - duration: 0.7118718230049126
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:11:36,621 - INFO - taking picture
MAIN: 2025-03-17 23:11:36,622 - INFO - we take 2003 photos in this while loop
MAIN: 2025-03-17 23:11:36,622 - INFO - /home/pi/Desktop/images/17032025/23/11/image_17032025_23_11_36_29550.jpg
MAIN: 2025-03-17 23:11:36,622 - INFO - duration: 0.7027453119953861
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:12:06,509 - INFO - taking picture
MAIN: 2025-03-17 23:12:06,510 - INFO - we take 2004 photos in this while loop
MAIN: 2025-03-17 23:12:06,510 - INFO - /home/pi/Desktop/images/17032025/23/11/image_17032025_23_12_06_29893.jpg
MAIN: 2025-03-17 23:12:06,510 - INFO - duration: 0.6968168750026962
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:12:37,308 - INFO - taking picture
MAIN: 2025-03-17 23:12:37,308 - INFO - we take 2005 photos in this while loop
MAIN: 2025-03-17 23:12:37,308 - INFO - /home/pi/Desktop/images/17032025/23/12/image_17032025_23_12_36_30831.jpg
MAIN: 2025-03-17 23:12:37,309 - INFO - duration: 0.6642738020018442
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:13:07,070 - INFO - taking picture
MAIN: 2025-03-17 23:13:07,070 - INFO - we take 2006 photos in this while loop
MAIN: 2025-03-17 23:13:07,071 - INFO - /home/pi/Desktop/images/17032025/23/12/image_17032025_23_13_06_29739.jpg
MAIN: 2025-03-17 23:13:07,071 - INFO - duration: 0.6867202600114979
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:13:36,654 - INFO - taking picture
MAIN: 2025-03-17 23:13:36,654 - INFO - we take 2007 photos in this while loop
MAIN: 2025-03-17 23:13:36,654 - INFO - /home/pi/Desktop/images/17032025/23/13/image_17032025_23_13_36_29568.jpg
MAIN: 2025-03-17 23:13:36,655 - INFO - duration: 0.701948229005211
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:14:06,773 - INFO - taking picture
MAIN: 2025-03-17 23:14:06,773 - INFO - we take 2008 photos in this while loop
MAIN: 2025-03-17 23:14:06,773 - INFO - /home/pi/Desktop/images/17032025/23/13/image_17032025_23_14_06_30116.jpg
MAIN: 2025-03-17 23:14:06,774 - INFO - duration: 0.7046151560061844
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:14:36,478 - INFO - taking picture
MAIN: 2025-03-17 23:14:36,478 - INFO - we take 2009 photos in this while loop
MAIN: 2025-03-17 23:14:36,479 - INFO - /home/pi/Desktop/images/17032025/23/14/image_17032025_23_14_36_29710.jpg
MAIN: 2025-03-17 23:14:36,479 - INFO - duration: 0.6997267709957669
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:15:06,626 - INFO - taking picture
MAIN: 2025-03-17 23:15:06,627 - INFO - we take 2010 photos in this while loop
MAIN: 2025-03-17 23:15:06,628 - INFO - /home/pi/Desktop/images/17032025/23/14/image_17032025_23_15_06_30138.jpg
MAIN: 2025-03-17 23:15:06,629 - INFO - duration: 0.7111931770050433
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:15:36,345 - INFO - taking picture
MAIN: 2025-03-17 23:15:36,346 - INFO - we take 2011 photos in this while loop
MAIN: 2025-03-17 23:15:36,346 - INFO - /home/pi/Desktop/images/17032025/23/15/image_17032025_23_15_35_29719.jpg
MAIN: 2025-03-17 23:15:36,346 - INFO - duration: 0.7089266659895657
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:16:06,306 - INFO - taking picture
MAIN: 2025-03-17 23:16:06,307 - INFO - we take 2012 photos in this while loop
MAIN: 2025-03-17 23:16:06,307 - INFO - /home/pi/Desktop/images/17032025/23/15/image_17032025_23_16_05_29958.jpg
MAIN: 2025-03-17 23:16:06,307 - INFO - duration: 0.7121033329894999
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:16:37,153 - INFO - taking picture
MAIN: 2025-03-17 23:16:37,154 - INFO - we take 2013 photos in this while loop
MAIN: 2025-03-17 23:16:37,154 - INFO - /home/pi/Desktop/images/17032025/23/16/image_17032025_23_16_36_30913.jpg
MAIN: 2025-03-17 23:16:37,154 - INFO - duration: 0.6451673429983202
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:17:06,899 - INFO - taking picture
MAIN: 2025-03-17 23:17:06,900 - INFO - we take 2014 photos in this while loop
MAIN: 2025-03-17 23:17:06,900 - INFO - /home/pi/Desktop/images/17032025/23/16/image_17032025_23_17_06_29740.jpg
MAIN: 2025-03-17 23:17:06,900 - INFO - duration: 0.6506874479964608
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:17:36,477 - INFO - taking picture
MAIN: 2025-03-17 23:17:36,478 - INFO - we take 2015 photos in this while loop
MAIN: 2025-03-17 23:17:36,478 - INFO - /home/pi/Desktop/images/17032025/23/17/image_17032025_23_17_36_29579.jpg
MAIN: 2025-03-17 23:17:36,478 - INFO - duration: 0.6488993220118573
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:18:06,637 - INFO - taking picture
MAIN: 2025-03-17 23:18:06,637 - INFO - we take 2016 photos in this while loop
MAIN: 2025-03-17 23:18:06,638 - INFO - /home/pi/Desktop/images/17032025/23/17/image_17032025_23_18_06_30116.jpg
MAIN: 2025-03-17 23:18:06,638 - INFO - duration: 0.6923133859963855
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:18:37,426 - INFO - taking picture
MAIN: 2025-03-17 23:18:37,426 - INFO - we take 2017 photos in this while loop
MAIN: 2025-03-17 23:18:37,426 - INFO - /home/pi/Desktop/images/17032025/23/18/image_17032025_23_18_37_30809.jpg
MAIN: 2025-03-17 23:18:37,427 - INFO - duration: 0.6714796349988319
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:19:07,232 - INFO - taking picture
MAIN: 2025-03-17 23:19:07,232 - INFO - we take 2018 photos in this while loop
MAIN: 2025-03-17 23:19:07,232 - INFO - /home/pi/Desktop/images/17032025/23/18/image_17032025_23_19_06_29798.jpg
MAIN: 2025-03-17 23:19:07,233 - INFO - duration: 0.679182916006539
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:19:36,704 - INFO - taking picture
MAIN: 2025-03-17 23:19:36,704 - INFO - we take 2019 photos in this while loop
MAIN: 2025-03-17 23:19:36,705 - INFO - /home/pi/Desktop/images/17032025/23/19/image_17032025_23_19_36_29482.jpg
MAIN: 2025-03-17 23:19:36,705 - INFO - duration: 0.668846301996382
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:20:06,994 - INFO - taking picture
MAIN: 2025-03-17 23:20:06,995 - INFO - we take 2020 photos in this while loop
MAIN: 2025-03-17 23:20:06,995 - INFO - /home/pi/Desktop/images/17032025/23/19/image_17032025_23_20_06_30295.jpg
MAIN: 2025-03-17 23:20:06,996 - INFO - duration: 0.6647176560072694
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:20:36,518 - INFO - taking picture
MAIN: 2025-03-17 23:20:36,519 - INFO - we take 2021 photos in this while loop
MAIN: 2025-03-17 23:20:36,519 - INFO - /home/pi/Desktop/images/17032025/23/20/image_17032025_23_20_36_29498.jpg
MAIN: 2025-03-17 23:20:36,519 - INFO - duration: 0.6894758850103244
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:21:07,427 - INFO - taking picture
MAIN: 2025-03-17 23:21:07,427 - INFO - we take 2022 photos in this while loop
MAIN: 2025-03-17 23:21:07,427 - INFO - /home/pi/Desktop/images/17032025/23/20/image_17032025_23_21_07_30913.jpg
MAIN: 2025-03-17 23:21:07,428 - INFO - duration: 0.6843144270096673
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:21:36,877 - INFO - taking picture
MAIN: 2025-03-17 23:21:36,878 - INFO - we take 2023 photos in this while loop
MAIN: 2025-03-17 23:21:36,878 - INFO - /home/pi/Desktop/images/17032025/23/21/image_17032025_23_21_36_29445.jpg
MAIN: 2025-03-17 23:21:36,878 - INFO - duration: 0.6895625519973692
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:22:06,665 - INFO - taking picture
MAIN: 2025-03-17 23:22:06,665 - INFO - we take 2024 photos in this while loop
MAIN: 2025-03-17 23:22:06,666 - INFO - /home/pi/Desktop/images/17032025/23/21/image_17032025_23_22_06_29802.jpg
MAIN: 2025-03-17 23:22:06,666 - INFO - duration: 0.674850729003083
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:22:36,279 - INFO - taking picture
MAIN: 2025-03-17 23:22:36,280 - INFO - we take 2025 photos in this while loop
MAIN: 2025-03-17 23:22:36,280 - INFO - /home/pi/Desktop/images/17032025/23/22/image_17032025_23_22_35_29588.jpg
MAIN: 2025-03-17 23:22:36,281 - INFO - duration: 0.7011890099965967
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:23:07,387 - INFO - taking picture
MAIN: 2025-03-17 23:23:07,387 - INFO - we take 2026 photos in this while loop
MAIN: 2025-03-17 23:23:07,387 - INFO - /home/pi/Desktop/images/17032025/23/22/image_17032025_23_23_07_31126.jpg
MAIN: 2025-03-17 23:23:07,388 - INFO - duration: 0.6819327080011135
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:23:37,085 - INFO - taking picture
MAIN: 2025-03-17 23:23:37,085 - INFO - we take 2027 photos in this while loop
MAIN: 2025-03-17 23:23:37,086 - INFO - /home/pi/Desktop/images/17032025/23/23/image_17032025_23_23_36_29689.jpg
MAIN: 2025-03-17 23:23:37,086 - INFO - duration: 0.6904838540067431
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:24:06,935 - INFO - taking picture
MAIN: 2025-03-17 23:24:06,935 - INFO - we take 2028 photos in this while loop
MAIN: 2025-03-17 23:24:06,936 - INFO - /home/pi/Desktop/images/17032025/23/23/image_17032025_23_24_06_29857.jpg
MAIN: 2025-03-17 23:24:06,936 - INFO - duration: 0.6836021869967226
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:24:36,409 - INFO - taking picture
MAIN: 2025-03-17 23:24:36,410 - INFO - we take 2029 photos in this while loop
MAIN: 2025-03-17 23:24:36,410 - INFO - /home/pi/Desktop/images/17032025/23/24/image_17032025_23_24_36_29473.jpg
MAIN: 2025-03-17 23:24:36,411 - INFO - duration: 0.6852010410075309
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:25:06,260 - INFO - taking picture
MAIN: 2025-03-17 23:25:06,261 - INFO - we take 2030 photos in this while loop
MAIN: 2025-03-17 23:25:06,261 - INFO - /home/pi/Desktop/images/17032025/23/24/image_17032025_23_25_05_29871.jpg
MAIN: 2025-03-17 23:25:06,261 - INFO - duration: 0.6646942700026557
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:25:37,029 - INFO - taking picture
MAIN: 2025-03-17 23:25:37,030 - INFO - we take 2031 photos in this while loop
MAIN: 2025-03-17 23:25:37,030 - INFO - /home/pi/Desktop/images/17032025/23/25/image_17032025_23_25_36_30733.jpg
MAIN: 2025-03-17 23:25:37,030 - INFO - duration: 0.7001923440111568
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:26:06,997 - INFO - taking picture
MAIN: 2025-03-17 23:26:06,997 - INFO - we take 2032 photos in this while loop
MAIN: 2025-03-17 23:26:06,997 - INFO - /home/pi/Desktop/images/17032025/23/25/image_17032025_23_26_06_29993.jpg
MAIN: 2025-03-17 23:26:06,998 - INFO - duration: 0.6738498959894059
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:26:36,598 - INFO - taking picture
MAIN: 2025-03-17 23:26:36,598 - INFO - we take 2033 photos in this while loop
MAIN: 2025-03-17 23:26:36,598 - INFO - /home/pi/Desktop/images/17032025/23/26/image_17032025_23_26_36_29573.jpg
MAIN: 2025-03-17 23:26:36,599 - INFO - duration: 0.7014834370056633
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:27:06,355 - INFO - taking picture
MAIN: 2025-03-17 23:27:06,356 - INFO - we take 2034 photos in this while loop
MAIN: 2025-03-17 23:27:06,356 - INFO - /home/pi/Desktop/images/17032025/23/26/image_17032025_23_27_05_29774.jpg
MAIN: 2025-03-17 23:27:06,356 - INFO - duration: 0.6846074479981326
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:27:37,045 - INFO - taking picture
MAIN: 2025-03-17 23:27:37,046 - INFO - we take 2035 photos in this while loop
MAIN: 2025-03-17 23:27:37,046 - INFO - /home/pi/Desktop/images/17032025/23/27/image_17032025_23_27_36_30706.jpg
MAIN: 2025-03-17 23:27:37,046 - INFO - duration: 0.6674047919950681
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:28:06,759 - INFO - taking picture
MAIN: 2025-03-17 23:28:06,760 - INFO - we take 2036 photos in this while loop
MAIN: 2025-03-17 23:28:06,760 - INFO - /home/pi/Desktop/images/17032025/23/27/image_17032025_23_28_06_29689.jpg
MAIN: 2025-03-17 23:28:06,760 - INFO - duration: 0.6926459889946273
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:28:37,473 - INFO - taking picture
MAIN: 2025-03-17 23:28:37,474 - INFO - we take 2037 photos in this while loop
MAIN: 2025-03-17 23:28:37,474 - INFO - /home/pi/Desktop/images/17032025/23/28/image_17032025_23_28_37_30701.jpg
MAIN: 2025-03-17 23:28:37,474 - INFO - duration: 0.7054336449946277
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:29:07,360 - INFO - taking picture
MAIN: 2025-03-17 23:29:07,361 - INFO - we take 2038 photos in this while loop
MAIN: 2025-03-17 23:29:07,361 - INFO - /home/pi/Desktop/images/17032025/23/28/image_17032025_23_29_06_29869.jpg
MAIN: 2025-03-17 23:29:07,361 - INFO - duration: 0.7227347909938544
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:29:37,097 - INFO - taking picture
MAIN: 2025-03-17 23:29:37,097 - INFO - we take 2039 photos in this while loop
MAIN: 2025-03-17 23:29:37,098 - INFO - /home/pi/Desktop/images/17032025/23/29/image_17032025_23_29_36_29744.jpg
MAIN: 2025-03-17 23:29:37,098 - INFO - duration: 0.714459323004121
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:30:07,199 - INFO - taking picture
MAIN: 2025-03-17 23:30:07,199 - INFO - we take 2040 photos in this while loop
MAIN: 2025-03-17 23:30:07,200 - INFO - /home/pi/Desktop/images/17032025/23/29/image_17032025_23_30_06_30106.jpg
MAIN: 2025-03-17 23:30:07,200 - INFO - duration: 0.7100245829933556
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:30:36,851 - INFO - taking picture
MAIN: 2025-03-17 23:30:36,852 - INFO - we take 2041 photos in this while loop
MAIN: 2025-03-17 23:30:36,852 - INFO - /home/pi/Desktop/images/17032025/23/30/image_17032025_23_30_36_29643.jpg
MAIN: 2025-03-17 23:30:36,853 - INFO - duration: 0.719176458005677
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:31:06,868 - INFO - taking picture
MAIN: 2025-03-17 23:31:06,869 - INFO - we take 2042 photos in this while loop
MAIN: 2025-03-17 23:31:06,869 - INFO - /home/pi/Desktop/images/17032025/23/30/image_17032025_23_31_06_30038.jpg
MAIN: 2025-03-17 23:31:06,869 - INFO - duration: 0.6969685929943807
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:31:36,511 - INFO - taking picture
MAIN: 2025-03-17 23:31:36,511 - INFO - we take 2043 photos in this while loop
MAIN: 2025-03-17 23:31:36,512 - INFO - /home/pi/Desktop/images/17032025/23/31/image_17032025_23_31_36_29643.jpg
MAIN: 2025-03-17 23:31:36,512 - INFO - duration: 0.6960022909916006
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:32:06,489 - INFO - taking picture
MAIN: 2025-03-17 23:32:06,489 - INFO - we take 2044 photos in this while loop
MAIN: 2025-03-17 23:32:06,489 - INFO - /home/pi/Desktop/images/17032025/23/31/image_17032025_23_32_06_30000.jpg
MAIN: 2025-03-17 23:32:06,490 - INFO - duration: 0.6730703119974351
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:32:37,408 - INFO - taking picture
MAIN: 2025-03-17 23:32:37,409 - INFO - we take 2045 photos in this while loop
MAIN: 2025-03-17 23:32:37,409 - INFO - /home/pi/Desktop/images/17032025/23/32/image_17032025_23_32_37_30889.jpg
MAIN: 2025-03-17 23:32:37,409 - INFO - duration: 0.7033005200064508
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:33:07,440 - INFO - taking picture
MAIN: 2025-03-17 23:33:07,441 - INFO - we take 2046 photos in this while loop
MAIN: 2025-03-17 23:33:07,441 - INFO - /home/pi/Desktop/images/17032025/23/32/image_17032025_23_33_07_30039.jpg
MAIN: 2025-03-17 23:33:07,441 - INFO - duration: 0.6961176559998421
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:33:37,062 - INFO - taking picture
MAIN: 2025-03-17 23:33:37,062 - INFO - we take 2047 photos in this while loop
MAIN: 2025-03-17 23:33:37,063 - INFO - /home/pi/Desktop/images/17032025/23/33/image_17032025_23_33_36_29631.jpg
MAIN: 2025-03-17 23:33:37,063 - INFO - duration: 0.6864075519988546
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:34:06,984 - INFO - taking picture
MAIN: 2025-03-17 23:34:06,985 - INFO - we take 2048 photos in this while loop
MAIN: 2025-03-17 23:34:06,985 - INFO - /home/pi/Desktop/images/17032025/23/33/image_17032025_23_34_06_29913.jpg
MAIN: 2025-03-17 23:34:06,985 - INFO - duration: 0.695836718994542
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:34:36,622 - INFO - taking picture
MAIN: 2025-03-17 23:34:36,623 - INFO - we take 2049 photos in this while loop
MAIN: 2025-03-17 23:34:36,623 - INFO - /home/pi/Desktop/images/17032025/23/34/image_17032025_23_34_36_29634.jpg
MAIN: 2025-03-17 23:34:36,623 - INFO - duration: 0.6992928119871067
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:35:06,749 - INFO - taking picture
MAIN: 2025-03-17 23:35:06,750 - INFO - we take 2050 photos in this while loop
MAIN: 2025-03-17 23:35:06,750 - INFO - /home/pi/Desktop/images/17032025/23/34/image_17032025_23_35_06_30142.jpg
MAIN: 2025-03-17 23:35:06,750 - INFO - duration: 0.6841311449970817
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:35:36,376 - INFO - taking picture
MAIN: 2025-03-17 23:35:36,376 - INFO - we take 2051 photos in this while loop
MAIN: 2025-03-17 23:35:36,377 - INFO - /home/pi/Desktop/images/17032025/23/35/image_17032025_23_35_36_29614.jpg
MAIN: 2025-03-17 23:35:36,377 - INFO - duration: 0.6964889580121962
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:36:06,306 - INFO - taking picture
MAIN: 2025-03-17 23:36:06,307 - INFO - we take 2052 photos in this while loop
MAIN: 2025-03-17 23:36:06,307 - INFO - /home/pi/Desktop/images/17032025/23/35/image_17032025_23_36_05_29949.jpg
MAIN: 2025-03-17 23:36:06,307 - INFO - duration: 0.6770417710067704
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:36:37,116 - INFO - taking picture
MAIN: 2025-03-17 23:36:37,117 - INFO - we take 2053 photos in this while loop
MAIN: 2025-03-17 23:36:37,117 - INFO - /home/pi/Desktop/images/17032025/23/36/image_17032025_23_36_36_30784.jpg
MAIN: 2025-03-17 23:36:37,117 - INFO - duration: 0.7028095309942728
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:37:07,060 - INFO - taking picture
MAIN: 2025-03-17 23:37:07,061 - INFO - we take 2054 photos in this while loop
MAIN: 2025-03-17 23:37:07,061 - INFO - /home/pi/Desktop/images/17032025/23/36/image_17032025_23_37_06_29949.jpg
MAIN: 2025-03-17 23:37:07,061 - INFO - duration: 0.6977517710038228
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:37:36,737 - INFO - taking picture
MAIN: 2025-03-17 23:37:36,738 - INFO - we take 2055 photos in this while loop
MAIN: 2025-03-17 23:37:36,738 - INFO - /home/pi/Desktop/images/17032025/23/37/image_17032025_23_37_36_29660.jpg
MAIN: 2025-03-17 23:37:36,738 - INFO - duration: 0.7145031770050991
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:38:06,744 - INFO - taking picture
MAIN: 2025-03-17 23:38:06,745 - INFO - we take 2056 photos in this while loop
MAIN: 2025-03-17 23:38:06,745 - INFO - /home/pi/Desktop/images/17032025/23/37/image_17032025_23_38_06_30041.jpg
MAIN: 2025-03-17 23:38:06,745 - INFO - duration: 0.6804744270048104
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:38:36,484 - INFO - taking picture
MAIN: 2025-03-17 23:38:36,485 - INFO - we take 2057 photos in this while loop
MAIN: 2025-03-17 23:38:36,485 - INFO - /home/pi/Desktop/images/17032025/23/38/image_17032025_23_38_36_29728.jpg
MAIN: 2025-03-17 23:38:36,485 - INFO - duration: 0.6916196870006388
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:39:06,419 - INFO - taking picture
MAIN: 2025-03-17 23:39:06,420 - INFO - we take 2058 photos in this while loop
MAIN: 2025-03-17 23:39:06,420 - INFO - /home/pi/Desktop/images/17032025/23/38/image_17032025_23_39_06_29941.jpg
MAIN: 2025-03-17 23:39:06,420 - INFO - duration: 0.6845998430071631
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:39:37,297 - INFO - taking picture
MAIN: 2025-03-17 23:39:37,297 - INFO - we take 2059 photos in this while loop
MAIN: 2025-03-17 23:39:37,298 - INFO - /home/pi/Desktop/images/17032025/23/39/image_17032025_23_39_36_30897.jpg
MAIN: 2025-03-17 23:39:37,298 - INFO - duration: 0.6647089059988502
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:40:07,422 - INFO - taking picture
MAIN: 2025-03-17 23:40:07,423 - INFO - we take 2060 photos in this while loop
MAIN: 2025-03-17 23:40:07,423 - INFO - /home/pi/Desktop/images/17032025/23/39/image_17032025_23_40_07_30120.jpg
MAIN: 2025-03-17 23:40:07,423 - INFO - duration: 0.6694188020046568
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:40:37,074 - INFO - taking picture
MAIN: 2025-03-17 23:40:37,074 - INFO - we take 2061 photos in this while loop
MAIN: 2025-03-17 23:40:37,074 - INFO - /home/pi/Desktop/images/17032025/23/40/image_17032025_23_40_36_29621.jpg
MAIN: 2025-03-17 23:40:37,075 - INFO - duration: 0.6992075520101935
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:41:06,894 - INFO - taking picture
MAIN: 2025-03-17 23:41:06,894 - INFO - we take 2062 photos in this while loop
MAIN: 2025-03-17 23:41:06,895 - INFO - /home/pi/Desktop/images/17032025/23/40/image_17032025_23_41_06_29854.jpg
MAIN: 2025-03-17 23:41:06,895 - INFO - duration: 0.665233124003862
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:41:36,345 - INFO - taking picture
MAIN: 2025-03-17 23:41:36,346 - INFO - we take 2063 photos in this while loop
MAIN: 2025-03-17 23:41:36,346 - INFO - /home/pi/Desktop/images/17032025/23/41/image_17032025_23_41_35_29427.jpg
MAIN: 2025-03-17 23:41:36,346 - INFO - duration: 0.6886833860044135
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:42:06,299 - INFO - taking picture
MAIN: 2025-03-17 23:42:06,299 - INFO - we take 2064 photos in this while loop
MAIN: 2025-03-17 23:42:06,300 - INFO - /home/pi/Desktop/images/17032025/23/41/image_17032025_23_42_05_29945.jpg
MAIN: 2025-03-17 23:42:06,300 - INFO - duration: 0.6966103650047444
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:42:37,235 - INFO - taking picture
MAIN: 2025-03-17 23:42:37,236 - INFO - we take 2065 photos in this while loop
MAIN: 2025-03-17 23:42:37,236 - INFO - /home/pi/Desktop/images/17032025/23/42/image_17032025_23_42_36_30937.jpg
MAIN: 2025-03-17 23:42:37,236 - INFO - duration: 0.6955265100114048
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:43:07,147 - INFO - taking picture
MAIN: 2025-03-17 23:43:07,147 - INFO - we take 2066 photos in this while loop
MAIN: 2025-03-17 23:43:07,148 - INFO - /home/pi/Desktop/images/17032025/23/42/image_17032025_23_43_06_29908.jpg
MAIN: 2025-03-17 23:43:07,148 - INFO - duration: 0.6984301040065475
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:43:36,756 - INFO - taking picture
MAIN: 2025-03-17 23:43:36,756 - INFO - we take 2067 photos in this while loop
MAIN: 2025-03-17 23:43:36,756 - INFO - /home/pi/Desktop/images/17032025/23/43/image_17032025_23_43_36_29604.jpg
MAIN: 2025-03-17 23:43:36,757 - INFO - duration: 0.7031839060073253
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:44:06,601 - INFO - taking picture
MAIN: 2025-03-17 23:44:06,602 - INFO - we take 2068 photos in this while loop
MAIN: 2025-03-17 23:44:06,602 - INFO - /home/pi/Desktop/images/17032025/23/43/image_17032025_23_44_06_29852.jpg
MAIN: 2025-03-17 23:44:06,602 - INFO - duration: 0.6966683849896071
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:44:37,529 - INFO - taking picture
MAIN: 2025-03-17 23:44:37,530 - INFO - we take 2069 photos in this while loop
MAIN: 2025-03-17 23:44:37,530 - INFO - /home/pi/Desktop/images/17032025/23/44/image_17032025_23_44_37_30924.jpg
MAIN: 2025-03-17 23:44:37,530 - INFO - duration: 0.699829322998994
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:45:06,288 - INFO - taking picture
MAIN: 2025-03-17 23:45:06,289 - INFO - we take 2070 photos in this while loop
MAIN: 2025-03-17 23:45:06,289 - INFO - /home/pi/Desktop/images/17032025/23/44/image_17032025_23_45_05_28785.jpg
MAIN: 2025-03-17 23:45:06,290 - INFO - duration: 0.6737173950095894
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:45:37,135 - INFO - taking picture
MAIN: 2025-03-17 23:45:37,135 - INFO - we take 2071 photos in this while loop
MAIN: 2025-03-17 23:45:37,136 - INFO - /home/pi/Desktop/images/17032025/23/45/image_17032025_23_45_36_30816.jpg
MAIN: 2025-03-17 23:45:37,136 - INFO - duration: 0.7035902079951484
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:46:07,175 - INFO - taking picture
MAIN: 2025-03-17 23:46:07,176 - INFO - we take 2072 photos in this while loop
MAIN: 2025-03-17 23:46:07,176 - INFO - /home/pi/Desktop/images/17032025/23/45/image_17032025_23_46_06_30060.jpg
MAIN: 2025-03-17 23:46:07,176 - INFO - duration: 0.6827556250063935
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:46:36,780 - INFO - taking picture
MAIN: 2025-03-17 23:46:36,781 - INFO - we take 2073 photos in this while loop
MAIN: 2025-03-17 23:46:36,781 - INFO - /home/pi/Desktop/images/17032025/23/46/image_17032025_23_46_36_29589.jpg
MAIN: 2025-03-17 23:46:36,781 - INFO - duration: 0.6983691139903385
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:47:06,728 - INFO - taking picture
MAIN: 2025-03-17 23:47:06,728 - INFO - we take 2074 photos in this while loop
MAIN: 2025-03-17 23:47:06,728 - INFO - /home/pi/Desktop/images/17032025/23/46/image_17032025_23_47_06_29942.jpg
MAIN: 2025-03-17 23:47:06,729 - INFO - duration: 0.7035084369999822
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:47:36,287 - INFO - taking picture
MAIN: 2025-03-17 23:47:36,288 - INFO - we take 2075 photos in this while loop
MAIN: 2025-03-17 23:47:36,288 - INFO - /home/pi/Desktop/images/17032025/23/47/image_17032025_23_47_35_29571.jpg
MAIN: 2025-03-17 23:47:36,288 - INFO - duration: 0.6918637490016408
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:48:07,341 - INFO - taking picture
MAIN: 2025-03-17 23:48:07,341 - INFO - we take 2076 photos in this while loop
MAIN: 2025-03-17 23:48:07,342 - INFO - /home/pi/Desktop/images/17032025/23/47/image_17032025_23_48_06_31064.jpg
MAIN: 2025-03-17 23:48:07,342 - INFO - duration: 0.6804329159931513
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:48:36,832 - INFO - taking picture
MAIN: 2025-03-17 23:48:36,833 - INFO - we take 2077 photos in this while loop
MAIN: 2025-03-17 23:48:36,833 - INFO - /home/pi/Desktop/images/17032025/23/48/image_17032025_23_48_36_29479.jpg
MAIN: 2025-03-17 23:48:36,833 - INFO - duration: 0.6921367190079764
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:49:06,802 - INFO - taking picture
MAIN: 2025-03-17 23:49:06,802 - INFO - we take 2078 photos in this while loop
MAIN: 2025-03-17 23:49:06,802 - INFO - /home/pi/Desktop/images/17032025/23/48/image_17032025_23_49_06_29974.jpg
MAIN: 2025-03-17 23:49:06,803 - INFO - duration: 0.6869082289922517
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:49:36,428 - INFO - taking picture
MAIN: 2025-03-17 23:49:36,428 - INFO - we take 2079 photos in this while loop
MAIN: 2025-03-17 23:49:36,429 - INFO - /home/pi/Desktop/images/17032025/23/49/image_17032025_23_49_36_29628.jpg
MAIN: 2025-03-17 23:49:36,429 - INFO - duration: 0.6845017710002139
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:50:06,542 - INFO - taking picture
MAIN: 2025-03-17 23:50:06,542 - INFO - we take 2080 photos in this while loop
MAIN: 2025-03-17 23:50:06,543 - INFO - /home/pi/Desktop/images/17032025/23/49/image_17032025_23_50_06_30138.jpg
MAIN: 2025-03-17 23:50:06,544 - INFO - duration: 0.6601523429999361
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:50:37,313 - INFO - taking picture
MAIN: 2025-03-17 23:50:37,314 - INFO - we take 2081 photos in this while loop
MAIN: 2025-03-17 23:50:37,314 - INFO - /home/pi/Desktop/images/17032025/23/50/image_17032025_23_50_36_30749.jpg
MAIN: 2025-03-17 23:50:37,315 - INFO - duration: 0.6817306250013644
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:51:07,202 - INFO - taking picture
MAIN: 2025-03-17 23:51:07,202 - INFO - we take 2082 photos in this while loop
MAIN: 2025-03-17 23:51:07,203 - INFO - /home/pi/Desktop/images/17032025/23/50/image_17032025_23_51_06_29882.jpg
MAIN: 2025-03-17 23:51:07,203 - INFO - duration: 0.6878013539972017
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:51:36,782 - INFO - taking picture
MAIN: 2025-03-17 23:51:36,783 - INFO - we take 2083 photos in this while loop
MAIN: 2025-03-17 23:51:36,783 - INFO - /home/pi/Desktop/images/17032025/23/51/image_17032025_23_51_36_29563.jpg
MAIN: 2025-03-17 23:51:36,783 - INFO - duration: 0.7045755199942505
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:52:06,924 - INFO - taking picture
MAIN: 2025-03-17 23:52:06,925 - INFO - we take 2084 photos in this while loop
MAIN: 2025-03-17 23:52:06,925 - INFO - /home/pi/Desktop/images/17032025/23/51/image_17032025_23_52_06_30160.jpg
MAIN: 2025-03-17 23:52:06,925 - INFO - duration: 0.6855856769980164
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:52:36,402 - INFO - taking picture
MAIN: 2025-03-17 23:52:36,403 - INFO - we take 2085 photos in this while loop
MAIN: 2025-03-17 23:52:36,403 - INFO - /home/pi/Desktop/images/17032025/23/52/image_17032025_23_52_36_29484.jpg
MAIN: 2025-03-17 23:52:36,403 - INFO - duration: 0.6793829689995619
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:53:07,361 - INFO - taking picture
MAIN: 2025-03-17 23:53:07,361 - INFO - we take 2086 photos in this while loop
MAIN: 2025-03-17 23:53:07,362 - INFO - /home/pi/Desktop/images/17032025/23/52/image_17032025_23_53_06_30976.jpg
MAIN: 2025-03-17 23:53:07,362 - INFO - duration: 0.6617164060007781
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:53:36,892 - INFO - taking picture
MAIN: 2025-03-17 23:53:36,893 - INFO - we take 2087 photos in this while loop
MAIN: 2025-03-17 23:53:36,893 - INFO - /home/pi/Desktop/images/17032025/23/53/image_17032025_23_53_36_29514.jpg
MAIN: 2025-03-17 23:53:36,893 - INFO - duration: 0.6786059890000615
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:54:06,919 - INFO - taking picture
MAIN: 2025-03-17 23:54:06,919 - INFO - we take 2088 photos in this while loop
MAIN: 2025-03-17 23:54:06,920 - INFO - /home/pi/Desktop/images/17032025/23/53/image_17032025_23_54_06_30019.jpg
MAIN: 2025-03-17 23:54:06,920 - INFO - duration: 0.685143020004034
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:54:36,489 - INFO - taking picture
MAIN: 2025-03-17 23:54:36,489 - INFO - we take 2089 photos in this while loop
MAIN: 2025-03-17 23:54:36,490 - INFO - /home/pi/Desktop/images/17032025/23/54/image_17032025_23_54_36_29570.jpg
MAIN: 2025-03-17 23:54:36,490 - INFO - duration: 0.6845769270003075
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:55:06,425 - INFO - taking picture
MAIN: 2025-03-17 23:55:06,425 - INFO - we take 2090 photos in this while loop
MAIN: 2025-03-17 23:55:06,426 - INFO - /home/pi/Desktop/images/17032025/23/54/image_17032025_23_55_06_29933.jpg
MAIN: 2025-03-17 23:55:06,426 - INFO - duration: 0.6869376560061937
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:55:37,217 - INFO - taking picture
MAIN: 2025-03-17 23:55:37,218 - INFO - we take 2091 photos in this while loop
MAIN: 2025-03-17 23:55:37,218 - INFO - /home/pi/Desktop/images/17032025/23/55/image_17032025_23_55_36_30792.jpg
MAIN: 2025-03-17 23:55:37,218 - INFO - duration: 0.6873175000073388
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:56:07,104 - INFO - taking picture
MAIN: 2025-03-17 23:56:07,104 - INFO - we take 2092 photos in this while loop
MAIN: 2025-03-17 23:56:07,104 - INFO - /home/pi/Desktop/images/17032025/23/55/image_17032025_23_56_06_29912.jpg
MAIN: 2025-03-17 23:56:07,105 - INFO - duration: 0.6616796879970934
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:56:36,495 - INFO - taking picture
MAIN: 2025-03-17 23:56:36,496 - INFO - we take 2093 photos in this while loop
MAIN: 2025-03-17 23:56:36,496 - INFO - /home/pi/Desktop/images/17032025/23/56/image_17032025_23_56_36_29377.jpg
MAIN: 2025-03-17 23:56:36,496 - INFO - duration: 0.6761270309943939
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:57:06,238 - INFO - taking picture
MAIN: 2025-03-17 23:57:06,239 - INFO - we take 2094 photos in this while loop
MAIN: 2025-03-17 23:57:06,239 - INFO - /home/pi/Desktop/images/17032025/23/56/image_17032025_23_57_05_29757.jpg
MAIN: 2025-03-17 23:57:06,239 - INFO - duration: 0.6616323960042791
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:57:37,150 - INFO - taking picture
MAIN: 2025-03-17 23:57:37,151 - INFO - we take 2095 photos in this while loop
MAIN: 2025-03-17 23:57:37,151 - INFO - /home/pi/Desktop/images/17032025/23/57/image_17032025_23_57_36_30905.jpg
MAIN: 2025-03-17 23:57:37,151 - INFO - duration: 0.6684784890094306
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:58:07,211 - INFO - taking picture
MAIN: 2025-03-17 23:58:07,211 - INFO - we take 2096 photos in this while loop
MAIN: 2025-03-17 23:58:07,211 - INFO - /home/pi/Desktop/images/17032025/23/57/image_17032025_23_58_06_30030.jpg
MAIN: 2025-03-17 23:58:07,212 - INFO - duration: 0.6982336979999673
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:58:36,791 - INFO - taking picture
MAIN: 2025-03-17 23:58:36,792 - INFO - we take 2097 photos in this while loop
MAIN: 2025-03-17 23:58:36,792 - INFO - /home/pi/Desktop/images/17032025/23/58/image_17032025_23_58_36_29596.jpg
MAIN: 2025-03-17 23:58:36,792 - INFO - duration: 0.6824959900113754
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:59:06,584 - INFO - taking picture
MAIN: 2025-03-17 23:59:06,585 - INFO - we take 2098 photos in this while loop
MAIN: 2025-03-17 23:59:06,585 - INFO - /home/pi/Desktop/images/17032025/23/58/image_17032025_23_59_06_29786.jpg
MAIN: 2025-03-17 23:59:06,585 - INFO - duration: 0.6892563010042068
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-03-17 23:59:37,505 - INFO - taking picture
MAIN: 2025-03-17 23:59:37,505 - INFO - we take 2099 photos in this while loop
MAIN: 2025-03-17 23:59:37,505 - INFO - /home/pi/Desktop/images/17032025/23/59/image_17032025_23_59_37_30919.jpg
MAIN: 2025-03-17 23:59:37,506 - INFO - duration: 0.6902115099946968
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
